[Nagiosplug-checkins] CVS: nagiosplug/plugins-scripts check_ntp.pl,1.14.2.2,1.14.2.3

Subhendu Ghosh sghosh at users.sourceforge.net
Fri May 16 10:34:07 CEST 2003


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

Modified Files:
      Tag: r1_3_0
	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.14.2.2
retrieving revision 1.14.2.3
diff -C2 -r1.14.2.2 -r1.14.2.3
*** check_ntp.pl	25 Apr 2003 09:05:59 -0000	1.14.2.2
--- check_ntp.pl	16 May 2003 17:33:37 -0000	1.14.2.3
***************
*** 133,140 ****
  	exit $ERRORS{"UNKNOWN"};
  }
! if ($opt_k < $opt_j) {
! 	print "Critical jitter should be larger than warning jitter\n";
! 	print_usage();
! 	exit $ERRORS{'UNKNOWN'};
  }
  
--- 133,142 ----
  	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