diff options
author | Danilo G. Baio (dbaio) <dbaio@bsd.com.br> | 2013-12-27 19:58:03 -0200 |
---|---|---|
committer | Danilo G. Baio (dbaio) <dbaio@bsd.com.br> | 2013-12-27 19:58:03 -0200 |
commit | f93a0b871d5795513b7c9625cb94269f369d287e (patch) | |
tree | e24829fcd3a9729e8de626b3037ad7f6c6056119 /config/zabbix2/zabbix2.inc | |
parent | 93f0a31c1b9db3c4e8d6a10cc91e04980075baf6 (diff) | |
download | pfsense-packages-f93a0b871d5795513b7c9625cb94269f369d287e.tar.gz pfsense-packages-f93a0b871d5795513b7c9625cb94269f369d287e.tar.bz2 pfsense-packages-f93a0b871d5795513b7c9625cb94269f369d287e.zip |
zabbix2 - fix pbi path
Diffstat (limited to 'config/zabbix2/zabbix2.inc')
-rw-r--r-- | config/zabbix2/zabbix2.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/zabbix2/zabbix2.inc b/config/zabbix2/zabbix2.inc index 3a4b5840..92aad309 100644 --- a/config/zabbix2/zabbix2.inc +++ b/config/zabbix2/zabbix2.inc @@ -48,7 +48,7 @@ function php_deinstall_zabbix2_agent(){ conf_mount_rw(); $pfs_version = substr(trim(file_get_contents("/etc/version")),0,3); if ($pfs_version > 2.0){ - define('ZABBIX_AGENT_BASE', '/usr/pbi/zabbix2-agent-' . php_uname("m")); + define('ZABBIX_AGENT_BASE', '/usr/pbi/zabbix22-agent-' . php_uname("m")); } else { define('ZABBIX_AGENT_BASE', '/usr/local'); } @@ -75,7 +75,7 @@ function php_deinstall_zabbix2_proxy(){ conf_mount_rw(); $pfs_version = substr(trim(file_get_contents("/etc/version")),0,3); if ($pfs_version > 2.0){ - define('ZABBIX_PROXY_BASE', '/usr/pbi/zabbix2-proxy-' . php_uname("m")); + define('ZABBIX_PROXY_BASE', '/usr/pbi/zabbix22-proxy-' . php_uname("m")); } else { define('ZABBIX_PROXY_BASE', '/usr/local'); } @@ -180,8 +180,8 @@ function sync_package_zabbix2(){ #check pfsense version $pfs_version = substr(trim(file_get_contents("/etc/version")),0,3); if ($pfs_version > 2.0){ - define('ZABBIX_AGENT_BASE', '/usr/pbi/zabbix2-agent-' . php_uname("m")); - define('ZABBIX_PROXY_BASE', '/usr/pbi/zabbix2-proxy-' . php_uname("m")); + define('ZABBIX_AGENT_BASE', '/usr/pbi/zabbix22-agent-' . php_uname("m")); + define('ZABBIX_PROXY_BASE', '/usr/pbi/zabbix22-proxy-' . php_uname("m")); } else { define('ZABBIX_AGENT_BASE', '/usr/local'); |