net-mgmt/zabbix-agent: add variants support / release 1.10 (#2656)

This commit is contained in:
Frank Wall
2021-11-23 14:11:35 +01:00
committed by GitHub
parent e59d217711
commit 40017f5e61
3 changed files with 17 additions and 3 deletions
+7 -2
View File
@@ -1,7 +1,12 @@
PLUGIN_NAME= zabbix-agent
PLUGIN_VERSION= 1.9
PLUGIN_VERSION= 1.10
PLUGIN_COMMENT= Zabbix monitoring agent
PLUGIN_DEPENDS= zabbix5-agent
PLUGIN_MAINTAINER= opnsense@moov.de
PLUGIN_VARIANTS= zabbix5 zabbix54
zabbix5_NAME= zabbix-agent
zabbix5_DEPENDS= zabbix5-agent
zabbix54_NAME= zabbix54-agent
zabbix54_DEPENDS= zabbix54-agent
.include "../../Mk/plugins.mk"
+5
View File
@@ -12,6 +12,11 @@ WWW: https://www.zabbix.com/
Plugin Changelog
----------------
1.10
Changed:
* Replace EnableRemoteCommands with AllowKey/DenyKey (#1978)
1.9
Added:
@@ -22,7 +22,11 @@ DebugLevel={{OPNsense.ZabbixAgent.settings.main.debugLevel|replace("val_", "")}}
SourceIP={{OPNsense.ZabbixAgent.settings.main.sourceIP}}
{% endif %}
EnableRemoteCommands={{OPNsense.ZabbixAgent.settings.features.enableRemoteCommands}}
{% if OPNsense.ZabbixAgent.settings.features.enableRemoteCommands|default("") == '1' %}
AllowKey=system.run[*]
{% else %}
DenyKey=system.run[*]
{% endif %}
LogRemoteCommands={{OPNsense.ZabbixAgent.settings.features.logRemoteCommands}}
Server={{OPNsense.ZabbixAgent.settings.main.serverList}}