Code: Select all
[root@sms1 libexec]# python check_init_service --service mysqld
OK: all services running (mysqld)
[root@sms1 libexec]#However, my problem is when I call this using the NRPE, I get a weird response in Nagios XI:
Code: Select all
check_nrpe!check_init_service!-a '--service mysqld'!!!!!!COMMAND: /usr/local/nagios/libexec/check_nrpe -H sms1 -t 30 -c check_init_service -a '--service mysqld'
OUTPUT: CRITICAL: Failing (mysqld)
Does anyone have any insight for this?
A note: the usage help that I found says to run the command like so:
Code: Select all
check_nrpe!check_init_service!-a 'mysqld'!!!!!!