|
From: Markus G. <ma...@ga...> - 2011-10-17 12:09:24
|
Hi Ashok! You must quote strings containing $ signs on a linux shell. Use 'single quotes', otherwise your string will be interpreted as a variable name. br, Markus On Oct 17, ashok kumar <ash...@gm...> wrote: > Hello Harish, > > It is me (Ashok) who reported this issue (community name is not working with > special characters). > > How did I verified: > > 1. I added two entries snmpd.conf as below: > rwcommunity ashok123 > rwcommunity ashok$123 > > 2. I executed the snmpd and tried the following things: > [ashok@localhost commands]$ snmpget -v2c -c ashok123 localhost > 1.3.6.1.2.1.1.3.0 > DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (52765) 0:08:47.65 > [ashok@localhost commands]$ > > [ashok@localhost commands]$ snmpget -v2c -c ashok$123 localhost > 1.3.6.1.2.1.1.3.0 > Timeout: No Response from localhost. > [ashok@localhost commands]$ > > I get a response with community "ashok123" but not with "ashok$123" > > Regards, > Ashok > > > On Mon, Oct 17, 2011 at 4:30 PM, Harish Jadhav <ha...@te...> > wrote: > Venkat, > > How are you verifying that community string is not working? > > As far as I know, I am very much sure that community string can > have special characters also. > > On 10/17/2011 2:47 PM, ashok kumar wrote: > Hello Venkat, > > I am trying with alpha numeric (only alphabets and > numbers) and it is working. When I add some special > character in the community name (say '$'), its not > working. > > Can any one tell me if there is any way to make it work > even with special characters. Thanks. > > Regards, > Ashok > > On Thu, Oct 13, 2011 at 3:01 PM, venkat easwar > <har...@ya...> wrote: > Hi Ashok, > > As far as I am aware, the SNMP community name should be > Alpha numeric. > > Thanks > [IMAGE][IMAGE]VENKAT[IMAGE][IMAGE] > From: ashok kumar <ash...@gm...> > To: net...@li... > Sent: Thursday, October 13, 2011 1:36 PM > Subject: community name with special characters > > Hello All, > > I am adding a community > "benu1benu2benu3$enu4benu5benu6benu7benu8" in > snmpd.conf file but I am not able to use snmpget through > this > community. > > Is this because, there is a special character '$' in the > community > name and if so, what are the special characters net-snmp > will not > allow for community name. Thanks. > > Regards, > Ashok > > --------------------------------------------------------------------------- > --- > All the data continuously generated in your IT > infrastructure contains a > definitive record of customers, application performance, > security > threats, fraudulent activity and more. Splunk takes this > data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Net-snmp-users mailing list > Net...@li... > Please see the following page to unsubscribe or change > other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > > > > > ---------------------------------------------------------------------------- > -- > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > > > _______________________________________________ > Net-snmp-users mailing list > Net...@li... > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > > > > -- __________________ /"\ Markus Gaugusch \ / ASCII Ribbon Campaign markus(at)gaugusch.at X Against HTML Mail / \ |