aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_ups.c
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2008-04-27 14:35:26 +0000
committerGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2008-04-27 14:35:26 +0000
commited62784a0b68959fd13fe5bc53a5aef4f17fbffa (patch)
treef479a5b8ad8cac8d6dcc506ba61aa5ec3fbb5bb3 /plugins/check_ups.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_ups.c')
-rw-r--r--plugins/check_ups.c24
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)
printf ("Copyright (c) 2004 Arnaud Quette <arnaud.quette@mgeups.com>\n");
printf (COPYRIGHT, copyright, email);
- printf ("%s\n", _("This plugin tests the UPS service on the specified host.Network UPS Tools "));
+ printf ("%s\n", _("This plugin tests the UPS service on the specified host. Network UPS Tools"));
printf ("%s\n", _("from www.networkupstools.org must be running for thisplugin to work."));
printf ("\n\n");
@@ -628,22 +628,24 @@ print_help (void)
/* printf (_(UT_VERBOSE)); */
printf ("\n");
- printf ("%s\n", _("Notes:"));
-
printf ("%s\n", _("This plugin attempts to determine the status of a UPS (Uninterruptible Power"));
printf ("%s\n", _("Supply) on a local or remote host. If the UPS is online or calibrating, the"));
printf ("%s\n", _("plugin will return an OK state. If the battery is on it will return a WARNING"));
printf ("%s\n", _("state.If the UPS is off or has a low battery the plugin will return a CRITICAL"));
- printf ("%s\n\n", _("state."));
+ printf ("%s\n", _("state."));
- printf ("%s\n", _("You may also specify a variable to check [such as temperature, utility voltage,"));
- printf ("%s\n", _("battery load, etc.] as well as warning and critical thresholds for the value of"));
- printf ("%s\n", _("that variable. If the remote host has multiple UPS that are being monitored you"));
- printf ("%s\n", _("will have to use the [ups] option to specify which UPS to check."));
+ printf ("\n");
+ printf ("%s\n", _("Notes:"));
+ printf (" %s\n", _("You may also specify a variable to check (such as temperature, utility voltage,"));
+ printf (" %s\n", _("battery load, etc.) as well as warning and critical thresholds for the value"));
+ printf (" %s\n", _("of that variable. If the remote host has multiple UPS that are being monitored"));
+ printf (" %s\n", _("you will have to use the --ups option to specify which UPS to check."));
- printf ("%s\n", _("This plugin requires that the UPSD daemon distributed with Russel Kroll's"));
- printf ("%s\n", _("Smart UPS Tools be installed on the remote host. If you do not have the"));
- printf ("%s\n", _("package installed on your system, you can download it from http://www.networkupstools.org"));
+ printf ("\n");
+ printf (" %s\n", _("This plugin requires that the UPSD daemon distributed with Russel Kroll's"));
+ printf (" %s\n", _("Smart UPS Tools be installed on the remote host. If you do not have the"));
+ printf (" %s\n", _("package installed on your system, you can download it from"));
+ printf (" %s\n", _("http://www.networkupstools.org"));
printf (_(UT_SUPPORT));
}