mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net-mgmt/zabbix-agent: add variants support / release 1.10 (#2656)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -12,6 +12,11 @@ WWW: https://www.zabbix.com/
|
||||
Plugin Changelog
|
||||
----------------
|
||||
|
||||
1.10
|
||||
|
||||
Changed:
|
||||
* Replace EnableRemoteCommands with AllowKey/DenyKey (#1978)
|
||||
|
||||
1.9
|
||||
|
||||
Added:
|
||||
|
||||
+5
-1
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user