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
First I'd like to congratulate you for this tool which is brilliant.
I have a device returns 2 label for each OID (card + port) and I want to replace this by the interface description.
How could I do that?
SNMP walk:
# HELP ethIfPurpose A string representing the purpose of the interface - 1.3.6.1.4.1.2928.2.2.1.3.2.1.6
# TYPE ethIfPurpose gauge
ethIfPurpose{ethDevIndex="2",ethIfIndex="1",ethIfPurpose="Description_2/1"} 1
ethIfPurpose{ethDevIndex="3",ethIfIndex="1",ethIfPurpose="Description_3/1"} 1
ethDevIndex is the card and ethIfIndex is the port, Purpose being the description.
My goal is to add to all metric containing ethDevIndex="2",ethIfIndex="1", the ethIfPurpose.
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
-
Hello,
First I'd like to congratulate you for this tool which is brilliant.
I have a device returns 2 label for each OID (card + port) and I want to replace this by the interface description.
How could I do that?
SNMP walk:
ethDevIndex is the card and ethIfIndex is the port, Purpose being the description.
My goal is to add to all metric containing ethDevIndex="2",ethIfIndex="1", the ethIfPurpose.
My generator.yml looks like this but not working:
Is there anyway to make this works?
Thanks,
Steph
Beta Was this translation helpful? Give feedback.
All reactions