[ nagiosplug-Bugs-3506096 ] snmp_check return only first line
SourceForge.net <[email protected]>
| Newsgroups | gmane.network.nagios.plugins.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #3506096, was opened at 2012-03-16 07:27 Message generated for change (Tracker Item Submitted) made by maxxsm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3506096&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: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: max (maxxsm) Assigned to: Nobody/Anonymous (nobody) Summary: snmp_check return only first line Initial Comment: when OID contain newline symbol(\r) plugin return only first of them. for example getting sysDescr: # /usr/lib/nagios/plugins/check_snmp -v -H x.x.x.x -o sysDescr.0 -C xxxxx /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 [authpriv] x.x.x.x:161 sysDescr.0 .1.3.6.1.2.1.1.1.0 = STRING: Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2(55)SE, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Sat 07-Aug-10 22:26 by prod_rel_team | P OK - Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2(55)SE, RELEASE SOFTWARE (fc2) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3506096&group_id=29880 ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________________ 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