Hi,
I monitor a number of sets of servers. They're named as follows:
DC1-web01
DC1-web02
DC1-web03
DC2-web01
DC2-web02
DC2-web03
and each have an IP address, and a hostname. The hostname is of the form web01.dc1.company.com
I have found that it's not possible to zabbix_send with the -s flag being either the IP address or hostname. Instead, I have to use the "Name" of the host. This is a bit inconvenient as I can't use `hostname` in my call to zabbix_sender to specify the destination host.
I also don't really want to rename Zabbix's name for each host, as Monitoring:Overview lists host alphabetically, so I currently can see DC1*3 then DC2*3 in columns, whereas if I were to rename them, I'd see alternating DC1, DC2, DC1, DC2 etc which isn't easy to quickly examine.
Has anyone got a neat solution to this? Is there a reason why the zabbix_server can't use the hostname to receive sender updates?
I monitor a number of sets of servers. They're named as follows:
DC1-web01
DC1-web02
DC1-web03
DC2-web01
DC2-web02
DC2-web03
and each have an IP address, and a hostname. The hostname is of the form web01.dc1.company.com
I have found that it's not possible to zabbix_send with the -s flag being either the IP address or hostname. Instead, I have to use the "Name" of the host. This is a bit inconvenient as I can't use `hostname` in my call to zabbix_sender to specify the destination host.
I also don't really want to rename Zabbix's name for each host, as Monitoring:Overview lists host alphabetically, so I currently can see DC1*3 then DC2*3 in columns, whereas if I were to rename them, I'd see alternating DC1, DC2, DC1, DC2 etc which isn't easy to quickly examine.
Has anyone got a neat solution to this? Is there a reason why the zabbix_server can't use the hostname to receive sender updates?
Comment