From 1b54529ce154582ceadbea88d2a160d7b6e92149 Mon Sep 17 00:00:00 2001 From: "Danilo G. Baio (dbaio)" Date: Thu, 6 Mar 2014 23:12:30 -0300 Subject: zabbix2 - fix typos --- config/zabbix2/zabbix2-proxy.xml | 3 +-- config/zabbix2/zabbix2.inc | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/zabbix2/zabbix2-proxy.xml b/config/zabbix2/zabbix2-proxy.xml index 982b321b..56094fb9 100644 --- a/config/zabbix2/zabbix2-proxy.xml +++ b/config/zabbix2/zabbix2-proxy.xml @@ -129,7 +129,7 @@ 10 true - + Advanced Parameters advancedparams base64 @@ -138,7 +138,6 @@ 50 Advanced parameters. There are some rarely used parameters that sometimes need to be defined. Value has form, example: StartDiscoverers=10 - sync_package_zabbix2(); diff --git a/config/zabbix2/zabbix2.inc b/config/zabbix2/zabbix2.inc index c08c5487..bf9c6606 100644 --- a/config/zabbix2/zabbix2.inc +++ b/config/zabbix2/zabbix2.inc @@ -193,7 +193,7 @@ function sync_package_zabbix2(){ $zbproxy_config = $config['installedpackages']['zabbixproxy']['config'][0]; if ($zbproxy_config['proxyenabled']=="on"){ $Mode=(is_numericint($zbproxy_config['proxymode'])?$zbproxy_config['proxymode'] : 0); - $AdvancedParams=base64_decode($zbagent_config['advancedparams']); + $AdvancedParams=base64_decode($zbproxy_config['advancedparams']); $zbproxy_conf_file = <<< EOF Server={$zbproxy_config['server']} -- cgit v1.2.3