diff options
Diffstat (limited to 'plugins/check_mrtg.c')
-rw-r--r-- | plugins/check_mrtg.c | 78 |
1 files changed, 37 insertions, 41 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c index 12e367bd..7cee31eb 100644 --- a/plugins/check_mrtg.c +++ b/plugins/check_mrtg.c | |||
@@ -331,47 +331,43 @@ print_help (void) | |||
331 | 331 | ||
332 | printf (_(UT_HELP_VRSN)); | 332 | printf (_(UT_HELP_VRSN)); |
333 | 333 | ||
334 | printf (_("\ | 334 | printf (" %s\n", "-F, --logfile=FILE"); |
335 | -F, --logfile=FILE\n\ | 335 | printf (" %s\n", _("The MRTG log file containing the data you want to monitor")); |
336 | The MRTG log file containing the data you want to monitor\n\ | 336 | printf ("-e, --expires=MINUTES"); |
337 | -e, --expires=MINUTES\n\ | 337 | printf (" %s\n", _("Minutes before MRTG data is considered to be too old")); |
338 | Minutes before MRTG data is considered to be too old\n\ | 338 | printf (" %s\n", "-a, --aggregation=AVG|MAX"); |
339 | -a, --aggregation=AVG|MAX\n\ | 339 | printf (" %s\n", _("Should we check average or maximum values?")); |
340 | Should we check average or maximum values?\n\ | 340 | printf (" %s\n", "-v, --variable=INTEGER"); |
341 | -v, --variable=INTEGER\n\ | 341 | printf (" %s\n", _("Which variable set should we inspect? (1 or 2)")); |
342 | Which variable set should we inspect? (1 or 2)\n\ | 342 | printf (" %s\n", "-w, --warning=INTEGER"); |
343 | -w, --warning=INTEGER\n\ | 343 | printf (" %s\n", _("Threshold value for data to result in WARNING status")); |
344 | Threshold value for data to result in WARNING status\n\ | 344 | printf (" %s\n", "-c, --critical=INTEGER"); |
345 | -c, --critical=INTEGER\n\ | 345 | printf (" %s\n", _("Threshold value for data to result in CRITICAL status")); |
346 | Threshold value for data to result in CRITICAL status\n")); | 346 | printf (" %s\n", "-l, --label=STRING"); |
347 | 347 | printf (" %s\n", _("Type label for data (Examples: Conns, \"Processor Load\", In, Out)")); | |
348 | printf (_("\ | 348 | printf (" %s\n", "-u, --units=STRING"); |
349 | -l, --label=STRING\n\ | 349 | printf (" %s\n", _("Option units label for data (Example: Packets/Sec, Errors/Sec,")); |
350 | Type label for data (Examples: Conns, \"Processor Load\", In, Out)\n\ | 350 | printf (" %s\n", _("\"Bytes Per Second\", \"%% Utilization\")")); |
351 | -u, --units=STRING\n\ | 351 | |
352 | Option units label for data (Example: Packets/Sec, Errors/Sec, \n\ | 352 | printf ("%s\n", _("If the value exceeds the <vwl> threshold, a WARNING status is returned. If")); |
353 | \"Bytes Per Second\", \"%% Utilization\")\n")); | 353 | printf ("%s\n", _("the value exceeds the <vcl> threshold, a CRITICAL status is returned. If")); |
354 | 354 | printf ("%s\n", _("the data in the log file is older than <expire_minutes> old, a WARNING")); | |
355 | printf (_("\ | 355 | printf ("%s\n", _("status is returned and a warning message is printed.")); |
356 | If the value exceeds the <vwl> threshold, a WARNING status is returned. If\n\ | 356 | |
357 | the value exceeds the <vcl> threshold, a CRITICAL status is returned. If\n\ | 357 | printf ("%s\n", _("This plugin is useful for monitoring MRTG data that does not correspond to")); |
358 | the data in the log file is older than <expire_minutes> old, a WARNING\n\ | 358 | printf ("%s\n", _("bandwidth usage. (Use the check_mrtgtraf plugin for monitoring bandwidth).")); |
359 | status is returned and a warning message is printed.\n\n")); | 359 | printf ("%s\n", _("It can be used to monitor any kind of data that MRTG is monitoring - errors,")); |
360 | 360 | printf ("%s\n", _("packets/sec, etc. I use MRTG in conjuction with the Novell NLM that allows")); | |
361 | printf(_("This plugin is useful for monitoring MRTG data that does not correspond to\n\ | 361 | printf ("%s\n", _("me to track processor utilization, user connections, drive space, etc and")); |
362 | bandwidth usage. (Use the check_mrtgtraf plugin for monitoring bandwidth).\n\ | 362 | printf ("%s\n\n", _("this plugin works well for monitoring that kind of data as well.")); |
363 | It can be used to monitor any kind of data that MRTG is monitoring - errors,\n\ | 363 | |
364 | packets/sec, etc. I use MRTG in conjuction with the Novell NLM that allows\n\ | 364 | printf ("%s\n", _("Notes:")); |
365 | me to track processor utilization, user connections, drive space, etc and\n\ | 365 | printf (" %s\n", _("- This plugin only monitors one of the two variables stored in the MRTG log")); |
366 | this plugin works well for monitoring that kind of data as well.\n\n")); | 366 | printf (" %s\n", _(" file. If you want to monitor both values you will have to define two")); |
367 | 367 | printf (" %s\n", _(" commands with different values for the <variable> argument. Of course,")); | |
368 | printf (_("Notes:\n\ | 368 | printf (" %s\n", _("you can always hack the code to make this plugin work for you...")); |
369 | - This plugin only monitors one of the two variables stored in the MRTG log\n\ | 369 | printf (" %s\n", _("- MRTG stands for the Multi Router Traffic Grapher. It can be downloaded from")); |
370 | file. If you want to monitor both values you will have to define two\n\ | 370 | printf (" %s\n", _("http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html")); |
371 | commands with different values for the <variable> argument. Of course,\n\ | ||
372 | you can always hack the code to make this plugin work for you...\n\ | ||
373 | - MRTG stands for the Multi Router Traffic Grapher. It can be downloaded from\n\ | ||
374 | http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html\n")); | ||
375 | 371 | ||
376 | printf (_(UT_SUPPORT)); | 372 | printf (_(UT_SUPPORT)); |
377 | } | 373 | } |