Module: check_mk
Branch: master
Commit: 97bd73f352781ea8cf039bcdddb12b8fe9e7a361
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=97bd73f352781e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri May 25 11:27:24 2012 +0200
ntp checks: Changed default value of time offsets to be 200ms (WARN) / 500ms (CRIT)
---
ChangeLog | 1 +
checkman/ntp | 5 +++--
checkman/ntp.time | 2 +-
checks/ntp | 2 +-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index f777f82..5a47b37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -59,6 +59,7 @@
* Linux: Modified cluster section to allow pacemaker/corosync clusters without
heartbeat
* AIX: convert NIC check to lnx_if (now being compatible with if/if64)
* AIX: new check for CPU utilization (using section lparstat_aix)
+ * ntp checks: Changed default value of time offsets to be 200ms (WARN) / 500ms
(CRIT)
1.2.0b4:
Core:
diff --git a/checkman/ntp b/checkman/ntp
index 040d41b..1f4a44e 100644
--- a/checkman/ntp
+++ b/checkman/ntp
@@ -37,8 +37,9 @@ critical (float): the critical offset in ms
[configuration]
ntp_default_levels (int, float, float): The global default levels for all checks
- of this type. This is preset to {(10, 20.0, 50.0)} (which means that the check
- gets critical if the stratum is {10} or higher).
+ of this type. This is preset to {(10, 200.0, 500.0)} (which means that the check
+ gets critical if the stratum is {10} or higher, warning if time offset is more than
+ 200ms or critical if the time offset is more than 500ms).
ntp_inventory_mode (string): This variable controls which kind of NTP checks
are created. A check of this type ({ntp}) is only created, if this variable is
set to {"detailed"} or {"both"}. Default is {"summary"}.
diff --git a/checkman/ntp.time b/checkman/ntp.time
index b0adf7b..c0e070a 100644
--- a/checkman/ntp.time
+++ b/checkman/ntp.time
@@ -41,7 +41,7 @@ critical (float): the critical offset in ms
[configuration]
ntp_default_levels (int, float, float): The global default levels for all checks
- of this type. This is preset to {(10, 20.0, 50.0)} (which means that the check
+ of this type. This is preset to {(10, 200.0, 500.0)} (which means that the check
gets critical if the stratum is {10} or higher).
ntp_inventory_mode (string): This variable controls which kind of NTP checks
are created. A check of this type ({ntp.time}) is only created, if this variable is
diff --git a/checks/ntp b/checks/ntp
index 8474197..efb24d0 100644
--- a/checks/ntp
+++ b/checks/ntp
@@ -24,7 +24,7 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-ntp_default_levels = (10, 20.0, 50.0) # stratum, ms offset
+ntp_default_levels = (10, 200.0, 500.0) # stratum, ms offset
# Example output from agent:
# <<<ntp>>>