From 551d9a6f6d0c34b5c2b5db97a939a21e97c72c2e Mon Sep 17 00:00:00 2001 From: Marius Burkard <m.burkard@pixcept.de> Date: Wed, 27 Apr 2016 04:00:30 -0400 Subject: [PATCH] - disable SSL/LE if letsencrypt could not issue certificate (verification problems etc.) --- server/lib/classes/monitor_tools.inc.php | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/server/lib/classes/monitor_tools.inc.php b/server/lib/classes/monitor_tools.inc.php index 9493937..8d71d9b 100644 --- a/server/lib/classes/monitor_tools.inc.php +++ b/server/lib/classes/monitor_tools.inc.php @@ -370,14 +370,16 @@ $state = 'error'; // because service is down } } +/* $data['mongodbserver'] = -1; if ($this->_checkTcp('localhost', 27017)) { $data['mongodbserver'] = 1; } else { $data['mongodbserver'] = 0; +*/ //$state = 'error'; // because service is down /* TODO!!! check if this is a mongodbserver at all, otherwise it will always throw an error state!!! */ - } +// } /* * Return the Result -- Gitblit v1.9.1