Linux – Zabbix with active checks

linuxzabbixzabbix-agent

In Zabbix 2.0 I have configured zabbix agents to be active and disabled passive checks.

I've also configured the host to automatically add these hosts to the "Discovered Hosts" host group.

However, the agent then still tries to connect to the agents despite active checks being disabled in the agents. This results in "zabbix agent on [host] unreachable for 5 minutes" warnings.

I don't see an option in the host configuration to turn off those passive checks. How is this done so as to remove these warnings?

Best Answer

I found the answer eventually.

It seems creating a full clone of the template Template App Zabbix Agent to a new Template Template App Zabbix Agent Active.

Then in the 3 items linked to this new cloned template

  • Agent ping
  • Host name of zabbix_agentd running
  • Version of zabbix_agent(d) running"

Change the type field for each item from Zabbix agent to Zabbix agent (active) and save each one.

I then created another cloned template Template OS Linux Active and changed the linked template to the new one Template App Zabbix Agent Active.

Now when this new template Template OS Linux Active is linked to my hosts they correctly gather data without complaint about not being able to connect to the zabbix agent.