diff options
author | Andrejs Tumilovics <andrejs.tumilovics@zabbix.com> | 2019-11-26 17:53:01 +0300 |
---|---|---|
committer | Andrejs Tumilovics <andrejs.tumilovics@zabbix.com> | 2019-11-26 17:57:41 +0300 |
commit | 3f00ec38102aa903e2b5baf9ae1d94fd4e56d1e7 (patch) | |
tree | 7f2b8b452d95c54ffcce5faa0b27c0aadcacaaf1 /conf | |
parent | f7e5e5776d0afe45d72ea5483ac23778b958597f (diff) |
...G...PS. [ZBXNEXT-1085] added available agent check restriction parameters
Diffstat (limited to 'conf')
-rw-r--r-- | conf/zabbix_agentd.conf | 5 | ||||
-rw-r--r-- | conf/zabbix_agentd.win.conf | 5 |
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 |