matteocorti / nagios_plugins

18 stars 7 forks source link

plugin returns no output #113

Closed matteocorti closed 9 years ago

matteocorti commented 9 years ago

Original reporter: anonymous

I have multiple machines with CentOS 5 and 6. The plugin works on all machines when started by hand (either as root or as nagios) The plugin also works when started via NRPE, but when it is configured for the same machine as the nagios process, it consistently reports "(No output!)".

I have the impression that somehow the output does not get transferred to the main nagios program. I therefore tried to debug a bit with capture plugin (http://www.waggy.at/nagios/capture_plugin.htm). This made the plugin work.

I would have added this to ticket #124 as a "me too", but i could not find the "add comment" button on the ticket.

I installed the plugin from the EPEL rpm repository on an i386 machine, although I doubt that machine architecture matters in this case.

matteocorti commented 9 years ago

Original reporter: matteo@corti.li

Do you enable Embedded Perl (check the Nagios configuration file). This could be the cause of the problem...

matteocorti commented 9 years ago

Original reporter: matteo@corti.li

Embedded Perl disabled by the plugin itself.