summaryrefslogtreecommitdiffstats
path: root/plugins/check_mrtg.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-04-27 14:35:26 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-04-27 14:35:26 (GMT)
commited62784a0b68959fd13fe5bc53a5aef4f17fbffa (patch)
treef479a5b8ad8cac8d6dcc506ba61aa5ec3fbb5bb3 /plugins/check_mrtg.c
parent140a93ce6bce63df2d70841f2f78aa968ea997d6 (diff)
downloadmonitoring-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_mrtg.c')
-rw-r--r--plugins/check_mrtg.c32
1 files changed, 17 insertions, 15 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c
index 158bb8f..cf77f8b 100644
--- a/plugins/check_mrtg.c
+++ b/plugins/check_mrtg.c
@@ -323,7 +323,7 @@ print_help (void)
323 printf ("%s\n", _("two variables recorded in an MRTG log file.")); 323 printf ("%s\n", _("two variables recorded in an MRTG log file."));
324 324
325 printf ("\n\n"); 325 printf ("\n\n");
326 326
327 print_usage (); 327 print_usage ();
328 328
329 printf (_(UT_HELP_VRSN)); 329 printf (_(UT_HELP_VRSN));
@@ -346,25 +346,27 @@ print_help (void)
346 printf (" %s\n", _("Option units label for data (Example: Packets/Sec, Errors/Sec,")); 346 printf (" %s\n", _("Option units label for data (Example: Packets/Sec, Errors/Sec,"));
347 printf (" %s\n", _("\"Bytes Per Second\", \"%% Utilization\")")); 347 printf (" %s\n", _("\"Bytes Per Second\", \"%% Utilization\")"));
348 348
349 printf ("%s\n", _("If the value exceeds the <vwl> threshold, a WARNING status is returned. If")); 349 printf ("\n");
350 printf ("%s\n", _("the value exceeds the <vcl> threshold, a CRITICAL status is returned. If")); 350 printf (" %s\n", _("If the value exceeds the <vwl> threshold, a WARNING status is returned. If"));
351 printf ("%s\n", _("the data in the log file is older than <expire_minutes> old, a WARNING")); 351 printf (" %s\n", _("the value exceeds the <vcl> threshold, a CRITICAL status is returned. If"));
352 printf ("%s\n", _("status is returned and a warning message is printed.")); 352 printf (" %s\n", _("the data in the log file is older than <expire_minutes> old, a WARNING"));
353 printf (" %s\n", _("status is returned and a warning message is printed."));
353 354
354 printf ("%s\n", _("This plugin is useful for monitoring MRTG data that does not correspond to")); 355 printf ("\n");
355 printf ("%s\n", _("bandwidth usage. (Use the check_mrtgtraf plugin for monitoring bandwidth).")); 356 printf (" %s\n", _("This plugin is useful for monitoring MRTG data that does not correspond to"));
356 printf ("%s\n", _("It can be used to monitor any kind of data that MRTG is monitoring - errors,")); 357 printf (" %s\n", _("bandwidth usage. (Use the check_mrtgtraf plugin for monitoring bandwidth)."));
357 printf ("%s\n", _("packets/sec, etc. I use MRTG in conjuction with the Novell NLM that allows")); 358 printf (" %s\n", _("It can be used to monitor any kind of data that MRTG is monitoring - errors,"));
358 printf ("%s\n", _("me to track processor utilization, user connections, drive space, etc and")); 359 printf (" %s\n", _("packets/sec, etc. I use MRTG in conjuction with the Novell NLM that allows"));
359 printf ("%s\n\n", _("this plugin works well for monitoring that kind of data as well.")); 360 printf (" %s\n", _("me to track processor utilization, user connections, drive space, etc and"));
361 printf (" %s\n\n", _("this plugin works well for monitoring that kind of data as well."));
360 362
361 printf ("%s\n", _("Notes:")); 363 printf ("%s\n", _("Notes:"));
362 printf (" %s\n", _("- This plugin only monitors one of the two variables stored in the MRTG log")); 364 printf (" %s\n", _("- This plugin only monitors one of the two variables stored in the MRTG log"));
363 printf (" %s\n", _(" file. If you want to monitor both values you will have to define two")); 365 printf (" %s\n", _("file. If you want to monitor both values you will have to define two"));
364 printf (" %s\n", _(" commands with different values for the <variable> argument. Of course,")); 366 printf (" %s\n", _("commands with different values for the <variable> argument. Of course,"));
365 printf (" %s\n", _("you can always hack the code to make this plugin work for you...")); 367 printf (" %s\n", _("you can always hack the code to make this plugin work for you..."));
366 printf (" %s\n", _("- MRTG stands for the Multi Router Traffic Grapher. It can be downloaded from")); 368 printf (" %s\n", _("- MRTG stands for the Multi Router Traffic Grapher. It can be downloaded from"));
367 printf (" %s\n", "http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html"); 369 printf (" %s\n", "http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html");
368 370
369 printf (_(UT_SUPPORT)); 371 printf (_(UT_SUPPORT));
370} 372}