Merge branch 'ent-7860-excluir-mfserver-en-chequeo-pandora_ha' into 'develop'

Excluded MFSERVER from component checks

See merge request artica/pandorafms!4332
This commit is contained in:
Daniel Rodriguez 2021-08-05 12:24:32 +00:00
commit 0f8a22feb3
1 changed files with 2 additions and 1 deletions

View File

@ -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'}
);