]> git.ipfire.org Git - ipfire-2.x.git/commit
zabbix_agentd: Disable passive checks by default on new installations.
authorRobin Roevens <robin.roevens@disroot.org>
Thu, 27 Mar 2025 22:45:52 +0000 (23:45 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 28 Mar 2025 11:47:24 +0000 (11:47 +0000)
commit6c75a5eee22ddd0e3fbff58677f7a6a3c19d2c64
tree1014b926ed2b98af4790abbf87a1a4e45347e32c
parent91ed071a0b98087afe37b8e93149afa298518d50
zabbix_agentd: Disable passive checks by default on new installations.

Zabbix Agent by default normally forks 10 instances to listen for incoming (passive) checks.
I, however, recommend only using active checks on an IPFire instance, so that the agent on the instance will only actively contact the Zabbix server to request a list of checks to perform instead of waiting for the server to contact the agent for every check.
This frees up some resources valuable to smaller systems and makes the agent not to listen on any TCP port, which is a possible attack surface less.

Users with an existing installation will have to manually add the parameter to their config. This will be documented in the wiki.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/zabbix_agentd/zabbix_agentd.conf