feat(zabbix): a native Zabbix agent on both drivers through ZabbixAgentMixin (NetOrk/netork#2571)
driver / standard (pull_request) Successful in 17s
driver / lint (pull_request) Successful in 13s
driver / types (pull_request) Successful in 46s
driver / test (3.12) (pull_request) Successful in 57s
driver / lowest (pull_request) Successful in 26s
driver / test (3.13) (pull_request) Successful in 54s
driver / build (pull_request) Successful in 24s
driver / security (pull_request) Successful in 48s
CI / driver (pull_request) Successful in 2m13s
driver / publish (pull_request) Skipped
driver / standard (pull_request) Successful in 17s
driver / lint (pull_request) Successful in 13s
driver / types (pull_request) Successful in 46s
driver / test (3.12) (pull_request) Successful in 57s
driver / lowest (pull_request) Successful in 26s
driver / test (3.13) (pull_request) Successful in 54s
driver / build (pull_request) Successful in 24s
driver / security (pull_request) Successful in 48s
CI / driver (pull_request) Successful in 2m13s
driver / publish (pull_request) Skipped
A node runs no container engine. configure_zabbix_agent(settings) installs Debian's zabbix-agent, and where Debian has none, Zabbix's from its repository for the server's release line. It writes the caller's values into /etc/zabbix/zabbix_agentd.conf (the old file stays as .bak) and opens tcp/ListenPort in ufw where the node has it; pve-firewall's rules are the operator's, as for the SNMP agent. The SNMP agent's ufw step is the shared _allow_sources(allowed, port, proto) in ProxmoxHostMixin now; the rule it writes for udp/161 is the same. Needs napalm-device-types 4.40.0.
This commit is contained in:
1 parent
5a5ed8eac7
commit
92108f0ff3
8 files changed
+241
-9
No files matched your search
+10
-1
@@ -8,6 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- A native Zabbix agent on both drivers (napalm-device-types `ZabbixAgentMixin`,
|
||||
NetOrk/netork#2571): a node runs no container engine. `configure_zabbix_agent(settings)`
|
||||
installs Debian's `zabbix-agent`, and where Debian has none and the caller names the
|
||||
server's release line, Zabbix's from its repository; writes the caller's values into
|
||||
`/etc/zabbix/zabbix_agentd.conf` (the old file stays as `.bak`); opens tcp/`listen_port`
|
||||
in ufw where the node has it (pve-firewall's rules are the operator's); enables and
|
||||
restarts the service.
|
||||
- Time sync on both drivers (NetOrk/netork#2365), through napalm-device-types'
|
||||
`TimeSyncMixin` (4.36.0); both write the servers and the zone. Neither API keeps time
|
||||
servers -- both products run chrony on Debian -- so `get_time_sync()` reads chrony's
|
||||
@@ -46,7 +53,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
in its own daemons; `get_clusters()` and `get_backup_jobs()` keep them.
|
||||
|
||||
### Changed
|
||||
- Requires napalm-device-types 4.36.0.
|
||||
- Needs napalm-device-types 4.40.0 or later (`ZabbixAgentMixin`).
|
||||
- The SNMP agent's ufw step is the shared `_allow_sources(allowed, port, proto)`; the rule
|
||||
it writes for udp/161 is the same.
|
||||
|
||||
### Fixed
|
||||
- `set_hostname()` hands the name to the shell quoted (`shlex.quote`): to `hostname`, to
|
||||
|
||||
Reference in new issue
Block a user