Re: snmpwalk stops at "no such instance currently exist at this OID"

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2011/1/13 Yufeng Zhu <[email protected]>:
> But I tried “snmpgetnext” command on the failed OID and it can return the
> next OID correctly.

The real test is what happens if you try "snmpgetnext" on the OID immediately
*before* the failed one.  What does that report?


> Is the “getnext” command different from “snmpwalk” and “snmpgetnext”

The commands "snmpgetnext" and "snmpwalk" both use the underlying
SNMP operation  GetNext.

The main difference is that snmpgetnext is a one-shot command,
that sends a single GetNext request, and reports the results regardless.
snmpwalk sends a *series* of GetNext requests, and will stop reporting
when it gets a response that it doesn't like.

So for low-level debugging, "snmpgetnext" tends to be more useful,
particularly if "snmpwalk" is giving odd results.

Dave

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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.