[Nagiosplug-devel] [ nagiosplug-Bugs-1681482 ] check_ifstatus - SNMPv3 - bug line 307

SourceForge.net noreply at sourceforge.net
Thu Mar 15 14:50:20 CET 2007


Bugs item #1681482, was opened at 2007-03-15 14:50
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=1681482&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Geoffrey Lemaire (geolem)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ifstatus - SNMPv3 - bug line 307

Initial Comment:
RHEL 4 - nagios 2.8 (via up2date)
RHEL 4 - check_ifstatus version : check_ifstatus (nagios-plugins 1.4.5) 1.9

Hi,

I have a problem with check_ifstatus and SNMPv3 at line 307.

When I do a :
---
./check_ifstatus -H 127.0.0.1 -v 3 -L authNoPriv -a MD5 -U mylogin -A mypassword
---

I have the message :
---
Missing arguments!
check_ifstatus -C <READCOMMUNITY> -p <PORT> -H <HOSTNAME>
Copyright (C) 2000 Christoph Kron
Updates 5/2002 Subhendu Ghosh 
---

I put a lot of "printf" and I found a problem on the line 307 :
---
unless ($seclevel eq ('noAuthNoPriv' || 'authNoPriv' || 'authPriv' ) ) {
---

It forward me to the "usage();".

When I do a (for testing my SNMPv3) :
---
snmpget -v 3 -u mylogin -l authNoPriv -a MD5 -A mypassword localhost sysUpTime.0
SNMPv2-MIB::sysUpTime.0 = Timeticks: (196856) 0:32:48.56
---
It's look ok...

So, what we can do ?
(started topic : http://forums.opsyx.com/viewtopic.php?p=21709#21709)

Very thanks !

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

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




More information about the Devel mailing list