message "NRPE:unable to read output"
message "NRPE:unable to read output"
Hi Team,
I am trying to monitor an AIX server, I have installed nrpe agent on the remote host but when I am trying to monitor server parameters I find "NRPE: unable to read output" message. Please find the attached snapshot for this.
When I run the same script on remote server I receive the required output.
I have set the permission for /usr/local/nagios/libexec as 755 and same permission for all scripts.
kindly help on this.
Thanks in advance.
I am trying to monitor an AIX server, I have installed nrpe agent on the remote host but when I am trying to monitor server parameters I find "NRPE: unable to read output" message. Please find the attached snapshot for this.
When I run the same script on remote server I receive the required output.
I have set the permission for /usr/local/nagios/libexec as 755 and same permission for all scripts.
kindly help on this.
Thanks in advance.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: message "NRPE:unable to read output"
Does it work from the XI command line?
Can you post the nrpe.cfg from the remote server here for us to take a look at?
Can you post the nrpe.cfg from the remote server here for us to take a look at?
Former Nagios Employee.
me.
me.
Re: message "NRPE:unable to read output"
This is what it says when nothing was sent back to NRPE on STDOUT, among other things... I had a script that printed an error on STDERR, but returned 0 so the status was ok, and it said the exact same thing.
The troubleshooting guide has a section on this message:
https://assets.nagios.com/downloads/nag ... utions.pdf
The troubleshooting guide has a section on this message:
https://assets.nagios.com/downloads/nag ... utions.pdf
Re: message "NRPE:unable to read output"
No it is not working from XI command line.
Please find the below nrpe file.
Please find the below nrpe file.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: message "NRPE:unable to read output"
What is the result when you run it over command line?
Former Nagios Employee
Re: message "NRPE:unable to read output"
Hi,
Please find the attached snapshot. I am getting "NPRE: unable to read data" message when I am trying to run the command from Nagios server command line.
Please find the attached snapshot. I am getting "NPRE: unable to read data" message when I am trying to run the command from Nagios server command line.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: message "NRPE:unable to read output"
Can you also post the script that is linked to 'check_cpu_custom'?
Former Nagios Employee
Re: message "NRPE:unable to read output"
I am unable to provide you the script of check_cpu_custom.
please find the details regarding check_disk, find the attached snapshot output when I am running the cmd from Nagios server also find the snapshot output on remote server which is required to be monitored.
please find the details regarding check_disk, find the attached snapshot output when I am running the cmd from Nagios server also find the snapshot output on remote server which is required to be monitored.
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
I2MP Team.
Re: message "NRPE:unable to read output"
This might have to do with permissions on the client machine.
On the client machine, can you run the following and post the output?
On the client machine, can you run the following and post the output?
Code: Select all
ls -l /usr/local/nagios/libexec/
Former Nagios Employee
Re: message "NRPE:unable to read output"
Is the path correct? Can you run the following commands on the client (remote machine) and show the output?command[check_disk]=/usr/local/nagios/libexec/check_disk $ARG1$
Code: Select all
/usr/local/nagios/libexec/check_disk -V
/usr/local/nagios/libexec/check_disk -w 15% -c 10% -p /homeBe sure to check out our Knowledgebase for helpful articles and solutions!