[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

[Nagios-users] ePN - Strange Problem

2006-08-03 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


___
Mutui a tassi scontati da 30 banche. Richiedi online e risparmia. Servizio 
gratuito. 
http://click.libero.it/mutuionline



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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

2006-08-03 Thread rob . moss
Looks like a problem with your perl script runing under the embedded Perl
interpreter.

Perhaps one side of the division is a variable which is empty.





Internet
[EMAIL PROTECTED]@lists.sourceforge.net - 03/08/2006 07:48


Sent by:[EMAIL PROTECTED]



To:nagios-users

cc:


Subject:[Nagios-users] ePN - Strange Problem

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


___
Mutui a tassi scontati da 30 banche. Richiedi online e risparmia. Servizio
gratuito.
http://click.libero.it/mutuionline



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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



This message and any attachments (the message) is 
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified. 

**

BNP Paribas Private Bank London Branch is authorised
by CECEI  AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in
the United Kingdom.

BNP Paribas Securities Services London Branch is authorised 
by CECEI  AMF and is regulated by the Financial Services 
Authority for the conduct of its investment business in 
the United Kingdom.
  
BNP Paribas Fund Services UK Limited is authorised and 
regulated by the Financial Services Authority


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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

2006-08-03 Thread Joerg Linge
Am Donnerstag, 3. August 2006 08:48 schrieb [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,. 

Please have a look on nagios_source/contrib

There is a mini_epn Debugger. Just compile mini_epn by calling make in the 
contrib Directory.

Jörg

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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