[SNMP4J] Retrieving a subtree

PHIL BERGSTRESSER phil.bergstresser at adtran.com
Tue Jul 25 16:24:27 CEST 2006


 Steve,
    It's a popular request, but SNMP GETs only return what you
specifically ask for, one OID at a time.
    You might look at the SNMPv2 GETBULK to see how to get succesive
OIDs from one request. It can approach what you want with some careful
code to iterate until you get all you wanted.
    HTH,
Phil


-----Original Message-----
From: snmp4j-bounces at agentpp.org [mailto:snmp4j-bounces at agentpp.org] On
Behalf Of steve.van_den_berghe at alcatel.be
Sent: Tuesday, July 25, 2006 8:52 AM
To: snmp4j at agentpp.org
Subject: [SNMP4J] Retrieving a subtree

Hi, 

Does someone know if it is possible to get a subtree of the SNMP MIB by
doing an SNMP GET? How is this accomplished in SNMP4j, if I provide a
partial OID would I get all the values that are part of that subtree?

Thanks,
Steve

 ****************************************************
 Steve Van den Berghe
 HDM Development
 AND NM Premium Applications
 
 Alcatel Bell N.V                      Tel.: +32 3 240 8015
 F. Wellesplein 1
 B-2018 Antwerpen, Belgium
 ****************************************************
_______________________________________________
SNMP4J mailing list
SNMP4J at agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j



More information about the SNMP4J mailing list