aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorDanilo G. Baio (dbaio) <dbaio@bsd.com.br>2014-03-06 23:12:30 -0300
committerDanilo G. Baio (dbaio) <dbaio@bsd.com.br>2014-03-06 23:12:30 -0300
commit1b54529ce154582ceadbea88d2a160d7b6e92149 (patch)
tree3b194e944102f6859307885c7cc1e0abda8fbbc7 /config
parent51b49f5f1a214a565194ea2db3bb0231689309c7 (diff)
downloadpfsense-packages-1b54529ce154582ceadbea88d2a160d7b6e92149.tar.gz
pfsense-packages-1b54529ce154582ceadbea88d2a160d7b6e92149.tar.bz2
pfsense-packages-1b54529ce154582ceadbea88d2a160d7b6e92149.zip
zabbix2 - fix typos
Diffstat (limited to 'config')
-rw-r--r--config/zabbix2/zabbix2-proxy.xml3
-rw-r--r--config/zabbix2/zabbix2.inc2
2 files changed, 2 insertions, 3 deletions
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 @@
<size>10</size>
<required>true</required>
</field>
- <field>
+ <field>
<fielddescr>Advanced Parameters</fielddescr>
<fieldname>advancedparams</fieldname>
<encoding>base64</encoding>
@@ -138,7 +138,6 @@
<cols>50</cols>
<description>Advanced parameters. There are some rarely used parameters that sometimes need to be defined. Value has form, example: StartDiscoverers=10</description>
</field>
-
</fields>
<custom_php_install_command>sync_package_zabbix2();</custom_php_install_command>
<custom_php_command_before_form></custom_php_command_before_form>
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']}