Page 1 of 1

Unable to read output

Posted: Mon Aug 19, 2019 11:18 am
by ITOMB_IMT
Hi,

We wrote a Nagios plugin for our internal checks. The plugins is working from local whereas from the Nagios xi server its throwing unable to read output. It is configured the same across all servers but is not working only on one servers. Any thoughts.

Re: Unable to read output

Posted: Mon Aug 19, 2019 11:44 am
by scottwilkerson
Sounds like a permissions problem with part of the plugin. Can you run the plugin as the nagios user on the remote servers?

Code: Select all

su nagios -c "/path/to/plugin.sh --arguments"