RE: Problem with community name and symbols

"Sorrell, Al" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <D1DD4CF81CB5D44C85FA0C3ECB897F3103CB5FC0@TC3637.corp.troweprice.net>
Might try escaping the $ with a backslash: smarta\$\$

>-----Original Message-----
>From: Gregory Young [mailto:[email protected]]
>Sent: Thursday, July 02, 2009 2:19 PM
>To: [email protected]
>Subject: Problem with community name and symbols
>
>Versions:
>       Windows: 5.4.2.1
>       SUSE 11 i586 and x64: 5.4.1-77.6
>
>
>       The issue I am coming across is that I am trying to setup Nagios
to monitor a large network of
>devices that are on the on the public internet. Due to the open nature
of these devices, we have
>setup community names on them that include the '$' symbol. These
devices are all running on top of a
>hardened, stripped down version of Linux and our current windows based
monitoring software has no
>problems reading the SNMP info using these community names (I am
looking to replace the current
>software as it is not scalable and we have exceeded its capacity).
>
>	So the big issue is as follows. On a Windows based system, using
net-snmp 5.4.2.1 I have no
>problems querying a device and getting the info I request. On Suse 11 I
get no response from the
>device. Running the command with the debug option, I can see the
community name that is being passed
>is incorrect. If I enter 'smarta$$' as my community name, net-snmp
sends it to the device as
>'smarta12212'.
>
>	With over 2,000 devices being monitored, changing the community
names is not an option (yes
>both the RO and RW community names have a '$' in them). Does anyone
know how to tell net-snmp, and
>more specifically snmpget how to properly pass these characters to the
remote device?
>
>	As reference, the command I am using is:
>			Snmpget -v 2c -c smarta$$ -d X.X.X.X
.1.3.6.1.4.1.8744.5.6.1.1.7.0
>
>
>Thanks in advance,
>
>
>Gregory Young
>
>
>-----------------------------------------------------------------------
-------
>_______________________________________________
>Net-snmp-users mailing list
>[email protected]
>Please see the following page to unsubscribe or change other options:
>https://lists.sourceforge.net/lists/listinfo/net-snmp-users


T. Rowe Price (including T. Rowe Price Group, Inc. and its affiliates) and its associates do not provide legal or tax advice.  Any tax-related discussion contained in this e-mail, including any attachments, is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding any tax penalties or (ii) promoting, marketing, or recommending to any other party any transaction or matter addressed herein.  Please consult your independent legal counsel and/or professional tax advisor regarding any legal or tax issues raised in this e-mail.

The contents of this e-mail and any attachments are intended solely for the use of the named addressee(s) and may contain confidential and/or privileged information. Any unauthorized use, copying, disclosure, or distribution of the contents of this e-mail is strictly prohibited by the sender and may be unlawful. If you are not the intended recipient, please notify the sender immediately and delete this e-mail.


------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.