summaryrefslogtreecommitdiffstats
path: root/plugins/check_mrtg.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2006-06-15 12:52:25 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2006-06-15 12:52:25 +0000
commite5324624caefb201439012d795bebdf46966ec9c (patch)
tree0d94d5ab9044c1ac6aebf67906e7d7626135c1fb /plugins/check_mrtg.c
parent180f20d60dde6e2584e2abda4e9f9e4fc6d8c1ae (diff)
downloadmonitoring-plugins-e5324624caefb201439012d795bebdf46966ec9c.tar.gz
cleaning help and usage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1432 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_mrtg.c')
-rw-r--r--plugins/check_mrtg.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c
index 6b08195b..f98239c7 100644
--- a/plugins/check_mrtg.c
+++ b/plugins/check_mrtg.c
@@ -305,10 +305,11 @@ print_help (void)
305 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); 305 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n");
306 printf (COPYRIGHT, copyright, email); 306 printf (COPYRIGHT, copyright, email);
307 307
308 printf(_("\ 308 printf ("%s\n", _("This plugin will check either the average or maximum value of one of the"));
309This plugin will check either the average or maximum value of one of the\n\ 309 printf ("%s\n", _("two variables recorded in an MRTG log file."));
310two variables recorded in an MRTG log file.\n\n"));
311 310
311 printf ("\n\n");
312
312 print_usage (); 313 print_usage ();
313 314
314 printf (_(UT_HELP_VRSN)); 315 printf (_(UT_HELP_VRSN));
@@ -366,8 +367,7 @@ this plugin works well for monitoring that kind of data as well.\n\n"));
366void 367void
367print_usage (void) 368print_usage (void)
368{ 369{
369 printf ("\ 370 printf (_("Usage:"));
370Usage: %s -F log_file -a <AVG | MAX> -v variable -w warning -c critical\n\ 371 printf ("%s -F log_file -a <AVG | MAX> -v variable -w warning -c critical\n",progname);
371 [-l label] [-u units] [-e expire_minutes] [-t timeout]\n\ 372 printf ("[-l label] [-u units] [-e expire_minutes] [-t timeout] [-v]\n");
372 [-v]\n", progname);
373} 373}