> 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

Reply via email to