[Nagiosplug-devel] Weird 'No output' problem with new plugin

Gavin Carr gavin at openfusion.com.au
Mon Jul 18 18:57:44 CEST 2005


I've just written a perl plugin to do an arbitrary query against
a database and do some tests based on the number of rows returned.
It's working fine from the command line as the 'nagios' user on 
the same machine, but plugged into nagios all I'm getting is 
'(No output!)', even using degenerate tests like 'check_foo -h'. 
Also, lots of the work is done by a perl module that is working 
fine in 5 other plugins currently monitoring 30 or 40 services.

Any tips on how to go about debugging this, or anything obvious
I'm missing? What can be different between running as the nagios
user from the command line and running within nagios? How can I
trace what nagios is doing more closely? 

Any ideas appreciated.

Cheers,
Gavin





More information about the Devel mailing list