No returned output from plugin

Fred f1216 at yahoo.com
Tue Sep 13 16:52:49 CEST 2005


not sure how you are starting up nagios, but when I have these
kinds of problems I start nagios by hand as user "nagios" (which is
where mine runs) and then invoke the plug-in by rescheduling the
check for right now via the web.  Then watch the output from the
demon going to stdout/stderr.  You might also take the additional step
of running strace -p"nagios-pid" -f -s512 in the background and
redirecting its output so you can get an idea of what nagios is doing
when it runs your plug-in.

-FredC

--- "Mendez, Marc" <M_Mendez at Fairfax.ca> wrote:

> When nagios executes the following command it produces a "no output
> returned from plugin".
> 
>  
> 
> $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C snmp -n "serial1" -w
> 160,140 -c 175,165 -t 15 -rk
> 
>  
> 
> The weird part is it works ok if I execute the plugin manually and
> although the status information displays not output nagios still reports
> correct status changes when they occur. 
> 
>  
> 
> Any ideas? 
> 
> 
> 
> Marc
> 
> 
> 
>  
> 
> 







-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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