Re: snmpget problem with OIDs that contains doublequotes

Antonio Bonifacio <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Digital-Instruments
Message-ID <[email protected]>
Yes I know... in fact I tryed that solution but this is the output

# snmpget -v 2c -c public 192.168.200.199
ipAddressIfIndex.ipv4.\"192.168.200.199\"
IP-MIB::ipAddressIfIndex.ipv4."192.168.200.199" = No Such Instance
currently exists at this OID

...that is quite absurd, since the walk returns 'INTEGER: 2' for the same
OID  :- (

On Mon, 15 Oct 2007 15:38:44 +0200, Thomas Anders
<[email protected]> wrote:
> [email protected] wrote:
>>>  snmpget -v 2c -c public 192.168.200.199
>> ipAddressIfIndex.ipv4."192.168.200.199"
>>
>> ipAddressIfIndex.ipv4.192.168.200.199: Unknown Object Identifier (Index
> out
>> of range: 192 (ipAddressAddr))
> 
> Depending on your shell, you need to escape the double-quotes like this:
> 
> snmpget -v 2c -c public 192.168.200.199
> ipAddressIfIndex.ipv4.\"192.168.200.199\"
> 
> 
> +Thomas
> 
> --
> Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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.