-bash: check_nrpe: command not found

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Mandar
Posts: 1
Joined: Wed May 14, 2014 4:32 am

-bash: check_nrpe: command not found

Post 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?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: -bash: check_nrpe: command not found

Post 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'
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked