Le 19.03.2012 00:12, Charlie Martin a écrit : > Okay, one more case I want to be sure of. Let's assume that > 1.3.6.1.4.1.59.1.5.3.1.1.10 is the numerically (as opposed to > lexicographically) highest OID in the 1.3.6.1.4.1.59.1.5.3.1.1 > subgroup. How should the agent respond to > > $ snmpwalk /*args*/ 1.3.6.1.4.1.59.1.5.3.1.1.10
Just 1.3.6.1.4.1.59.1.5.3.1.1.10 = somevalue (and this is because snmpwalk do a GET request before starting doing GETNEXT requests). > and > > $ snmpgetnext /*args*/ 1.3.6.1.4.1.59.1.5.3.1.1.10 Your script should answer something like 1.3.6.1.4.1.59.1.5.3.1.2.1 if you can handle such an OID. If you have no OID left in the subtree your script can handle, you should return NONE. Net-SNMP will then search for another unit to handle the request. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders