/usr/share/check_mk/checks-man/systemtime is in check-mk-server 1.2.8p16-1ubuntu0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | title: Synchronization of operating system time
agents: windows
catalog: os/misc
license: GPL
distribution: check_mk
description:
This check is a simple check of the correct setting of the current
system time of the target host. It simply compares the local time
on the monitoring server with that measured by the agent on the
target host. It is not very accurate since it does not account for
the systematic time delay between the output of the time by the agent
and the actual processing of that data by Check_MK.
Its advantage - however - is that it works on any Windows host (with
an agent of version of 1.1.10 or later) - regardless of the method used
to synchronize the time.
Levels can be set for making the check warn/crit if the time difference
exceeds the configured limits.
perfdata:
the time difference in seconds
inventory:
One service will be created for each host supporting this check.
Currently this is the windows agent in version 1.1.10 or later.
[parameters]
warning(int): Time difference in seconds at which the check goes to warning.
critical(int): Time difference triggering a critical state.
[configuration]
systemtime_default_values(int, int): Default check levels in seconds of time diference. This is preset to {(30, 60)}.
|