Home Directory

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

Directory

vincent.qeong

Reviews(1)
byvincent.qeong, July 1, 2012
Hi.. i want to ask.
i've already implement this plugin. when i run from the monitored server, it runs normally.
but when i run from my nagios server, it has output like this (example httpd):
"/etc/init.d/httpd CRITICAL - httpd dead but subsys locked"

need advice,
thanks
Owner's reply

To run this on a remote host use nrpe and add a line like this to your nrpe.cfg
command[check_httpd]=/usr/lib/nagios/plugins/check_exit_status.pl -s /etc/init.d/httpd -r

Don't forget to add to sudoers:
nrpe ALL=(root) NOPASSWD: /etc/init.d/* status