Hi everyone, I'm new here so I apologize in advance for every mistake I will make (and for my english as well).
I guess this issue is already known, I've found some question about it but no answer that fix it for me.
I'm trying to setup a Zabbix server to monitor hosts in DHCP, so i want it to update the host interface when the IP changes.
I've Zabbix 6.0 running in a CentOS 8 and the hosts I want to monitor are windows 10 machines.
They have agent2 installed and I'm using them as active.
I've set up an autoregistration action to retrieve every host where hostmetadata contains a custom string, link them to "windows by zabbix agent active" template and everything works.
But when the host IP changes, Zabbix server keep trying retrieve information using the old IP and see the host as unavailable.
I've tried using discovery rule but in this case Zabbix see the host that changed IP as a new host (changing the hostname adding "2" at the end of it when an hostname with the same name already exists). So I end up with orphan hosts and new hosts with the right IP but the wrong hostname, not exactly what i wanted.
Is it possible to achieve what I'm trying to do? Thanks for any suggestion.
I guess this issue is already known, I've found some question about it but no answer that fix it for me.
I'm trying to setup a Zabbix server to monitor hosts in DHCP, so i want it to update the host interface when the IP changes.
I've Zabbix 6.0 running in a CentOS 8 and the hosts I want to monitor are windows 10 machines.
They have agent2 installed and I'm using them as active.
I've set up an autoregistration action to retrieve every host where hostmetadata contains a custom string, link them to "windows by zabbix agent active" template and everything works.
But when the host IP changes, Zabbix server keep trying retrieve information using the old IP and see the host as unavailable.
I've tried using discovery rule but in this case Zabbix see the host that changed IP as a new host (changing the hostname adding "2" at the end of it when an hostname with the same name already exists). So I end up with orphan hosts and new hosts with the right IP but the wrong hostname, not exactly what i wanted.
Is it possible to achieve what I'm trying to do? Thanks for any suggestion.
Comment