summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3a69b00)
raw | patch | inline | side by side (parent: 3a69b00)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Fri, 16 May 2003 17:33:37 +0000 (17:33 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Fri, 16 May 2003 17:33:37 +0000 (17:33 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@515 f882894a-f735-0410-b71e-b25c423dba1c
plugins-scripts/check_ntp.pl | patch | blob | history |
index 17730a59f8f4cfac9b29ae302a0dbb080a10c712..10079b693b4afa2b3cbfe21b8b55bc28df60e161 100755 (executable)
print_usage();
exit $ERRORS{"UNKNOWN"};
}
-if ($opt_k < $opt_j) {
- print "Critical jitter should be larger than warning jitter\n";
- print_usage();
- exit $ERRORS{'UNKNOWN'};
+
+if ($def_jitter) {
+ if ($opt_k < $opt_j) {
+ print "Critical jitter should be larger than warning jitter\n";
+ print_usage();
+ exit $ERRORS{'UNKNOWN'};
+ }
}