We want to change switch interface names from their defaults (for example, ethernet1/1/1:1) to friendly names like 'server1' and 'server2'. I've looked around but I don't see how to do that. I'm using Zabbix 6.2.6.
Ad Widget
Collapse
How to Change Switch Interfaces Names?
Collapse
X
-
Tags: None
-
Do the interfaces have a friendly name/description entered in a switch? I believe network equipment vendors usually expose description as a dedicated SNMP OID in their MIBs. In which casae you should be able to modify discovery in use to find the {#DESCRIPTION} discovery macro as that OID and use it in trigger prototype name instead/alongside interface number. -
I can set aliases for the interface names at the switch level, but it's a pain. I was hoping there was a way in Zabbix to change the display name for interfaces without having to get into the switches.Comment
-
Zabbix does need to take this information from somewhere. You can either point Zabbix to where he can take this information from (which implies this information should be in switch, exposed by switch and Zabbix should be directed where exactly it should extract it from) or you can setup all interface manually, ditching Zabbix automation (discovery). Dont believe there is 3rd option availabe for what you askOriginally posted by [email protected]I can set aliases for the interface names at the switch level, but it's a pain. I was hoping there was a way in Zabbix to change the display name for interfaces without having to get into the switches.
jtnfoley you would need to get the MIB that are actually in use in your switch/router and compare description field OID against what is defined in Zabbix.Comment
-
If you don't want to ssh/telnet to switch you could use snmp to set those names as you wish. That could be even scripted quite easily, I mean if you have list of ip's, names(aliases) and port id(snmp index) you could write a script which goes and set those for you. Ofcourse you need to have write access(snmp write community) to those devices.Originally posted by [email protected]I can set aliases for the interface names at the switch level, but it's a pain. I was hoping there was a way in Zabbix to change the display name for interfaces without having to get into the switches.Comment
Comment