> I'm using the net-snmp 5.0.2 for my agent implementation.

Please note that the 5.0.2 release was a fairly early version following
some extensive revisions to the agent internal implementation.  There
have been a significant number of improvements since, and you are
strongly advised to upgrade - either to the latest in the 5.0.x line
(5.0.9), or the most recent 5.1.2 release.




> But my agent retuns "noError" for errorStatus, and 1 for the errorIndex, and 
> the value is NULL, when requesting for 1.3.6.1.2.1.1.2.0 (which ofcourse is 
> not supported by the agent). See the dump for details. 

I'm not sure why you think that 1.3.6.1.2.1.1.2.0 is not supported.
This is SNMPv2-MIB::sysObjectID.0 which is a standard part of the agent
in all but the most unusual configurations.


> The agent behaves perfectly for snmpv2 though, with errorStatus=="noError", 
> and the value=="noSuchName". 

I do hope not.
With SNMPv2, the agent should be returning either 'noSuchInstance' or
'noSuchObject' exceptions.   The error 'noSuchName' is not valid in SNMPv2
requests (i.e. SNMPv2c or SNMPv3).
   And it's not an exception either, so should be reported as the errorStatus
rather than as a value.


I've just checked with the current 5.0.x agent, and it seems to work
as expected.   I suggest you upgrade and try again.

Dave

PS: Please only send one copy of a query - sending it twice is unnecessary




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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