From 70b3bf0148a8055c7023d2c097f734f4aaf9ae4c Mon Sep 17 00:00:00 2001
From: Ramon Novoa <rnovoa@artica.es>
Date: Thu, 20 Oct 2011 09:38:27 +0000
Subject: [PATCH] 2011-10-20  Ramon Novoa  <rnovoa@artica.es>

	* lib/PandoraFMS/Config.pm: Disable enterprise ICMP and SNMP servers
	  by default.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
---
 pandora_server/ChangeLog                | 5 +++++
 pandora_server/lib/PandoraFMS/Config.pm | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog
index 8c420ad9dd..a6482aa0ae 100644
--- a/pandora_server/ChangeLog
+++ b/pandora_server/ChangeLog
@@ -1,3 +1,8 @@
+2011-10-20  Ramon Novoa  <rnovoa@artica.es>
+
+	* lib/PandoraFMS/Config.pm: Disable enterprise ICMP and SNMP servers
+	  by default.
+
 2011-10-20  Sergio Martin <sergio.martin@artica.es>
 
 	* lib/PandoraFMS/Tools.pm: Fixed mistake in the last commit
diff --git a/pandora_server/lib/PandoraFMS/Config.pm b/pandora_server/lib/PandoraFMS/Config.pm
index 3ef959cf17..21380f637e 100644
--- a/pandora_server/lib/PandoraFMS/Config.pm
+++ b/pandora_server/lib/PandoraFMS/Config.pm
@@ -236,9 +236,9 @@ sub pandora_load_config {
 	$pa_config->{'openstreetmaps_description'} = 0;
 	$pa_config->{"eventserver"} = 1; # 4.0
 	$pa_config->{"event_window"} = 3600; # 4.0
-	$pa_config->{"icmpserver"} = 1; # 4.0
+	$pa_config->{"icmpserver"} = 0; # 4.0
 	$pa_config->{"icmp_threads"} = 3; # 4.0
-	$pa_config->{"snmpserver"} = 1; # 4.0
+	$pa_config->{"snmpserver"} = 0; # 4.0
 	$pa_config->{"snmp_threads"} = 3; # 4.0
 	$pa_config->{"block_size"} = 15; # 4.0