[Nagiosplug-devel] [ nagiosplug-Bugs-1202797 ] Uninitialized value warning in check_ifoperstatus

SourceForge.net noreply at sourceforge.net
Mon May 16 15:16:01 CEST 2005


Bugs item #1202797, was opened at 2005-05-17 00:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1202797&group_id=29880

Category: Embedded Perl failure
Group: CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Reuben Farrelly (reuben)
Assigned to: Nobody/Anonymous (nobody)
Summary: Uninitialized value warning in check_ifoperstatus

Initial Comment:
I've been seeing this error for the last few weeks with
this plugin.  This is the message returned by the
plugin when invoked via Nagios:

**ePN /usr/lib/nagios/plugins/check_ifoperstatus: "Use
of uninitialized value in numeric gt (>) at (eval 3257)
line 359". 

Nagios displays an 'orange' status for this check.

line 359 looks like this:

unless ($snmpkey > 0 || defined $ifdescr){


When the command is executed manually, it looks like this:

[root at tornado plugins]#
/usr/lib/nagios/plugins/check_ifoperstatus -H
192.168.0.1 -C snmpaccess -d ATM0
OK: Interface ATM0 (index 1) is up.[root at tornado plugins]# 

(I wonder if a missing CR at the end is a bad thing..)



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1202797&group_id=29880




More information about the Devel mailing list