aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo G. Baio (dbaio) <dbaio@bsd.com.br>2015-02-18 13:17:11 -0200
committerjim-p <jimp@pfsense.org>2015-02-18 10:21:29 -0500
commit8a31d31e38bb26023c7fac5d7fd35d67a16d38f8 (patch)
treee9c0a6ff8ec1ebf501776fac57db3b50a3bb5eb0
parent74e0eaaa9d36c36eaaae0c6bf9c21ddcba910533 (diff)
downloadpfsense-packages-8a31d31e38bb26023c7fac5d7fd35d67a16d38f8.tar.gz
pfsense-packages-8a31d31e38bb26023c7fac5d7fd35d67a16d38f8.tar.bz2
pfsense-packages-8a31d31e38bb26023c7fac5d7fd35d67a16d38f8.zip
zabbix - fix array config name
-rw-r--r--config/zabbix-lts/zabbix-lts.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/zabbix-lts/zabbix-lts.inc b/config/zabbix-lts/zabbix-lts.inc
index 47ea39c5..450b78a1 100644
--- a/config/zabbix-lts/zabbix-lts.inc
+++ b/config/zabbix-lts/zabbix-lts.inc
@@ -200,7 +200,7 @@ EOF;
}
/* check zabbix agent settings*/
if (is_array($config['installedpackages']['zabbixagentlts'])){
- $zbagent_config = $config['installedpackages']['zabbixagent']['config'][0];
+ $zbagent_config = $config['installedpackages']['zabbixagentlts']['config'][0];
if ($zbagent_config['agentenabled']=="on"){
$RefreshActChecks=(preg_match("/(\d+)/",$zbagent_config['refreshactchecks'],$matches)? $matches[1] : "120");
$BufferSend=(preg_match("/(\d+)/",$zbagent_config['buffersend'],$matches)? $matches[1] : "5" );