On Thu, Mar 17, 2011 at 4:51 PM, Scott Baker <bak...@canbytel.com> wrote: > Am I missing something here, or is this totally broken? > > snmpwalk -c my_comm -v 2c nsp.web-ster.com .1.3.6.1.4.1.9.10.27.1.2.1.1 > SNMPv2-SMI::enterprises.9.10.27.1.2.1.1.0 = INTEGER: 0 > > :snmpget -c my_comm -v 2c nsp.web-ster.com .1.3.6.1.4.1.9.10.27.1.2.1.1 > SNMPv2-SMI::enterprises.9.10.27.1.2.1.1 = No Such Instance currently > exists at this OID > > How can snmpwalk find the data, but if I snmpget it directly it doesn't > work?
Because your snmpget did not specify the full OID, its missing the index value of '0'. You should have used (just like the snmpwalk returned): snmpget -c my_comm -v 2c nsp.web-ster.com .1.3.6.1.4.1.9.10.27.1.2.1.1.0 ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users