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

SourceForge.net noreply at sourceforge.net
Sun Jul 29 04:20:03 CEST 2007


Bugs item #1681482, was opened at 2007-03-15 06:50
Message generated for change (Comment added) made by sf-robot
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: Closed
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 !

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

>Comment By: SourceForge Robot (sf-robot)
Date: 2007-07-28 19:20

Message:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Matthias Eble (psychotrahe)
Date: 2007-07-14 13:10

Message:
Logged In: YES 
user_id=1694341
Originator: NO

Hi Geoffrey,

is your problem fixed in the latest release?

I'm setting this item to pending. It will get deleted automatically, if
you won't post in the next 14 days.

Thanks for your report.
Matthias

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

Comment By: Gavin Carr (gonzai)
Date: 2007-03-16 05:13

Message:
Logged In: YES 
user_id=674647
Originator: NO

Yep, that's completely broken, and there's another couple of places just
like it. Fix checked into CVS now.

Cheers,
Gavin


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

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