Unable to read output

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ITOMB_IMT
Posts: 181
Joined: Wed Oct 17, 2018 12:55 pm

Unable to read output

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to read output

Post 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"
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked