Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_long_procs

Current Version
1.0
Last Release Date
2013-02-15
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
License
GPL
Hits
42740
Nagios CSP

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!
Check for long running processes and alert if in case the process is running more than 24 hours.

Usage:

check_long_procs -c -p -n [-v] [-h]
Eg:- check_long_procs -c 0 -p java -n oracle.
Eg:- check_long_procs -c 0 -p java -n oracle. PS: Tweak the $critical value to use -c option
Eg:- check_long_procs -c 0 -p "http|ssh" -n "java|grep".
Eg:- check_long_procs -c 0 -p "http|ssh" -n "java|grep". PS: Tweak the $critical value to use -c option
Check for long running processes and alert if in case the process is running more than 24 hours.

This plugin works with Linux and uses the "ps" command to do the work

This plugin is tested in the following linux distributions,

RHEL 4 and greater
CentOS 5 and greater
Debian 4 and greater
Suse 9 and greater