Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorAndrejs Tumilovics <andrejs.tumilovics@zabbix.com>2019-11-26 17:53:01 +0300
committerAndrejs Tumilovics <andrejs.tumilovics@zabbix.com>2019-11-26 17:57:41 +0300
commit3f00ec38102aa903e2b5baf9ae1d94fd4e56d1e7 (patch)
tree7f2b8b452d95c54ffcce5faa0b27c0aadcacaaf1 /conf
parentf7e5e5776d0afe45d72ea5483ac23778b958597f (diff)
...G...PS. [ZBXNEXT-1085] added available agent check restriction parameters
Diffstat (limited to 'conf')
-rw-r--r--conf/zabbix_agentd.conf5
-rw-r--r--conf/zabbix_agentd.win.conf5
2 files changed, 8 insertions, 2 deletions
diff --git a/conf/zabbix_agentd.conf b/conf/zabbix_agentd.conf
index 537bcc1974c..d2231591e87 100644
--- a/conf/zabbix_agentd.conf
+++ b/conf/zabbix_agentd.conf
@@ -59,7 +59,7 @@ LogFile=/tmp/zabbix_agentd.log
# Default:
# SourceIP=
-### Option: EnableRemoteCommands
+### Option: EnableRemoteCommands - Deprecated, use AllowKey=system.run[*] or DenyKey=system.run[*] instead
# Whether remote commands from Zabbix server are allowed.
# 0 - not allowed
# 1 - allowed
@@ -68,6 +68,9 @@ LogFile=/tmp/zabbix_agentd.log
# Default:
# EnableRemoteCommands=0
+# Deny system.run requests
+DenyKey=system.run[*]
+
### Option: LogRemoteCommands
# Enable logging of executed shell commands as warnings.
# 0 - disabled
diff --git a/conf/zabbix_agentd.win.conf b/conf/zabbix_agentd.win.conf
index eb5e8e4fd5f..5d9f6eafd03 100644
--- a/conf/zabbix_agentd.win.conf
+++ b/conf/zabbix_agentd.win.conf
@@ -52,7 +52,7 @@ LogFile=c:\zabbix_agentd.log
# Default:
# SourceIP=
-### Option: EnableRemoteCommands
+### Option: EnableRemoteCommands - Deprecated, use AllowKey=system.run[*] or DenyKey=system.run[*] instead
# Whether remote commands from Zabbix server are allowed.
# 0 - not allowed
# 1 - allowed
@@ -61,6 +61,9 @@ LogFile=c:\zabbix_agentd.log
# Default:
# EnableRemoteCommands=0
+# Deny system.run requests
+DenyKey=system.run[*]
+
### Option: LogRemoteCommands
# Enable logging of executed shell commands as warnings.
# 0 - disabled