summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7770530)
raw | patch | inline | side by side (parent: 7770530)
author | Holger Weiss <hweiss@users.sourceforge.net> | |
Sat, 31 Mar 2007 17:35:08 +0000 (17:35 +0000) | ||
committer | Holger Weiss <hweiss@users.sourceforge.net> | |
Sat, 31 Mar 2007 17:35:08 +0000 (17:35 +0000) |
synchronization source.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1665 f882894a-f735-0410-b71e-b25c423dba1c
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1665 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 861d0ba43eda140ea7111c1c39dedac13d8cad9e..ab23249e1565c70cfce956ecc03acdfcc723549e 100644 (file)
--- a/plugins/check_ntp.c
+++ b/plugins/check_ntp.c
}
if(verbose) printf("%d candiate peers available\n", num_candidates);
if(verbose && syncsource_found) printf("synchronization source found\n");
- if(! syncsource_found) *status = STATE_WARNING;
+ if(! syncsource_found){
+ *status = STATE_WARNING;
+ if(verbose) printf("warning: no synchronization source found\n");
+ }
for (run=0; run<AVG_NUM; run++){