Displaying SNMP data for element retrieved from parent?

I have a trango AP that keeps all data subscriber units associated with it. This data can be retrieved via SNMP. The Subscriber units do not support SNMP and rely on the AP for all statics colletcion. For the Subsriber units display, is it possible to specify a different IP address to retrieve SNMP data? Currently, Dude uses the element’s IP address. I still would like DUDE to probe the subscriber units IP address using Ping but I would like to specify OIDs to retrieve from the AP using the APs IP address. Also, it would be nice if the probe and SNMP data fetch times could be specified as SNMP queries may require less frequent retrievals.

‘oid’ functions description: “returns value of given snmp OID. Only first parameter mandatory. First parameter - oid string, second - cache time - default 5 seconds (5.0), third - negative cache time - default 5 minutes (300.0), forth - ip address (overrides context device), fifth - snmp profile (overrides context device)”

So into your clients label editbox you could write something like [oid(“1.2.3.4.5”, 30, 300, 9.9.9.9, “xxx”)]

1.2.3.4.5 - the OID
9.9.9.9 - aps ip address
xxx - aps snmp profile

Got it. Thanks. Maybe an enhancement could be added to Dude to allow for specifying a separate unit to get stats from. Maybe add an IP field on the SNMP tab. You could auto populate the field with the elements IP address and then the user could change it if needed. That would be alot easier than changing the OID IP address for multiple OIDs. Please? :smiley:

I tried the following in the label box for a unit and all it does is print the text below. Did I miss understand something?

[oid(“iso.org.dod.internet.private.enterprises.trango.tbw.m5830sap.su.suInfoTable.suInfoEntry.suDIstance.1”,30,300,10.0.0.79,“xxx”)]

Uldis, anyone?

you should put ip address in parenthesis. Also you should add snmp profile
with name xxx if you don’t have one (or omit it at all).
For example:

[oid(“iso.org.dod.internet.private.enterprises.trango.tbw.m5830sap.su.suInfoTable.suInfoEntry.suDIstance.1”,30,300,“10.0.0.79”)]

will poll 10.0.0.79 with default snmp profile.

Thanks. I’ll try that.

What do you mean by SNMP profile and where in Dude is that specified for the device type?

SNMP profiles can be configured in ‘Server Configuration’ ‘Snmp’ tab.
SNMP profile can be selected for device in devices settings ‘General’ tab

Uldis: In your comments above, you mentioned:

cache time - default 5 seconds (5.0)
negative cache time - default 5 minutes (300.0)

Is the cache time the time between SNMP queries? What is negative Cache time?

uldis?

The same OID will not be queried again for at least ‘cache time’ seconds.
If any kind of error is received (timeout, no such oid, auth failure etc.)
then the OID will not be queried again for at least ‘negative cache time’
seconds.