summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/check_ups.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/check_ups.c b/plugins/check_ups.c
index 7bced308..525ecf24 100644
--- a/plugins/check_ups.c
+++ b/plugins/check_ups.c
@@ -630,14 +630,19 @@ check_ups_config_wrapper process_arguments(int argc, char **argv) {
630 switch (test_selection) { 630 switch (test_selection) {
631 case UPS_UTILITY: 631 case UPS_UTILITY:
632 result.config.utility_thresholds = tmp_thr; 632 result.config.utility_thresholds = tmp_thr;
633 break;
633 case UPS_BATTPCT: 634 case UPS_BATTPCT:
634 result.config.battery_thresholds = tmp_thr; 635 result.config.battery_thresholds = tmp_thr;
636 break;
635 case UPS_LOADPCT: 637 case UPS_LOADPCT:
636 result.config.load_thresholds = tmp_thr; 638 result.config.load_thresholds = tmp_thr;
639 break;
637 case UPS_REALPOWER: 640 case UPS_REALPOWER:
638 result.config.real_power_thresholds = tmp_thr; 641 result.config.real_power_thresholds = tmp_thr;
642 break;
639 case UPS_TEMP: 643 case UPS_TEMP:
640 result.config.temperature_thresholds = tmp_thr; 644 result.config.temperature_thresholds = tmp_thr;
645 break;
641 case UPS_NONE: 646 case UPS_NONE:
642 case UPS_STATUS: 647 case UPS_STATUS:
643 default: { 648 default: {