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_ups.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_ups.c')
-rw-r--r-- | plugins/check_ups.c | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c index 73702f59..666485ee 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c | |||
@@ -601,7 +601,7 @@ print_help (void) | |||
601 | printf ("Copyright (c) 2004 Arnaud Quette <arnaud.quette@mgeups.com>\n"); | 601 | printf ("Copyright (c) 2004 Arnaud Quette <arnaud.quette@mgeups.com>\n"); |
602 | printf (COPYRIGHT, copyright, email); | 602 | printf (COPYRIGHT, copyright, email); |
603 | 603 | ||
604 | printf ("%s\n", _("This plugin tests the UPS service on the specified host.Network UPS Tools ")); | 604 | printf ("%s\n", _("This plugin tests the UPS service on the specified host. Network UPS Tools")); |
605 | printf ("%s\n", _("from www.networkupstools.org must be running for thisplugin to work.")); | 605 | printf ("%s\n", _("from www.networkupstools.org must be running for thisplugin to work.")); |
606 | 606 | ||
607 | printf ("\n\n"); | 607 | printf ("\n\n"); |
@@ -628,22 +628,24 @@ print_help (void) | |||
628 | /* printf (_(UT_VERBOSE)); */ | 628 | /* printf (_(UT_VERBOSE)); */ |
629 | 629 | ||
630 | printf ("\n"); | 630 | printf ("\n"); |
631 | printf ("%s\n", _("Notes:")); | ||
632 | |||
633 | printf ("%s\n", _("This plugin attempts to determine the status of a UPS (Uninterruptible Power")); | 631 | printf ("%s\n", _("This plugin attempts to determine the status of a UPS (Uninterruptible Power")); |
634 | printf ("%s\n", _("Supply) on a local or remote host. If the UPS is online or calibrating, the")); | 632 | printf ("%s\n", _("Supply) on a local or remote host. If the UPS is online or calibrating, the")); |
635 | printf ("%s\n", _("plugin will return an OK state. If the battery is on it will return a WARNING")); | 633 | printf ("%s\n", _("plugin will return an OK state. If the battery is on it will return a WARNING")); |
636 | printf ("%s\n", _("state.If the UPS is off or has a low battery the plugin will return a CRITICAL")); | 634 | printf ("%s\n", _("state.If the UPS is off or has a low battery the plugin will return a CRITICAL")); |
637 | printf ("%s\n\n", _("state.")); | 635 | printf ("%s\n", _("state.")); |
638 | 636 | ||
639 | printf ("%s\n", _("You may also specify a variable to check [such as temperature, utility voltage,")); | 637 | printf ("\n"); |
640 | printf ("%s\n", _("battery load, etc.] as well as warning and critical thresholds for the value of")); | 638 | printf ("%s\n", _("Notes:")); |
641 | printf ("%s\n", _("that variable. If the remote host has multiple UPS that are being monitored you")); | 639 | printf (" %s\n", _("You may also specify a variable to check (such as temperature, utility voltage,")); |
642 | printf ("%s\n", _("will have to use the [ups] option to specify which UPS to check.")); | 640 | printf (" %s\n", _("battery load, etc.) as well as warning and critical thresholds for the value")); |
641 | printf (" %s\n", _("of that variable. If the remote host has multiple UPS that are being monitored")); | ||
642 | printf (" %s\n", _("you will have to use the --ups option to specify which UPS to check.")); | ||
643 | 643 | ||
644 | printf ("%s\n", _("This plugin requires that the UPSD daemon distributed with Russel Kroll's")); | 644 | printf ("\n"); |
645 | printf ("%s\n", _("Smart UPS Tools be installed on the remote host. If you do not have the")); | 645 | printf (" %s\n", _("This plugin requires that the UPSD daemon distributed with Russel Kroll's")); |
646 | printf ("%s\n", _("package installed on your system, you can download it from http://www.networkupstools.org")); | 646 | printf (" %s\n", _("Smart UPS Tools be installed on the remote host. If you do not have the")); |
647 | printf (" %s\n", _("package installed on your system, you can download it from")); | ||
648 | printf (" %s\n", _("http://www.networkupstools.org")); | ||
647 | 649 | ||
648 | printf (_(UT_SUPPORT)); | 650 | printf (_(UT_SUPPORT)); |
649 | } | 651 | } |