Long story short: I’m looking for a way to perform discovery using only the Hostname for identification, as I'm unable to retrieve the Visible name from the device itself.
Explanation:
In my Zabbix environment (version 7.0.4.), I monitor hundreds of devices from different manufacturers across various networks. However, roughly a third of these devices can only be reached via ICMP ping; no other protocol is available. In Zabbix, I need to assign a specific name to each of these devices. For most, I can assign their unique names by renaming them on the device itself and query it via the agent or SNMP. However, this option isn't possible for the ping-only devices, as any name changes on these devices cannot be queried.
While I’ve managed to set up discovery for these ping-only devices, I encounter an issue: the Visible name defaults to the Hostname, which in this case is the IP address discovered through the ping. However, the Visible name needs to be the unique name I've predefined, because if it isn't, all ICMP-only devices are re-added to Zabbix because their Visible names differ from their hostnames.
This results in duplicate entries with "_2" appended to the IP-based Hostname, as Zabbix perceives them as new devices. Excluding these devices from the IP range isn’t an option, as their IP addresses can change, and manually updating them would be too labor-intensive.
Any suggestions would be greatly appreciated!
Explanation:
In my Zabbix environment (version 7.0.4.), I monitor hundreds of devices from different manufacturers across various networks. However, roughly a third of these devices can only be reached via ICMP ping; no other protocol is available. In Zabbix, I need to assign a specific name to each of these devices. For most, I can assign their unique names by renaming them on the device itself and query it via the agent or SNMP. However, this option isn't possible for the ping-only devices, as any name changes on these devices cannot be queried.
While I’ve managed to set up discovery for these ping-only devices, I encounter an issue: the Visible name defaults to the Hostname, which in this case is the IP address discovered through the ping. However, the Visible name needs to be the unique name I've predefined, because if it isn't, all ICMP-only devices are re-added to Zabbix because their Visible names differ from their hostnames.
This results in duplicate entries with "_2" appended to the IP-based Hostname, as Zabbix perceives them as new devices. Excluding these devices from the IP range isn’t an option, as their IP addresses can change, and manually updating them would be too labor-intensive.
Any suggestions would be greatly appreciated!