[ nagiosplug-Bugs-3545799 ] check_snmp always returns OK

SourceForge.net <[email protected]>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <[email protected]>
Bugs item #3545799, was opened at 2012-07-19 02:29
Message generated for change (Comment added) made by hweiss
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3545799&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: Argument proccessing
Group: release-1.4.15
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Tim (tj8)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_snmp always returns OK

Initial Comment:
just upgrade plugins to nagios-plugins-1.4.15_1

when i try and use the command:
./check_snmp -H testserver -o enterprises.3032.64.4.1.2.4.101.120.105.109.1 -C public -w 100 -v

I get:
/usr/local/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] testserver:161 enterprises.3032.64.4.1.2.4.101.120.105.109.1
SNMPv2-SMI::enterprises.3032.64.4.1.2.4.101.120.105.109.1 = STRING: "130"
SNMP OK - "130" |

Surly this should return a warning.


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

>Comment By: Holger Weiss (hweiss)
Date: 2012-07-19 02:40

Message:
This is fixed in the 1.4.16 release.

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

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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.