Debugging '(no output)' error
Roy S. Rapoport
rsr at inorganic.org
Tue Mar 25 20:52:37 CET 2003
On Tue, 25 Mar 2003, Lonny Selinger wrote:
> I know this may sound obvious but just in case ;) Have you checked permissions on
> the plugin? When you run it from the command line who are you running it as? And
> what is the format of your output (line breaks etc).
None of this was the issue (I tried running the script as the Nagios user
without a problem, and it returns one line of output).
Turns out I had accidentally commented out the resource.cfg entry in
nagios.cfg; this meant that the command entry referring to $USER1$ could not
work because Nagios didn't know what $USER1$ was. Surprisingly, instead of
providing some sort of error ('$USER1$ not defined') it just gave me the '(no
output)' error.
-roy
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list