Debugging '(no output)' error
Lonny Selinger
lonny at bangtherockstogether.net
Tue Mar 25 15:04:17 CET 2003
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).
I dont *think* you'd get a no output error if it was a permissions thing but it may
be possible. I only recieved that error once when I was writing plugins and it was
because all my plugins are written in PERL. On one of the checks I wasn't returning
output from the shell to the interpretter properly and even though the shell
reported the proper output on the command line, the exit from the perl code was a
NULL value.
Just a few things to check :)
--
Lonny
> I've got a plugin that we've created to monitor some disk stats via SNMP; to the
> best of my knowledge, it works well -- returns some text and exits with status 0
> when I run it from a shell.
>
> Nagios, though, complains that it's providing no output (or, more
> specifically, "(no output!") ) and generates a warning.
>
> A casual search through the FAQs and mailing list has so far not turned up any
> ideas on how to further debug this. Suggestions?
>
> -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