From 6eb803c43dae4b5e774c0331685db3becc97358b Mon Sep 17 00:00:00 2001 From: slerena Date: Thu, 20 Mar 2014 17:54:51 +0000 Subject: [PATCH] 2014-03-20 Sancho Lerena * conf/pandora_server.conf.new, conf/pandora_server.conf.windows: Restart on mysql connection failure enabled by default. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 6 ++++++ pandora_server/conf/pandora_server.conf.new | 4 ++-- pandora_server/conf/pandora_server.conf.windows | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index bdfe9b7aba..4201023e03 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,9 @@ +2014-03-20 Sancho Lerena + + * conf/pandora_server.conf.new, + conf/pandora_server.conf.windows: Restart on mysql connection + failure enabled by default. + 2014-03-20 Sergio Martin * lib/PandoraFMS/WMIServer.pm: Move WMI query safe_output diff --git a/pandora_server/conf/pandora_server.conf.new b/pandora_server/conf/pandora_server.conf.new index 3b23e205b9..f36bb337ad 100755 --- a/pandora_server/conf/pandora_server.conf.new +++ b/pandora_server/conf/pandora_server.conf.new @@ -274,8 +274,8 @@ max_queue_files 500 # Pandora FMS will restart after restart_delay seconds on critical errors. -# restart 0 -# restart_delay 60 +restart 1 +restart_delay 60 # More information about GIS Setup in /usr/share/pandora_server/util/gis.README # Flag to activate GIS (positional information for agents and maps) diff --git a/pandora_server/conf/pandora_server.conf.windows b/pandora_server/conf/pandora_server.conf.windows index aa115ad31e..3a27374106 100644 --- a/pandora_server/conf/pandora_server.conf.windows +++ b/pandora_server/conf/pandora_server.conf.windows @@ -241,8 +241,8 @@ max_queue_files 250 # Pandora FMS will restart after restart_delay seconds on critical errors. -# restart 0 -# restart_delay 60 +restart 1 +restart_delay 60 # More information about GIS Setup in /usr/share/pandora_server/util/gis.README # Flag to activate GIS (positional information for agents and maps)