diff options
Diffstat (limited to 'plugins/check_fping.c')
| -rw-r--r-- | plugins/check_fping.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/check_fping.c b/plugins/check_fping.c index 5a24ab45..8617871a 100644 --- a/plugins/check_fping.c +++ b/plugins/check_fping.c | |||
| @@ -204,7 +204,7 @@ textscan (char *buf) | |||
| 204 | die (status, _("FPING %s - %s (loss=%.0f%% )|%s\n"), | 204 | die (status, _("FPING %s - %s (loss=%.0f%% )|%s\n"), |
| 205 | state_text (status), server_name, loss , | 205 | state_text (status), server_name, loss , |
| 206 | perfdata ("loss", (long int)loss, "%", wpl_p, wpl, cpl_p, cpl, TRUE, 0, TRUE, 100)); | 206 | perfdata ("loss", (long int)loss, "%", wpl_p, wpl, cpl_p, cpl, TRUE, 0, TRUE, 100)); |
| 207 | 207 | ||
| 208 | } | 208 | } |
| 209 | else { | 209 | else { |
| 210 | status = max_state (status, STATE_WARNING); | 210 | status = max_state (status, STATE_WARNING); |
| @@ -371,11 +371,11 @@ print_help (void) | |||
| 371 | printf (COPYRIGHT, copyright, email); | 371 | printf (COPYRIGHT, copyright, email); |
| 372 | 372 | ||
| 373 | printf ("%s\n", _("This plugin will use the fping command to ping the specified host for a fast check")); | 373 | printf ("%s\n", _("This plugin will use the fping command to ping the specified host for a fast check")); |
| 374 | 374 | ||
| 375 | printf ("%s\n", _("Note that it is necessary to set the suid flag on fping.")); | 375 | printf ("%s\n", _("Note that it is necessary to set the suid flag on fping.")); |
| 376 | 376 | ||
| 377 | printf ("\n\n"); | 377 | printf ("\n\n"); |
| 378 | 378 | ||
| 379 | print_usage (); | 379 | print_usage (); |
| 380 | 380 | ||
| 381 | printf (_(UT_HELP_VRSN)); | 381 | printf (_(UT_HELP_VRSN)); |
| @@ -392,9 +392,9 @@ print_help (void) | |||
| 392 | printf (" %s\n", _("number of ICMP packets to send (default: %d)"),PACKET_COUNT); | 392 | printf (" %s\n", _("number of ICMP packets to send (default: %d)"),PACKET_COUNT); |
| 393 | printf (_(UT_VERBOSE)); | 393 | printf (_(UT_VERBOSE)); |
| 394 | printf ("\n"); | 394 | printf ("\n"); |
| 395 | printf (" %s\n", _("THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel time (ms)")); | 395 | printf (" %s\n", _("THRESHOLD is <rta>,<pl>%% where <rta> is the round trip average travel time (ms)")); |
| 396 | printf (" %s\n", _("which triggers a WARNING or CRITICAL state, and <pl> is the percentage of")); | 396 | printf (" %s\n", _("which triggers a WARNING or CRITICAL state, and <pl> is the percentage of")); |
| 397 | printf (" %s\n", _("packet loss to trigger an alarm state.")); | 397 | printf (" %s\n", _("packet loss to trigger an alarm state.")); |
| 398 | printf (_(UT_SUPPORT)); | 398 | printf (_(UT_SUPPORT)); |
| 399 | } | 399 | } |
| 400 | 400 | ||
