15 May 2025
07:38 PM
- last edited on
16 May 2025
09:52 AM
by
MaciejNeumann
Specifically, I'm talking about the official Dynatrace F5 extension.
I'm trying to better my understanding of SNMP extensions and don't understand how this is happening.
The availability state metrics (for things like Pools, Pool Members, etc... ) have a dimension called <entity_type>.availstate.
Here is the yaml for the availstate dimension of metric com.dynatrace.extension.f5.bigip.pool_member.state :
- key: pool_member.availstate
value: oid:1.3.6.1.4.1.3375.2.2.5.6.2.1.5
That OID just outputs a number between 1 and 4. 1 being green, 2 yellow, 3 red, and 4 blue.
Nowhere in the yaml or any other file I could find packaged with the extension can I find an enumeration that maps those numbers to words (heck, there's only one enumeration in the entire yaml file and it has nothing to do with that stuff), yet when you look at that dimension in something like Data Explorer, Notebooks, or Dashboards, the value of the dimension is displayed as green(1), yellow(2), red(3), or blue(4).
How? What mechanism is adding those words in?
There are several other dimensions like that in this extension.
Can someone that knows please let me know where in the extension.yaml (or maybe other file packaged with the extension) this is defined?
Solved! Go to Solution.
15 May 2025 08:17 PM
I found the answer to my own question!
If you upload a MIB (or are using OIDs that Dynatrace already has MIBs for), it will automatically enumerate the value to a string:
SNMP data source reference — Dynatrace Docs