Avoid mark as crashed satellite_server
This commit is contained in:
parent
b70a056dc5
commit
423a46af8c
|
@ -803,7 +803,8 @@ sub main() {
|
|||
db_do ($DBH,
|
||||
"UPDATE tserver SET status = -1
|
||||
WHERE UNIX_TIMESTAMP(now())-UNIX_TIMESTAMP(keepalive) > 2*server_keepalive
|
||||
AND status != 0"
|
||||
AND status != 0 AND server_type != ?",
|
||||
PandoraFMS::Tools::SATELLITESERVER
|
||||
);
|
||||
|
||||
# Set the master server
|
||||
|
|
Loading…
Reference in New Issue