Sir

Thank you very much for your reply.

I am querying a vendor’s MIB and got this error and I have submit a defect to 
them.

 

But I tried “snmpgetnext” command on the failed OID and it can return the next 
OID correctly.

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

 

Thanks again for your time.

 

Best Regards

Yufeng Zhu

========================================

Salira Optical Network System (China), Ltd.

Tel: 86-21-50806800-2321

Mail: [email protected]

========================================

 

From: Fulko Hew [mailto:[email protected]] 
Sent: 2011年1月12日 22:56
To: Yufeng Zhu
Cc: [email protected]
Subject: Re: snmpwalk stops at "no such instance currently exist at this OID"

 

 

On Wed, Jan 12, 2011 at 5:32 AM, Yufeng Zhu <[email protected]> wrote:

Sir

Thanks for your time to read this mail. I have a problem with snmpwalk command.

When I try to walk a tree, it stop when one node has error and returns “no such 
instance currently exist at this OID”

The reset of the sub nodes will not be walked. I have tried every options that 
I can but it still does not working

Could you please tell me a way to fix this?


My interpretation of your problem is:
     'snmpwalk stops when it detects an error in the agent it is querying.'
This would be normal.  snmpwalk uses getnext to find the 'next' OID, and then 
query it
for its value.  If an agent returns 'no such', then snmpwalk has no choice but 
to stop
since the 'next' variable was in error, snmpwalk can't know what the 'next' OID
after the 'failed' OID might me!

On the other hand, as Dave asked... 'what MIB/OID is it failing on.
If its an OID provided by net-snmp, someone may be able to fix it.
If its an OID in some other vendor's MIB, then that vendor needs to fix it.

 

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

Reply via email to