Hi,
I’m registering an plugin, which works just fine. The point is the “fetch=SNMPTree(” part.
That too works if I specify them as shown below. The point is, some devices have oid 1…10 another 1…28 and yet another might have 1…54
How do I pull in all the oid values from that tree .1.3.6.1.4.1.11.2.14.11.5.1.12.1.5.2.1.1.2 ?
I’ve tried oids=[’ ‘] oids=[’*‘] oids=[’'] oids=[‘all’] but non works.
register.snmp_section(
name='procurve_ifinfo',
detect = any_of(
matches( ".1.3.6.1.2.1.47.1.1.1.1.13.1", ".*(" + SupportedVersions + ").*" ),
matches( ".1.3.6.1.2.1.47.1.1.1.1.13.2", ".*(" + SupportedVersions + ").*" ),
),
fetch=SNMPTree(
base='.1.3.6.1.4.1.11.2.14.11.5.1.12.1.5.2.1.1.2',
oids=[
'1',
'2',
],
),
)