Nagios Plugin: Monitor Process FD

Usually a process will have a limit for how many fd it can open. If the fd count is too many and abnormal, usually it indicates resource leak in code level or a burst of request.

Hence put effective monitoring for fd count of critical processes are important.


Below linux command can find the fd count of a given process use

lsof -p $pid | wc -l

Here comes the plugin in GitHub.GitHub

More Reading:


PRs Welcome

Blog URL:

One Response to Nagios Plugin: Monitor Process FD

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.