Sendpage doesn't work with nagios

Andreas Ericsson ae at op5.se
Wed Nov 2 17:51:59 CET 2005


Tao Yaoning wrote:
> I get an error information from log file
> 
> **ePN failed to compile /usr/bin/snpp: "Global symbol "$cmd" requires
> explicit package name at (eval 31) line 156, Global symbol "$arg"
> requires explicit package name at (eval 31) line 163. Global symbol
> "$cmd" requires explicit package name at (eval 31) line 165. Global
> symbol "$arg" requires e" at / usr/bin/p1.pl line 153.
> 

This means that the snpp perl-script is sloppily written so the embedded 
perl interpreter can't parse it properly. You can mitigate this by 
either disabling built-in perl or changing the command definition to read

/usr/bin/perl <your-command>

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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