aboutsummaryrefslogtreecommitdiffstats
path: root/config/zabbix-agent
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-10-11 17:09:17 -0400
committerjim-p <jim@pingle.org>2009-10-11 17:09:17 -0400
commitcd36cc93208e45bb3a9355c5fb6a4b7dc49d75aa (patch)
tree0f8618c492a679750d5774da51b6c6d048cdb131 /config/zabbix-agent
parent38dad81a2c7e033205f8d2cdb1c4f6a52081bc23 (diff)
downloadpfsense-packages-cd36cc93208e45bb3a9355c5fb6a4b7dc49d75aa.tar.gz
pfsense-packages-cd36cc93208e45bb3a9355c5fb6a4b7dc49d75aa.tar.bz2
pfsense-packages-cd36cc93208e45bb3a9355c5fb6a4b7dc49d75aa.zip
Add rw/ro calls to Zabbix Agent. May fix its issues on nano
Diffstat (limited to 'config/zabbix-agent')
-rw-r--r--config/zabbix-agent/zabbix-agent.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/zabbix-agent/zabbix-agent.xml b/config/zabbix-agent/zabbix-agent.xml
index 54184b32..8a0e57cc 100644
--- a/config/zabbix-agent/zabbix-agent.xml
+++ b/config/zabbix-agent/zabbix-agent.xml
@@ -126,6 +126,7 @@
<custom_add_php_command></custom_add_php_command>
<custom_php_resync_config_command>
<![CDATA[
+ conf_mount_rw();
global $config;
global $g;
@@ -147,6 +148,7 @@
$conf .= "Timeout=3\n";
file_put_contents("/usr/local/etc/zabbix/zabbix_agentd.conf", $conf);
+ conf_mount_ro();
]]>
</custom_php_resync_config_command>