[SNMP4J] diskIOWrites - cached responses
Dave Shield
D.T.Shield at liverpool.ac.uk
Sun Dec 2 10:46:41 CET 2007
On 01/12/2007, Frank Fock <fock at agentpp.com> wrote:
> What seems to be strange, that a walk on diskIOWrites.5 returns
> a diskIOWrites.5 instance. I would have expected an instance with OID >
> diskIOWrites.5 instead.
That's deliberate.
Conceptually, the behaviour of snmpwalk is
"get me all the information from the subtree
rooted on the specified OID"
If the OID is a leaf instance, then "all the information"
is the corresponding value for this instance.
Internally, this behaviour is implemented by issuing
a sequence of GETNEXT requests until the response
OID falls outside the specified subtree. The standard
approach, basically.
But if the very first request returns an OID outside
this subtree, then the snmpwalk command tries a
final GET request on the specified OID, to handle
this very case of providing a leaf instance OID.
This behaviour can be turned off using the option -CI
Dave
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users at lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
More information about the SNMP4J
mailing list