Random Project

NRPE: Unable to read output

Hi Team,

Locally the script working like Charm ! Kudos.

BUT.. when i called it from nagios it returns NRPE: Unable to read output. Here is the list what i have performed.

1) SCP the file into libexec path.
2) Provided permission to execute.
3) Inserted the command in common.cfg

Executing following command from nagios server.

/usr/local/nagios/libexec/check_nrpe -H IPADDRESS -c check_ro_mounts
NRPE: Unable to read output

What i am doing wrong. Even i tried to provide nagios user permission to check_ro_mounts also entered the command in sudoers. No luck.

Kindly help me out.

Thanks in advance.
Srini