Using as a Nagios plugin


I am trying to use ( to do remote checks on our servers. I put the script in the correct directory for our Nagios plugins (other plugins are in that directory and do work). I have set the permissions for the file for it to be executable. When I run the script from terminal, it runs properly and I get the correct output and exit code. However, when I add as a service, the status will always get set to “unknown.” When creating the service, I enter the hostname of the server for the “Remote Host” field, and for parameter I do not add the “-H” parameter since it is added automatically. For some reason, when I edit the service after it is created, the “check type” box is blank. Any help would be appreciated.

Issue has been resolved. It was a permissions problem.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.