snmpget problem with OIDs that contains doublequotes

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,
I have this problem: when I fetch for example the values of
iso.org.dod.internet.mgmt.mib-2.ip.ipAddressTable.ipAddressEntry from my
agent with snmpwalk I obtain this response

> snmpwalk -v 2c -c public 192.168.200.199
iso.org.dod.internet.mgmt.mib-2.ip.ipAddressTable.ipAddressEntry

IP-MIB::ipAddressIfIndex.ipv4."127.0.0.1" = INTEGER: 1
IP-MIB::ipAddressIfIndex.ipv4."192.168.200.199" = INTEGER: 2
IP-MIB::ipAddressType.ipv4."127.0.0.1" = INTEGER: unicast(1)
IP-MIB::ipAddressType.ipv4."192.168.200.199" = INTEGER: unicast(1)
IP-MIB::ipAddressPrefix.ipv4."127.0.0.1" = OID:
IP-MIB::ipAddressPrefixOrigin.1.ipv4."0.0.0.0".0
IP-MIB::ipAddressPrefix.ipv4."192.168.200.199" = OID:
IP-MIB::ipAddressPrefixOrigin.2.ipv4."208.164.244.190".0
IP-MIB::ipAddressOrigin.ipv4."127.0.0.1" = INTEGER: manual(2)
IP-MIB::ipAddressOrigin.ipv4."192.168.200.199" = INTEGER: manual(2)
IP-MIB::ipAddressStatus.ipv4."127.0.0.1" = INTEGER: preferred(1)
IP-MIB::ipAddressStatus.ipv4."192.168.200.199" = INTEGER: preferred(1)
IP-MIB::ipAddressCreated.ipv4."127.0.0.1" = Timeticks: (0) 0:00:00.00
IP-MIB::ipAddressCreated.ipv4."192.168.200.199" = Timeticks: (0) 0:00:00.00
IP-MIB::ipAddressLastChanged.ipv4."127.0.0.1" = Timeticks: (0) 0:00:00.00
IP-MIB::ipAddressLastChanged.ipv4."192.168.200.199" = Timeticks: (0)
0:00:00.00
IP-MIB::ipAddressRowStatus.ipv4."127.0.0.1" = INTEGER: active(1)
IP-MIB::ipAddressRowStatus.ipv4."192.168.200.199" = INTEGER: active(1)
IP-MIB::ipAddressStorageType.ipv4."127.0.0.1" = INTEGER: volatile(2)
IP-MIB::ipAddressStorageType.ipv4."192.168.200.199" = INTEGER: volatile(2)


But if I try to get the values directly with an snmpget I have this strange
beaviour...

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

My snmp agent runs on an ARM board with Debian 4 and net-snmp version is
5.4.1

Thanks,
Antonio


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