[Nagiosplug-devel] Python plugin without output

Richard Edward Horner rich at richhorner.com
Tue Oct 21 08:10:59 CEST 2008


Also, make sure you are testing as whatever user the plugin runs as in
production. Sometimes you test things as root and they are fine but
then when run in production, there is a problem with either the PATH
or the permissions on some executable. The result is written to stderr
so you see nothing but the "no output" deal.

Rich(ard)

On Tue, Oct 21, 2008 at 1:47 AM, Ingo Lantschner
<listen2007 at lantschner.name> wrote:
>
> Am 20.10.2008 um 16:32 schrieb Tarjei Huse:
>
>> My problem is that when I use this plugin from nagios it ends up
>> saying
>> that the reported output was "(null)". Now, I've tested the plugin on
>> the commandline, as a nagios user without problems.
> Are you using NRPE or Nagios directly?
> Does your plugin write to stdout?
> Any newlines in the output?
>
> Cheers, Ingo
> --
> Ingo Lantschner
> 1060 Wien
> Mobil 0664-143 84 18

-- 
Richard Edward Horner
Engineer / Composer / Electric Guitar Virtuoso
http://richhorner.com




More information about the Devel mailing list