Commit Graph
2 Commits
Author SHA1 Message Date
Christian Manivong 36d4802624 feat(zabbix): an active-only agent closes the port netOrk opened for it (NetOrk/netork#2693)
_revoke_zabbix_agent_sources deletes the named rule section netOrk wrote for
the agent (allow_zabbix_agent, allow_zabbix_agent_from_<zone>) and reloads
the firewall where one runs. Rules with other keys stay and are reported.
2026-11-26 08:23:32 +01:00
Christian Manivong 053137aff7 feat(zabbix): the feed's Zabbix agent through ZabbixAgentMixin (NetOrk/netork#2571)
driver / lint (pull_request) Successful in 15s
driver / standard (pull_request) Successful in 18s
driver / types (pull_request) Successful in 1m7s
driver / test (3.13) (pull_request) Successful in 1m1s
driver / test (3.12) (pull_request) Successful in 1m10s
driver / lowest (pull_request) Successful in 39s
driver / build (pull_request) Successful in 38s
driver / security (pull_request) Successful in 1m11s
CI / driver (pull_request) Successful in 2m30s
driver / publish (pull_request) Skipped
An access point runs no container engine. configure_zabbix_agent(settings)
installs zabbix-agentd from the feed after loading the package index, writes the
caller's values into /etc/zabbix_agentd.conf (the old file stays as .bak),
enables the agent in UCI, without which its init script does not start it, and
opens tcp/ListenPort for the allowed sources in the zone that owns the
management address where a firewall runs. Zabbix publishes no repository for
OpenWrt; the feed is the only source.

The SNMP agent's firewall step writes its rule through _allow_in_management_zone
now, split into the zone, the rule and the reload; the rule is the same.
Needs napalm-device-types 4.40.0.
2026-11-17 04:50:55 +01:00