I'm new to SNMP.
Installed an SNMP server (net-snmp 5.4.3 on Debian), and I`m trying to go through this tutorial : http://oreilly.com/perl/excerpts/system-admin-with-perl/twenty-minute-snmp-tutorial.html
I am getting a strange response for the following query:
# snmpgetnext -v 1 -c public localhost \
ip.ipRouteTable.ipRouteEntry.ipRouteDest \
ip.ipRouteTable.ipRouteEntry.ipRouteNextHop
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (67626825) 7 days, 19:51:08.25
HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (67626825) 7 days, 19:51:08.25
I would expect to get some routing table information, but instead I get the system uptime (twice).
any idea why?
0 Answers