Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
A script that checks, if a given process has exceeded a defined runtime in seconds
Current Version
Last Release Date
June 16, 2009
Owner
Nagios Exchange
Bash script
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
The time calculated in seconds is wrong on my actual Linux system. check_proc_age.sh works better.
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!