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

+11
View File
@@ -17,6 +17,17 @@ recorded here; their history is the git log.
`noble-security`), once each new suite's `InRelease` or `Release` is fetched with apt's
downloader; nothing is written where the vendor has none.
- `parse_apt_releases`, `rewrite_release`, `suite_release`, `APT_RELEASES_COMMAND`.
- `ZabbixAgentSettingsDict.active_only`: an agent that only connects out
(NetOrk/netork#2683). `zabbix_agent_config` writes `StartAgents=0` -- no passive
checks, no listening port -- and comments `Server` out, which Zabbix requires only
while `StartAgents` is not 0; `check_zabbix_agent_settings` then requires
`server_active` instead of `server`. `configure_zabbix_agent`'s firewall step opens
nothing for it and does not call the driver's `_allow_zabbix_agent_sources`, so no
driver changes.
### Changed
- `zabbix_agent_config` comments a `StartAgents=0` line out for an agent that is not
active only, since it would keep the agent from listening; another count stays.
## [4.41.0] - 2026-11-17