diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2004-03-23 06:35:44 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2004-03-23 06:35:44 +0000 |
commit | a895bca1af8ce4cf4de923b3a43050283905b861 (patch) | |
tree | 29e9646be8c69c7354742da7c6e2c8ccf9576774 | |
parent | 757b3f4a7772580f4dd27961fb10193957182916 (diff) | |
download | monitoring-plugins-a895bca1af8ce4cf4de923b3a43050283905b861.tar.gz |
check was supposed to be agains ms - got munged wfixeg the perfdata output to be in seconds
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@858 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | plugins/check_fping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_fping.c b/plugins/check_fping.c index dff7ff99..1a536772 100644 --- a/plugins/check_fping.c +++ b/plugins/check_fping.c | |||
@@ -263,7 +263,7 @@ process_arguments (int argc, char **argv) | |||
263 | case 'c': | 263 | case 'c': |
264 | get_threshold (optarg, rv); | 264 | get_threshold (optarg, rv); |
265 | if (rv[RTA]) { | 265 | if (rv[RTA]) { |
266 | crta = 1e-3 * strtod (rv[RTA], NULL); | 266 | crta = strtod (rv[RTA], NULL); |
267 | crta_p = TRUE; | 267 | crta_p = TRUE; |
268 | rv[RTA] = NULL; | 268 | rv[RTA] = NULL; |
269 | } | 269 | } |
@@ -276,7 +276,7 @@ process_arguments (int argc, char **argv) | |||
276 | case 'w': | 276 | case 'w': |
277 | get_threshold (optarg, rv); | 277 | get_threshold (optarg, rv); |
278 | if (rv[RTA]) { | 278 | if (rv[RTA]) { |
279 | wrta = 1e-3 * strtod (rv[RTA], NULL); | 279 | wrta = strtod (rv[RTA], NULL); |
280 | wrta_p = TRUE; | 280 | wrta_p = TRUE; |
281 | rv[RTA] = NULL; | 281 | rv[RTA] = NULL; |
282 | } | 282 | } |