ePN Strange problem with PERL Script

Tory M Blue tmblue at gmail.com
Sat Aug 19 20:02:14 CEST 2006


Top posting..

Put it in a shell wrapper. so that Nagios calls it as a shell script vs a
perl script, should solve your problem

Tory

On 8/19/06, r.raggi at libero.it <r.raggi at libero.it> wrote:
>
> HI All
>
> I wrote the SNMP plugin in Perl Script and I tested the script from
> command
> line and 'mini_epn' with success.
> When I use the script into NAGIOS Enviroment the script don't function and
> return the follow error:
>
> **ePN /usr/lib/nagios/plugins/check_prova.pl: "Argument "" isn't numeric
> in
> division (/) at (eval 6) line 156,".
>
> In line 156 there is the easy division operation.
>
> Can you help Me?
>
> My system is
>
> Fedora Core 4
> Nagios 2.5
>
> Thank you
>
> Riccardo RAGGI
> IT Consultant
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060819/ee0cd7ad/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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