We are trying to run the command below but getting the error NRPE: Unable to read output
Kindly assist on this thanks again
# /usr/local/nagios/libexec/check_nrpe -H 1x.9x.x.x -t 30 -c check_init_service -a 'httpd'
NRPE: Unable to read output
NRPE: Unable to read output
Re: NRPE: Unable to read output
What OS is the nrpe agent installed on? What is the output if you run /usr/local/nagios/libexec/check_init_service -a 'httpd' on that machine?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
martinkuriax
- Posts: 37
- Joined: Tue Jul 01, 2014 12:21 pm
Re: NRPE: Unable to read output
Below is the output of the command:
The nrpe agent is installed on centos 6.5 OS which is running the Nagios XI
# /usr/local/nagios/libexec/check_init_service -a 'httpd'
ERROR: No service name specified on command line
The nrpe agent is installed on centos 6.5 OS which is running the Nagios XI
# /usr/local/nagios/libexec/check_init_service -a 'httpd'
ERROR: No service name specified on command line
Re: NRPE: Unable to read output
Sorry, the -a isn't needed if you're running it on the client machine. Try:
/usr/local/nagios/libexec/check_init_service 'httpd'
/usr/local/nagios/libexec/check_init_service 'httpd'
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.