aboutsummaryrefslogtreecommitdiffstats
path: root/config/zabbix-agent
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2010-09-15 19:56:41 -0400
committerChris Buechler <cmb@pfsense.org>2010-09-15 19:56:41 -0400
commit3cd7a9e076c2e52314457e71c3615ce8a287676a (patch)
tree443e43d982ca2ba7923cf4436fb9e462ad91802a /config/zabbix-agent
parent94840e0b0df26edb178a408e2cd24809cdda7fc5 (diff)
downloadpfsense-packages-3cd7a9e076c2e52314457e71c3615ce8a287676a.tar.gz
pfsense-packages-3cd7a9e076c2e52314457e71c3615ce8a287676a.tar.bz2
pfsense-packages-3cd7a9e076c2e52314457e71c3615ce8a287676a.zip
decode field before writing out config for Zabbix agent
Diffstat (limited to 'config/zabbix-agent')
-rw-r--r--config/zabbix-agent/zabbix-agent.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/zabbix-agent/zabbix-agent.xml b/config/zabbix-agent/zabbix-agent.xml
index 21b3167e..24f014d2 100644
--- a/config/zabbix-agent/zabbix-agent.xml
+++ b/config/zabbix-agent/zabbix-agent.xml
@@ -174,7 +174,7 @@
$ListenPort=$config['installedpackages']['zabbixagent']['config'][0]['listenport'];
$RefreshActChecks=$config['installedpackages']['zabbixagent']['config'][0]['refreshactchecks'];
$Timeout=$config['installedpackages']['zabbixagent']['config'][0]['timeout'];
- $UserParams=$config['installedpackages']['zabbixagent']['config'][0]['userparams'];
+ $UserParams=base64_decode($config['installedpackages']['zabbixagent']['config'][0]['userparams']);
$conf = "Server=$Server\n";
$conf .= "ServerPort=$ServerPort\n";