[Nagios-users] ePN Strange problem with PERL Script

2006-08-19 Thread [EMAIL PROTECTED]
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=lnkkid=120709bid=263057dat=121642
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] ePN Strange problem with PERL Script

2006-08-19 Thread Tory M Blue
Top posting..Put it in a shell wrapper. so that Nagios calls it as a shell script vs a perl script, should solve your problemToryOn 8/19/06, 
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
HI AllI wrote the SNMP plugin in Perl Script and I tested the script from commandline and 'mini_epn' with success.When I use the script into NAGIOS Enviroment the script don't function andreturn the follow error:
**ePN /usr/lib/nagios/plugins/check_prova.pl: Argument  isn't numeric indivision (/) at (eval 6) line 156,.In line 156 there is the easy division operation.Can you help Me?
My system isFedora Core 4Nagios 2.5Thank youRiccardo RAGGIIT 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 easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Nagios-users mailing list
Nagios-users@lists.sourceforge.nethttps://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=lnkkid=120709bid=263057dat=121642___
Nagios-users mailing list
Nagios-users@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