diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-04-27 14:35:26 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-04-27 14:35:26 +0000 |
commit | ed62784a0b68959fd13fe5bc53a5aef4f17fbffa (patch) | |
tree | f479a5b8ad8cac8d6dcc506ba61aa5ec3fbb5bb3 /plugins/check_fping.c | |
parent | 140a93ce6bce63df2d70841f2f78aa968ea997d6 (diff) | |
download | monitoring-plugins-ed62784a0b68959fd13fe5bc53a5aef4f17fbffa.tar.gz |
--help output cleanup (plus removal of spaces on blank lines)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1984 f882894a-f735-0410-b71e-b25c423dba1c
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 | ||