[Nagiosplug-devel] [ nagiosplug-Bugs-1753506 ] check_ntp : typo
SourceForge.net
noreply at sourceforge.net
Fri Jul 13 16:18:08 CEST 2007
Bugs item #1753506, was opened at 2007-07-13 16:17
Message generated for change (Settings changed) made by abompard
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1753506&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Argument proccessing
Group: CVS
Status: Open
Resolution: None
>Priority: 1
Private: No
Submitted By: Aurelien Bompard (abompard)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ntp : typo
Initial Comment:
There's a typo in the argument checks in check_ntp. In the current CVS :
http://nagiosplug.cvs.sourceforge.net/nagiosplug/nagiosplug/plugins/check_ntp.c?view=markup
line 723. There is a second check for ocrit < owarn, instead of checking for jcrit < jwarn. Here's the current code:
if (ocrit < owarn){
usage4(_("Critical offset should be larger than warning offset"));
}
if (ocrit < owarn){
usage4(_("Critical jitter should be larger than warning jitter"));
}
The second check should be jcrit < jwarn
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1753506&group_id=29880
More information about the Devel
mailing list