Eli Mesika has submitted this change and it was merged.
Change subject: core: Report event on time drift ...(#848862)
......................................................................
core: Report event on time drift ...(#848862)
Report event on time drift between engine and vdsm(#848862)
This patch series adds time drift check per host.
New configuration values were added
EnableHostTimeDrift - indicates if time-drift check is ON (default
false)
HostTimeDriftInSec - Max allowed time drift in seconds (default 300)
Each time that getVdsStsats is executed by the engine, it gets the host
date in GMT and compare it with local engine date, if the difference in
seconds exceeded HostTimeDriftInSec and EnableHostTimeDrift is ON, an
ALERT is written to the log.
The new configuration values are available for editing in engine-config
and the new event named VDS_TIME_DRIFT_ALERT can be managed to get
notifications on that event.
To prevent event-flood, this event is issued once an hour per Host.
Change-Id: I9544418dc49f8e9e75f6c8c7f091c96726b1f30d
Signed-off-by: Eli Mesika <emesika(a)redhat.com>
---
M backend/manager/dbscripts/upgrade/pre_upgrade/0000_config.sql
M
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
2 files changed, 14 insertions(+), 0 deletions(-)
Approvals:
Eli Mesika: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/7826
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9544418dc49f8e9e75f6c8c7f091c96726b1f30d
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika(a)redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>
Gerrit-Reviewer: Yaniv Kaul <ykaul(a)redhat.com>