[Nagiosplug-checkins] CVS: nagiosplug/plugins-scripts check_ntp.pl,1.17,1.18

Subhendu Ghosh sghosh at users.sourceforge.net
Fri May 16 10:33:06 CEST 2003


Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv7569

Modified Files:
	check_ntp.pl 
Log Message:
bug fix

Index: check_ntp.pl
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_ntp.pl,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** check_ntp.pl	25 Apr 2003 09:07:18 -0000	1.17
--- check_ntp.pl	16 May 2003 17:32:24 -0000	1.18
***************
*** 139,146 ****
  	exit $ERRORS{"UNKNOWN"};
  }
! if ($opt_k < $opt_j) {
! 	print "Critical jitter should be larger than warning jitter\n";
! 	print_usage();
! 	exit $ERRORS{'UNKNOWN'};
  }
  
--- 139,149 ----
  	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'};
! 	}
  }
  





More information about the Commits mailing list