feat(zabbix): an agent that only connects out listens on no port (NetOrk/netork#2683)
driver / standard (pull_request) Successful in 17s
driver / lint (pull_request) Successful in 15s
driver / types (pull_request) Successful in 1m7s
driver / test (3.12) (pull_request) Successful in 1m21s
driver / test (3.13) (pull_request) Successful in 1m13s
driver / lowest (pull_request) Successful in 37s
driver / build (pull_request) Successful in 28s
driver / security (pull_request) Successful in 55s
CI / driver (pull_request) Successful in 55s
driver / publish (pull_request) Skipped

ZabbixAgentSettingsDict.active_only: zabbix_agent_config writes
StartAgents=0 and comments Server out (mandatory only while StartAgents
is not 0); ServerActive is required instead. configure_zabbix_agent's
firewall step opens nothing for it. An agent that is not active only gets
a StartAgents=0 line commented out.
This commit is contained in:
christianmanivong committed 2026-11-25 21:24:39 +01:00
1 parent e729b935a4
commit b1ea364674
5 files changed
+143 -14

No files matched your search

+2 -1
View File
@@ -126,7 +126,8 @@ firewall, start), `LldpAgentMixin.configure_lldp_agent(interfaces)` (install, wr
interfaces, enable and restart; the driver writes only the interfaces),
`ZabbixAgentMixin.configure_zabbix_agent(settings)` (install from the host's packages or
else Zabbix's repository, configure, firewall, enable and restart; the driver writes the
configuration and opens the firewall), `EnsurePackageMixin.ensure_package(name)`,
configuration and opens the firewall; an `active_only` agent gets `StartAgents=0` and no
firewall opening), `EnsurePackageMixin.ensure_package(name)`,
`PackageProxyMixin.configure_package_proxy(url)`,
`TimeSyncMixin.configure_time_sync(ntp_servers, timezone)` and
`ContainerEngineMixin.grant_container_engine_access(user)`. A driver whose device takes the