Page 1 of 1

-bash: check_nrpe: command not found

Posted: Wed May 14, 2014 4:57 am
by Mandar
I am using Nagios XI. I issued following command from the Nagios Server:

Code: Select all

nagiossrv root [libexec] > check_nrpe -H 128.19.5.131 -t 30 -c check_users -w 5 -c 10
It is giving me following error:

Code: Select all

-bash: check_nrpe: command not found
I have also added the IP address of the Nagios server (nagiossrv) to the /usr/local/nagios/etc/nrpe.cfg file at the host's (128.19.5.131) side.

What is the issue?

Re: -bash: check_nrpe: command not found

Posted: Wed May 14, 2014 8:23 am
by lmiltchev
Instead of running this:

Code: Select all

check_nrpe -H 128.19.5.131 -t 30 -c check_users -w 5 -c 10
try running this:

Code: Select all

./check_nrpe -H 128.19.5.131 -t 30 -c check_users -a '-w 5 -c 10'