Ad Widget

Collapse

Changing names of items reported by agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • troffasky
    Senior Member
    • Jul 2008
    • 567

    #1

    Changing names of items reported by agent

    I am trying to solve a problem with monitoring OpnSense - the interface names reported by SNMP and Zabbix agent are the hardware device names, but these are pretty much meaningless as everywhere in the configuration on this platform, you instead use the "Interface" name.
    This might not be so bad with SNMP as we have ifName, hrDeviceDescr ​and ifDescr - but unfortunately, the current OpnSense SNMP implementation returns all three fields as the same value! ifAlias is just blank. So sad.
    With discovered and templated items, they are read-only once discovered. So I cannot even rename or tag them post-discovery.
    I really want to avoid manually creating items, graphs, triggers, etc simply to get a usable visible name. OpnSense runs on commodity hardware so there is a wide variety of mappings from physical interface to actual use [the actual use being reflected in the Interface name, eg igb1 could be LAN].
    So how about Zabbix agent? Is there a way to rewrite an item name agent-side? It would be a bit tedious but only needs doing once per box.
    Last edited by troffasky; 16-01-2024, 14:40.
Working...