summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ef999f8)
raw | patch | inline | side by side (parent: ef999f8)
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Tue, 4 Dec 2007 11:14:36 +0000 (11:14 +0000) | ||
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Tue, 4 Dec 2007 11:14:36 +0000 (11:14 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1838 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_ntp.c | patch | blob | history |
diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c
index 38562ac90f88dc85553adb68678dddb753306468..164d519051f1d3b498c214f8a8269c974dd93e28 100644 (file)
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
alarm (socket_timeout);
offset = offset_request(server_address, &offset_result);
- /* check_ntp used to always return if offset_result == STATE_UNKNOWN.
+ /* check_ntp used to always return CRITICAL if offset_result == STATE_UNKNOWN.
* Now we'll only do that is the offset thresholds were set */
if (do_offset && offset_result == STATE_UNKNOWN) {
result = STATE_CRITICAL;