X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fcheck_ups.c;fp=plugins%2Fcheck_ups.c;h=a498d203ecc7d640ca3338c13e33b023c2db21fa;hb=caa8bd6423e2d0d1b4e72c150e80b9c6a9e1b7fe;hp=bbd963a91983ad180e7d78a8edbe5eeaa14e321d;hpb=16f53e0717b60660145388b0feb351628f606211;p=nagiosplug.git diff --git a/plugins/check_ups.c b/plugins/check_ups.c index bbd963a..a498d20 100644 --- a/plugins/check_ups.c +++ b/plugins/check_ups.c @@ -403,7 +403,7 @@ get_ups_variable (const char *varname, char *buf, size_t buflen) int len; *buf=0; - + /* create the command string to send to the UPS daemon */ /* Add LOGOUT to avoid read failure logs */ sprintf (send_buffer, "GET VAR %s %s\nLOGOUT\n", ups_name, varname); @@ -453,7 +453,7 @@ get_ups_variable (const char *varname, char *buf, size_t buflen) } -/* Command line: CHECK_UPS -H -u ups [-p port] [-v variable] +/* Command line: CHECK_UPS -H -u ups [-p port] [-v variable] [-wv warn_value] [-cv crit_value] [-to to_sec] */ @@ -508,7 +508,7 @@ process_arguments (int argc, char **argv) usage2 (_("Invalid hostname/address"), optarg); } break; - case 'T': /* FIXME: to be improved (ie "-T C" for Celsius or "-T F" for Farenheit) */ + case 'T': /* FIXME: to be improved (ie "-T C" for Celsius or "-T F" for Farenheit) */ temp_output_c = 1; break; case 'u': /* ups name */