Hi
I have a problem with the status of the hosts. (zabbix 4.0, 4.2)
Exactly:
Monitors a host that does not have an agent installed, snmp etc.
The host has an IP set which is used in the detectors.
The host's IP address must be set to the actual ESXI address
Host is unreachable.
Another example.
The host has detectors that test resources via curl.
An IP address is not needed for any purpose, but it must be set.
Detectors on hosts work properly, collect data, but the host status does not change.
Hosts that use SNMP do not have this problem and refresh green if the detectors are working.
I solved the problem in the following way:
I gave the host the address of zabbix server and created a simple detector agent.ping which was asking the agent on the server.
Workaround worked, but now I need to fix this.
I suspect that the problem appeared after changing the IP address in the zabbix.agentd.conf file - it was a long time ago and I don't remember exactly.
Configuring zabbix.agentd.conf on a zabbix server
Server = 192.168.10.10
ServerActive = 192.168.10.10
Hostname = "hostname of server (case sensitive)"
If I remember correctly, with the setting left at "localhost" or 127.0.0.1 the hosts refreshed green if any detector worked on it.
I changed these settings probably for the zabbix-sender configuration - it didn't work properly with localhost.
Can you tell me if I'm doing something wrong or if the host doesn't have an agent, it won't light up green?
How to set the host, its address if the host does not have an agent, SNMP interface?
have temporarily changed the configuration in the configuration to 127.0.0.1 but this did not solve the problem.
One more problem:
Host that has been turned off.
Virtual Machine was turned off before disabling the host in zabbix - it's still black even though the host is Disabled. How it can change if the host does not show itself as down?
I have a problem with the status of the hosts. (zabbix 4.0, 4.2)
Exactly:
Monitors a host that does not have an agent installed, snmp etc.
The host has an IP set which is used in the detectors.
The host's IP address must be set to the actual ESXI address
Host is unreachable.
Another example.
The host has detectors that test resources via curl.
An IP address is not needed for any purpose, but it must be set.
Detectors on hosts work properly, collect data, but the host status does not change.
Hosts that use SNMP do not have this problem and refresh green if the detectors are working.
I solved the problem in the following way:
I gave the host the address of zabbix server and created a simple detector agent.ping which was asking the agent on the server.
Workaround worked, but now I need to fix this.
I suspect that the problem appeared after changing the IP address in the zabbix.agentd.conf file - it was a long time ago and I don't remember exactly.
Configuring zabbix.agentd.conf on a zabbix server
Server = 192.168.10.10
ServerActive = 192.168.10.10
Hostname = "hostname of server (case sensitive)"
If I remember correctly, with the setting left at "localhost" or 127.0.0.1 the hosts refreshed green if any detector worked on it.
I changed these settings probably for the zabbix-sender configuration - it didn't work properly with localhost.
Can you tell me if I'm doing something wrong or if the host doesn't have an agent, it won't light up green?
How to set the host, its address if the host does not have an agent, SNMP interface?
have temporarily changed the configuration in the configuration to 127.0.0.1 but this did not solve the problem.
One more problem:
Host that has been turned off.
Virtual Machine was turned off before disabling the host in zabbix - it's still black even though the host is Disabled. How it can change if the host does not show itself as down?