Fix non dataserver lag calculation
This commit is contained in:
parent
afb537422e
commit
369dffd1b4
|
@ -5647,7 +5647,7 @@ sub pandora_server_statistics ($$) {
|
||||||
) tam
|
) tam
|
||||||
ON tae.id_agente_modulo = tam.id_agente_modulo
|
ON tae.id_agente_modulo = tam.id_agente_modulo
|
||||||
WHERE (UNIX_TIMESTAMP() - tae.last_execution_try) < ( tae.current_interval * 10)
|
WHERE (UNIX_TIMESTAMP() - tae.last_execution_try) < ( tae.current_interval * 10)
|
||||||
AND (tam.flag = 1 OR (UNIX_TIMESTAMP() - tae.last_execution_try) > tae.current_interval);", $server->{"id_server"});
|
AND (tam.flag = 1 OR (UNIX_TIMESTAMP() - tae.last_execution_try) > tae.current_interval)", $server->{"id_server"});
|
||||||
}
|
}
|
||||||
# Dataserver LAG calculation:
|
# Dataserver LAG calculation:
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue