summaryrefslogtreecommitdiffstats
path: root/src/zabbix_agent/zbxconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zabbix_agent/zbxconf.c')
-rw-r--r--src/zabbix_agent/zbxconf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zabbix_agent/zbxconf.c b/src/zabbix_agent/zbxconf.c
index 5dab12d5..9d64e9cc 100644
--- a/src/zabbix_agent/zbxconf.c
+++ b/src/zabbix_agent/zbxconf.c
@@ -80,7 +80,6 @@ void load_config()
{"StartAgents", &CONFIG_ZABBIX_FORKS, 0,TYPE_INT, PARM_OPT, 1,16},
{"RefreshActiveChecks", &CONFIG_REFRESH_ACTIVE_CHECKS, 0,TYPE_INT, PARM_OPT,60,3600},
- {"EnableRemoteCommands",&CONFIG_ENABLE_REMOTE_COMMANDS, 0,TYPE_INT, PARM_OPT,0,1},
{"AllowRoot", &CONFIG_ALLOW_ROOT, 0,TYPE_INT, PARM_OPT,0,1},
{"LogUnresolvedSymbols",&CONFIG_LOG_UNRES_SYMB, 0, TYPE_STRING,PARM_OPT,0,1},
@@ -142,6 +141,8 @@ void load_user_parameters(void)
{
/* PARAMETER, VAR, FUNC, TYPE(0i,1s), MANDATORY,MIN,MAX
*/
+ {"EnableRemoteCommands",&CONFIG_ENABLE_REMOTE_COMMANDS, 0,TYPE_INT, PARM_OPT,0,1},
+
{"Alias", 0, &add_alias_from_config, TYPE_STRING,PARM_OPT,0,0},
{"UserParameter", 0, &add_parameter, 0, 0, 0, 0},