summaryrefslogtreecommitdiffstats
path: root/plugins/check_real.c
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2026-03-27 11:14:20 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2026-03-27 11:14:20 +0100
commit1113bbcd92d85b85579aa7feef511241e58fb0f5 (patch)
treed69b7bcfe2f7e80fda9a1f4ddd38209d6cb7aaf0 /plugins/check_real.c
parent99283972fe3a74d3a1dea12c4099f76286130a67 (diff)
parenta71ce153082565e5728424749475593dc0623492 (diff)
downloadmonitoring-plugins-1113bbcd92d85b85579aa7feef511241e58fb0f5.tar.gz
merged with mastercheck_snmp_fixes
Diffstat (limited to 'plugins/check_real.c')
-rw-r--r--plugins/check_real.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_real.c b/plugins/check_real.c
index 15c8a20c..b415578f 100644
--- a/plugins/check_real.c
+++ b/plugins/check_real.c
@@ -409,7 +409,7 @@ check_real_config_wrapper process_arguments(int argc, char **argv) {
409 case 'w': /* warning time threshold */ 409 case 'w': /* warning time threshold */
410 { 410 {
411 mp_range_parsed critical_range = mp_parse_range_string(optarg); 411 mp_range_parsed critical_range = mp_parse_range_string(optarg);
412 if (critical_range.error != MP_PARSING_SUCCES) { 412 if (critical_range.error != MP_PARSING_SUCCESS) {
413 die(STATE_UNKNOWN, "failed to parse warning threshold: %s", optarg); 413 die(STATE_UNKNOWN, "failed to parse warning threshold: %s", optarg);
414 } 414 }
415 result.config.time_thresholds = 415 result.config.time_thresholds =
@@ -418,7 +418,7 @@ check_real_config_wrapper process_arguments(int argc, char **argv) {
418 case 'c': /* critical time threshold */ 418 case 'c': /* critical time threshold */
419 { 419 {
420 mp_range_parsed critical_range = mp_parse_range_string(optarg); 420 mp_range_parsed critical_range = mp_parse_range_string(optarg);
421 if (critical_range.error != MP_PARSING_SUCCES) { 421 if (critical_range.error != MP_PARSING_SUCCESS) {
422 die(STATE_UNKNOWN, "failed to parse critical threshold: %s", optarg); 422 die(STATE_UNKNOWN, "failed to parse critical threshold: %s", optarg);
423 } 423 }
424 result.config.time_thresholds = 424 result.config.time_thresholds =