Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check process runtime
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!
command: /usr/local/nagios/libexec/check_proc_time.sh -p -w -c
expects parameters:
p) a pattern to grep the processlist
w) runtime in seconds as a threshold for warning state
c) runtime in seconds as a threshold for critical state
uses:
- ps
- grep
- awk
expects parameters:
p) a pattern to grep the processlist
w) runtime in seconds as a threshold for warning state
c) runtime in seconds as a threshold for critical state
uses:
- ps
- grep
- awk
Reviews (1)
byformwandler, April 2, 2012
The time calculated in seconds is wrong on my actual Linux system. check_proc_age.sh works better.