diff options
Diffstat (limited to 'plugins/check_ups.c')
-rw-r--r-- | plugins/check_ups.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c index 7311ca2..c6964d8 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c | |||
@@ -417,7 +417,7 @@ get_ups_variable (const char *varname, char *buf, size_t buflen) | |||
417 | if (len > logout_len && strcmp (ptr + len - logout_len, logout) == 0) len -= logout_len; | 417 | if (len > logout_len && strcmp (ptr + len - logout_len, logout) == 0) len -= logout_len; |
418 | if (len > 0 && ptr[len-1] == '\n') ptr[len-1]=0; | 418 | if (len > 0 && ptr[len-1] == '\n') ptr[len-1]=0; |
419 | if (strcmp (ptr, "ERR UNKNOWN-UPS") == 0) { | 419 | if (strcmp (ptr, "ERR UNKNOWN-UPS") == 0) { |
420 | printf (_("CRITICAL - no such ups '%s' on that host\n"), ups_name); | 420 | printf (_("CRITICAL - no such UPS '%s' on that host\n"), ups_name); |
421 | return ERROR; | 421 | return ERROR; |
422 | } | 422 | } |
423 | 423 | ||
@@ -584,7 +584,7 @@ int | |||
584 | validate_arguments (void) | 584 | validate_arguments (void) |
585 | { | 585 | { |
586 | if (! ups_name) { | 586 | if (! ups_name) { |
587 | printf ("%s\n", _("Error : no ups indicated")); | 587 | printf ("%s\n", _("Error : no UPS indicated")); |
588 | return ERROR; | 588 | return ERROR; |
589 | } | 589 | } |
590 | return OK; | 590 | return OK; |
@@ -645,7 +645,7 @@ print_help (void) | |||
645 | printf (" %s\n", _("of that variable. If the remote host has multiple UPS that are being monitored")); | 645 | printf (" %s\n", _("of that variable. If the remote host has multiple UPS that are being monitored")); |
646 | printf (" %s\n", _("you will have to use the --ups option to specify which UPS to check.")); | 646 | printf (" %s\n", _("you will have to use the --ups option to specify which UPS to check.")); |
647 | printf ("\n"); | 647 | printf ("\n"); |
648 | printf (" %s\n", _("This plugin requires that the UPSD daemon distributed with Russel Kroll's")); | 648 | printf (" %s\n", _("This plugin requires that the UPSD daemon distributed with Russell Kroll's")); |
649 | printf (" %s\n", _("Smart UPS Tools be installed on the remote host. If you do not have the")); | 649 | printf (" %s\n", _("Smart UPS Tools be installed on the remote host. If you do not have the")); |
650 | printf (" %s\n", _("package installed on your system, you can download it from")); | 650 | printf (" %s\n", _("package installed on your system, you can download it from")); |
651 | printf (" %s\n", _("http://www.networkupstools.org")); | 651 | printf (" %s\n", _("http://www.networkupstools.org")); |