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,
[EMAIL PROTECTED] <[EMAIL PROTECTED]> 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
[email protected]
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
------------------------------------------------------------------------- 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 [email protected] 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
