Hello,
I am trying to monitor WIndows services (switching after 6h) in a cluster - Failover Cluster Instance. I have:
xx-01-tst-cs xxx.xxx.xxx.3 cluster and two active/passive nodes
xx-01-tst-vm xxx.xxx.xxx.1
xx-02-tst-vm xxx.xxx.xxx.2
In the node configuration I set
Hostname: xx-01,02-tst-vm
ListenIP: xxx.xxx.xxx.1,2
ListenPort: 10050
LogFile: C:\Zabbix\Node\zabbix_agentd.conf
On these VMs I added a second Zabbix agent in another directory C:\Zabbix\Cluster and started.
Hostname: xx-01-tst-cs
ListenIP: xxx.xxx.xxx.3
ListenPort: 10050
LogFile: C:\Zabbix\Cluster\zabbix_agentd.conf
OS: Microsoft Windows Server 2019
Zabbix 5.0.3 agent
The cluster agent is started on the active node and stopped on the passive node. It is switched along with the services.
On zabbix servers, the cluster and nodes are discovered, and the services are also discovered, but the services are flapping. It retrieves values from both nodes.
I noticed that services not flapping when agent on xx-02-tst-vm is stopped.
Does anyone have an idea how I can do this?
I am trying to monitor WIndows services (switching after 6h) in a cluster - Failover Cluster Instance. I have:
xx-01-tst-cs xxx.xxx.xxx.3 cluster and two active/passive nodes
xx-01-tst-vm xxx.xxx.xxx.1
xx-02-tst-vm xxx.xxx.xxx.2
In the node configuration I set
Hostname: xx-01,02-tst-vm
ListenIP: xxx.xxx.xxx.1,2
ListenPort: 10050
LogFile: C:\Zabbix\Node\zabbix_agentd.conf
On these VMs I added a second Zabbix agent in another directory C:\Zabbix\Cluster and started.
Hostname: xx-01-tst-cs
ListenIP: xxx.xxx.xxx.3
ListenPort: 10050
LogFile: C:\Zabbix\Cluster\zabbix_agentd.conf
OS: Microsoft Windows Server 2019
Zabbix 5.0.3 agent
The cluster agent is started on the active node and stopped on the passive node. It is switched along with the services.
On zabbix servers, the cluster and nodes are discovered, and the services are also discovered, but the services are flapping. It retrieves values from both nodes.
I noticed that services not flapping when agent on xx-02-tst-vm is stopped.
Does anyone have an idea how I can do this?
But is there anything in logfiles?
Maybe someone else with more windows experience has something useful to say...
Comment