On 26.07.21 12:02, Tobias Frost wrote: > Hi, > > > For an service application targeting an embedded device, I'd like to provide > information about the device via snmp. > > However, the list of available information differs a lot from device to > device, > (so I can't have a "preknown list" in the service application) > On top of that querying the value of some of the information is quite > expensive, > (can take significant time). > > IIUC, getnext and getbulk always also retrieve the information as well. > In this case walking the tree with getnext or getbulk would not really > feasible > for my use case, due it would take too much time in certain devices. > > Is there an established way to "just" query the tree of supported OIDs, > without > actually retrieving the value, or is there some established "workaround"? > > Thanks in advacne for helping me in my noob question :) > > Cheers, > tobi > > > _______________________________________________ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Some devices publish the available MIBs in the system MIB. But this is not very common. Generally you will have to walk the thee. Mit freundlichen Grüßen, -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG,80333 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief Aufsichtsratsvorsitzender: Florian Kirstein _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users