Forum Discussion
Crestron should not do it this way. Bad Crestron. I'll assume they have a reason for not doing SNMP they way it's supposed to be done. Rant over.
What you want is a multi-instance datasource with active discovery.
Given that each row is uniquely identified using the first two fields in each entry, you'll probably need to use scripted discovery. Your script should do a walk of the entire table of entries and output a single line for each entry. Each line will have two terms: 1) WILDVALUE and 2) WILDALIAS.
WILDVALUE: The wildvalue is going to be the unique identifier for the entry. It should be the tail end of the OID containing the status value when you walk the entries table.
WILDALIAS: This is simply the display name of your instance, which will probably be a concatenation of the parameter name and device name
If you provide the OIDs for your two examples (or the output of an SNMP walk on that entry table), I can show you what the output of your discovery script should look like.
After that, your collection shouldn't have to be scripted, you should be able to use simple SNMP collection. You'd create a single datapoint for status and the OID would be 1.3.6.1.4.1.a.b.c.d.e.f.X.##WILDVALUE## where 1.3.6.1.4.1.a.b.c.d.e is the OID for the table of entries and X is the leaf where the status value lives.
Related Content
- 9 months ago
- 11 months ago
- 4 months ago