From 403b901e8ed1d8107adca5d0ac977e1ab5f53082 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Wed, 28 Jul 2021 15:06:00 +0200 Subject: [PATCH] Excluded MFSERVER from component checks --- pandora_server/util/pandora_ha.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora_server/util/pandora_ha.pl b/pandora_server/util/pandora_ha.pl index e9631d66c5..429873c876 100755 --- a/pandora_server/util/pandora_ha.pl +++ b/pandora_server/util/pandora_ha.pl @@ -171,8 +171,9 @@ sub ha_keep_pandora_running($$) { 'SELECT count(*) AS "delayed" FROM tserver WHERE ((status = -1) OR ( (unix_timestamp() - unix_timestamp(keepalive)) > (server_keepalive+1) AND status != 0 )) - AND server_type != ? AND name = ?', + AND server_type NOT IN (?, ?) AND name = ?', PandoraFMS::Tools::SATELLITESERVER, + PandoraFMS::Tools::MFSERVER, $conf->{'servername'} );