diff options
| author | Andreas Baumann <mail@andreasbaumann.cc> | 2026-03-27 11:14:20 +0100 |
|---|---|---|
| committer | Andreas Baumann <mail@andreasbaumann.cc> | 2026-03-27 11:14:20 +0100 |
| commit | 1113bbcd92d85b85579aa7feef511241e58fb0f5 (patch) | |
| tree | d69b7bcfe2f7e80fda9a1f4ddd38209d6cb7aaf0 /plugins/check_snmp.d/check_snmp_helpers.c | |
| parent | 99283972fe3a74d3a1dea12c4099f76286130a67 (diff) | |
| parent | a71ce153082565e5728424749475593dc0623492 (diff) | |
| download | monitoring-plugins-1113bbcd92d85b85579aa7feef511241e58fb0f5.tar.gz | |
merged with mastercheck_snmp_fixes
Diffstat (limited to 'plugins/check_snmp.d/check_snmp_helpers.c')
| -rw-r--r-- | plugins/check_snmp.d/check_snmp_helpers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_snmp.d/check_snmp_helpers.c b/plugins/check_snmp.d/check_snmp_helpers.c index d680678a..c3f25307 100644 --- a/plugins/check_snmp.d/check_snmp_helpers.c +++ b/plugins/check_snmp.d/check_snmp_helpers.c | |||
| @@ -52,7 +52,7 @@ int check_snmp_set_thresholds(const char *threshold_string, check_snmp_test_unit | |||
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | mp_range_parsed tmp = mp_parse_range_string(ptr); | 54 | mp_range_parsed tmp = mp_parse_range_string(ptr); |
| 55 | if (tmp.error != MP_PARSING_SUCCES) { | 55 | if (tmp.error != MP_PARSING_SUCCESS) { |
| 56 | die(STATE_UNKNOWN, "Unable to parse critical threshold range: %s", ptr); | 56 | die(STATE_UNKNOWN, "Unable to parse critical threshold range: %s", ptr); |
| 57 | } | 57 | } |
| 58 | 58 | ||
| @@ -70,7 +70,7 @@ int check_snmp_set_thresholds(const char *threshold_string, check_snmp_test_unit | |||
| 70 | // Single value | 70 | // Single value |
| 71 | // only valid for the first test unit | 71 | // only valid for the first test unit |
| 72 | mp_range_parsed tmp = mp_parse_range_string(threshold_string); | 72 | mp_range_parsed tmp = mp_parse_range_string(threshold_string); |
| 73 | if (tmp.error != MP_PARSING_SUCCES) { | 73 | if (tmp.error != MP_PARSING_SUCCESS) { |
| 74 | die(STATE_UNKNOWN, "Unable to parse critical threshold range: %s", threshold_string); | 74 | die(STATE_UNKNOWN, "Unable to parse critical threshold range: %s", threshold_string); |
| 75 | } | 75 | } |
| 76 | 76 | ||
