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;
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
|