[Nagiosplug-checkins] CVS: nagiosplug/plugins check_fping.c,1.12,1.13

Karl DeBisschop kdebisschop at users.sourceforge.net
Mon Mar 22 22:47:01 CET 2004


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6820

Modified Files:
	check_fping.c 
Log Message:
check was supposed to be agains ms - got munged wfixeg the perfdata output to be in seconds


Index: check_fping.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_fping.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** check_fping.c	14 Mar 2004 03:37:32 -0000	1.12
--- check_fping.c	23 Mar 2004 06:35:44 -0000	1.13
***************
*** 264,268 ****
  			get_threshold (optarg, rv);
  			if (rv[RTA]) {
! 				crta = 1e-3 * strtod (rv[RTA], NULL);
  				crta_p = TRUE;
  				rv[RTA] = NULL;
--- 264,268 ----
  			get_threshold (optarg, rv);
  			if (rv[RTA]) {
! 				crta = strtod (rv[RTA], NULL);
  				crta_p = TRUE;
  				rv[RTA] = NULL;
***************
*** 277,281 ****
  			get_threshold (optarg, rv);
  			if (rv[RTA]) {
! 				wrta = 1e-3 * strtod (rv[RTA], NULL);
  				wrta_p = TRUE;
  				rv[RTA] = NULL;
--- 277,281 ----
  			get_threshold (optarg, rv);
  			if (rv[RTA]) {
! 				wrta = strtod (rv[RTA], NULL);
  				wrta_p = TRUE;
  				rv[RTA] = NULL;





More information about the Commits mailing list