Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_process_running (Anthony Affee)
Tested on:
Nagios 3.x
CentOS 5.x
I originally created this script to monitor Taxware process 'jboss' but then decided to make it less specific.
This script only checks 3 status:
OK
Critical
Unknown
Copy the plugin in the nagios plugins directory.
Usage: ./check_process_running.sh SERVICE PROCESS_NAME
Example of Usage:
command[check_taxware]=/usr/lib64/nagios/plugins/check_process_running.sh jboss Taxware
Output:
Taxware OK - jboss is Running
Make sure Nagios user is allowed to access the plugin (use chmod to make it readable by Nagios user)
This script only checks 3 status:
OK
Critical
Unknown
Copy the plugin in the nagios plugins directory.
Usage: ./check_process_running.sh SERVICE PROCESS_NAME
Example of Usage:
command[check_taxware]=/usr/lib64/nagios/plugins/check_process_running.sh jboss Taxware
Output:
Taxware OK - jboss is Running
Make sure Nagios user is allowed to access the plugin (use chmod to make it readable by Nagios user)
Reviews (0)
Be the first to review this listing!