[ nagiosplug-Bugs-3585441 ] snmp_check -C parsing error

SourceForge.net <[email protected]>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <[email protected]>
Bugs item #3585441, was opened at 2012-11-08 10:32
Message generated for change (Tracker Item Submitted) made by leandrotoledo
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3585441&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: Parsing problem
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Leandro Toledo de Souza (leandrotoledo)
Assigned to: Nobody/Anonymous (nobody)
Summary: snmp_check -C parsing error

Initial Comment:
Hi there,
I'm having some issues with release v1.4.16 when using check_snmp with -C arg.

See above:
- In check_snmp (nagios-plugins 1.4.16) v1.4.16:
# ./check_snmp -C border -H 10.10.0.6 -o iso.3.6.1.2.1.2.2.1.9.3 -v 
/usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] 10.10.0.6:161 iso.3.6.1.2.1.2.2.1.9.3
(Service Check Timed Out) 

- In check_snmp (nagios-plugins 1.3.1) v1.24.2.2:
# ./check_snmp -C border -H 10.10.0.6 -o iso.3.6.1.2.1.2.2.1.9.3 -v
/usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c border 10.10.0.6:161  iso.3.6.1.2.1.2.2.1.9.3
RFC1213-MIB::ifLastChange.3 = Timeticks: (362154105) 41 days, 21:59:01.05
SNMP OK - Timeticks: (362154105) 41 days, 21:59:01.05

It seems that the -C (--community too) argument was not treated.

OS/Arch: Linux nagios3teste 2.6.32-5-686 #1 SMP Sun Sep 23 09:49:36 UTC 2012 i686 GNU/Linux
Compiler: gcc version 4.4.5 (Debian 4.4.5-8)

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

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

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________________
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.