I'm new with Zabbix and trying to understand how active zabbix agent and proxy works
I'm using active configuration with below configuration set:
ServerActive=proxy1,proxy2
Hostname=agenthostname
StartAgents=0
I apply a template to this agent but nothing is displayed in UI (no data) though I can see that it is actually executing the command (from zabbix agent log).
In addition to that there are many messages in agent log:
no active checks on server [proxy1], host [agenthostname] not found
no active checks on server [proxy2], host [agenthostname] not found
In proxy side, messages like below:
cannot send list of active checks to [IP]: host [agenthostname] not found
Then I turn off proxy1, and in the agent it show error:
active check configuration update from [proxy1:10051] started to fail (cannot connect to [[proxy1]:10051]: [111] Connection refused)
Looks like it was having communication though it was saying "no active checks"
Questions:
1. Is there any configuration missing from agent side?
2. The main purpose is to have redundant proxy so that data can be continuously available to zabbix server (High Availability). Is 'failover' concept here works to provide continuous data upstream to zabbix server?
3. If we need to monitor the zabbix agent availability, do we need to add "Server=" in agent configuration? If not then how we can monitor the agent ?
I'm using active configuration with below configuration set:
ServerActive=proxy1,proxy2
Hostname=agenthostname
StartAgents=0
I apply a template to this agent but nothing is displayed in UI (no data) though I can see that it is actually executing the command (from zabbix agent log).
In addition to that there are many messages in agent log:
no active checks on server [proxy1], host [agenthostname] not found
no active checks on server [proxy2], host [agenthostname] not found
In proxy side, messages like below:
cannot send list of active checks to [IP]: host [agenthostname] not found
Then I turn off proxy1, and in the agent it show error:
active check configuration update from [proxy1:10051] started to fail (cannot connect to [[proxy1]:10051]: [111] Connection refused)
Looks like it was having communication though it was saying "no active checks"
Questions:
1. Is there any configuration missing from agent side?
2. The main purpose is to have redundant proxy so that data can be continuously available to zabbix server (High Availability). Is 'failover' concept here works to provide continuous data upstream to zabbix server?
3. If we need to monitor the zabbix agent availability, do we need to add "Server=" in agent configuration? If not then how we can monitor the agent ?
Comment