From da7724ae3c1a7597d20a2d77961e11f86e098303 Mon Sep 17 00:00:00 2001 From: "Danilo G. Baio (dbaio)" Date: Fri, 25 Jan 2013 08:44:32 -0200 Subject: Remove obsolete config options --- config/zabbix2-agent/zabbix2-agent.xml | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) (limited to 'config/zabbix2-agent/zabbix2-agent.xml') diff --git a/config/zabbix2-agent/zabbix2-agent.xml b/config/zabbix2-agent/zabbix2-agent.xml index 6d95e81b..4394b5ef 100644 --- a/config/zabbix2-agent/zabbix2-agent.xml +++ b/config/zabbix2-agent/zabbix2-agent.xml @@ -3,7 +3,7 @@ zabbixagent Services: Zabbix-2 Agent Monitoring - 0.3 + 0.4 Zabbix Agent has been created/modified. Zabbix Agent has been deleted. /usr/local/etc/rc.d/zabbix2_agentd.sh restart @@ -40,10 +40,9 @@ Server Active serveractive List of comma delimited IP:port (or hostname:port) pairs of Zabbix servers for active checks - 127.0.0.1 + input 60 - true Hostname @@ -90,18 +89,6 @@ true Timeout (default 3). Do not spend more that Timeout seconds on getting requested value (1-255). The agent does not kill timeouted User Parameters processes! - - Disable active checks - disableactive - checkbox - The agent will work only in passive mode listening for server. (generally net set) - - - Disable passive checks - disablepassive - checkbox - The agent will not listen on any TCP port. Only active checks will be processed. (generally not set) - User Parameters userparams @@ -216,8 +203,6 @@ $ListenPort=$config['installedpackages']['zabbixagent']['config'][0]['listenport']; $RefreshActChecks=$config['installedpackages']['zabbixagent']['config'][0]['refreshactchecks']; $Timeout=$config['installedpackages']['zabbixagent']['config'][0]['timeout']; - $DisableActive=$config['installedpackages']['zabbixagent']['config'][0]['disableactive']; - $DisablePassive=$config['installedpackages']['zabbixagent']['config'][0]['disablepassive']; $UserParams=base64_decode($config['installedpackages']['zabbixagent']['config'][0]['userparams']); $conf = "Server=$Server\n"; @@ -232,12 +217,6 @@ $conf .= "LogFile=/var/log/zabbix2/zabbix2_agentd.log\n"; $conf .= "LogFileSize=1\n"; $conf .= "Timeout=$Timeout\n"; - if (isset($DisableActive) && ($DisableActive == "on")) { - $conf .= "DisableActive=1\n"; - } - if (isset($DisablePassive) && ($DisablePassive == "on")) { - $conf .= "DisablePassive=1\n"; - } $conf .= "$UserParams\n"; file_put_contents(ZABBIX_AGENT_BASE . "/etc/zabbix2/zabbix_agentd.conf", $conf); -- cgit v1.2.3