Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_procs_pgrep
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
This is a drop-in replacement for the official //check_procs// plugin. It uses the same arguments and gives same result however only the 'no of processes' metric is supported. It is a simple bash script that can be used on any platform that has bash and pgrep.
I've just had so many problems with the official C written check_procs plugin that I decided to do a replacement in bash. The problems have been seg faults, locale problems, unexplainable results, compilation problems on Solaris, etc.
This plugin doesn't have the features that check_procs has given the fact that only the 'no of processes' metric is supported but I figure that 99% of the usage is around this metric. It does on the other hand have things that check_procs doesn't for example that the search string is a regexp so that you can do things like 'search for processes ending with ...', etc.
Execute 'check_procs_pgrep -h' to see how to use it.
I've just had so many problems with the official C written check_procs plugin that I decided to do a replacement in bash. The problems have been seg faults, locale problems, unexplainable results, compilation problems on Solaris, etc.
This plugin doesn't have the features that check_procs has given the fact that only the 'no of processes' metric is supported but I figure that 99% of the usage is around this metric. It does on the other hand have things that check_procs doesn't for example that the search string is a regexp so that you can do things like 'search for processes ending with ...', etc.
Execute 'check_procs_pgrep -h' to see how to use it.
Reviews (0)
Be the first to review this listing!