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.

github_nagios_monitor_fd.jpg



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

lsof -p $pid | wc -l

Here comes the plugin in GitHub.Follow @dennyzhang

More Reading:


Original URL: https://dennyzhang.com/nagois_monitor_process_fd

Connect with Denny In LinkedIn Or MailList

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.