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
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.
This commit is contained in:
1 parent
c4434cf54b
commit
053137aff7
7 files changed
+478
-46
No files matched your search
@@ -116,6 +116,17 @@ to the interfaces given, enables it at boot and restarts it. A VLAN device such
|
||||
`br-ap.10` is written as the device under it (`br-ap`): lldpd sends on the L2 device.
|
||||
Which interfaces is the caller's choice; at least one is required.
|
||||
|
||||
## Zabbix agent
|
||||
|
||||
`configure_zabbix_agent(settings)` (napalm-device-types `ZabbixAgentMixin`) runs the
|
||||
feed's C agent, `zabbix-agentd`: it loads the package index (it lives in RAM), installs
|
||||
the package where it is missing, writes `Server`, `ServerActive`, `ListenPort` and
|
||||
`Hostname` into `/etc/zabbix_agentd.conf` (the old file stays as `.bak`), enables the
|
||||
agent in UCI (`zabbix_agentd.general.enabled`, without which the init script does not
|
||||
start it), opens tcp/`listen_port` for the allowed sources in the zone that owns the
|
||||
management address where a firewall runs, then enables and restarts it. Zabbix publishes
|
||||
no repository for OpenWrt; the feed is the only source.
|
||||
|
||||
## Wireless writes
|
||||
|
||||
`push_mac_acl(ssid_name, mode, macs)` (napalm-device-types `MacAclMixin`) rewrites the
|
||||
|
||||
Reference in new issue
Block a user