You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have a functioning metric for entSensorValue. But now I would like to know for an alert rule whether the associated interface is administratively deactivated (aka ifAdminStatus ) for an optical sensor (voltage, dbm). For this I would need the IfIndex. After a bit of googling I stumbled across 'entAliasMappingTable' - I should be able to enrich the metric with this. However, it is not at all clear to me how I would formulate this in snmp.yaml as I would theoretically need a double lookup.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi guys,
I currently have a functioning metric for entSensorValue. But now I would like to know for an alert rule whether the associated interface is administratively deactivated (aka ifAdminStatus ) for an optical sensor (voltage, dbm). For this I would need the IfIndex. After a bit of googling I stumbled across 'entAliasMappingTable' - I should be able to enrich the metric with this. However, it is not at all clear to me how I would formulate this in snmp.yaml as I would theoretically need a double lookup.
My snmp.yaml currently looks like this:
Has anyone done this before or do you have an idea how it could be solved (possibly even better)?
Thanks in advance for any hints!
Beta Was this translation helpful? Give feedback.
All reactions