RE: using symbolic names in oids

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC0A5B6263@mailserver.metatv-ds.metatv.com>
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Dave Shield
> Sent: Wednesday, January 14, 2009 12:55 AM

> 2009/1/13 Mike Ayers <[email protected]>:
> >        Try:
> >
> > $ snmpwalk -v 2c -c mll-O 'lb001.geni.com vsvrTotHits."www"'
> 
> The problem with that command is that the shell will swallow
> the double quotes.   These need to be passed to the SNMP
> command, so that it can distinguish between implied string
> index values ('www') and explicit-length ones ("www")

	No, the shell will eat the single quotes on the outside and leave the doubles as-is.  I know this works on bourne shells - are you perhaps using a csh?


	Thanks,

Mike

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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.