Re: using symbolic names in oids

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
>> From: Ed Greenberg [mailto:[email protected]]

>>     $ snmpwalk -v 2c -c mll-O lb001.geni.com vsvrTotHits.\"www\"


That should have worked.
Which version of the code are you using?
    ("snmpwalk -V")


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")

Dave

------------------------------------------------------------------------------
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.