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_mysql_query.c | |
| parent | 99283972fe3a74d3a1dea12c4099f76286130a67 (diff) | |
| parent | a71ce153082565e5728424749475593dc0623492 (diff) | |
| download | monitoring-plugins-1113bbcd92d85b85579aa7feef511241e58fb0f5.tar.gz | |
merged with mastercheck_snmp_fixes
Diffstat (limited to 'plugins/check_mysql_query.c')
| -rw-r--r-- | plugins/check_mysql_query.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c index ae6cc15d..fc0966d3 100644 --- a/plugins/check_mysql_query.c +++ b/plugins/check_mysql_query.c | |||
| @@ -277,14 +277,14 @@ check_mysql_query_config_wrapper process_arguments(int argc, char **argv) { | |||
| 277 | break; | 277 | break; |
| 278 | case 'w': { | 278 | case 'w': { |
| 279 | mp_range_parsed tmp = mp_parse_range_string(optarg); | 279 | mp_range_parsed tmp = mp_parse_range_string(optarg); |
| 280 | if (tmp.error != MP_PARSING_SUCCES) { | 280 | if (tmp.error != MP_PARSING_SUCCESS) { |
| 281 | die(STATE_UNKNOWN, "failed to parse warning threshold"); | 281 | die(STATE_UNKNOWN, "failed to parse warning threshold"); |
| 282 | } | 282 | } |
| 283 | result.config.thresholds = mp_thresholds_set_warn(result.config.thresholds, tmp.range); | 283 | result.config.thresholds = mp_thresholds_set_warn(result.config.thresholds, tmp.range); |
| 284 | } break; | 284 | } break; |
| 285 | case 'c': { | 285 | case 'c': { |
| 286 | mp_range_parsed tmp = mp_parse_range_string(optarg); | 286 | mp_range_parsed tmp = mp_parse_range_string(optarg); |
| 287 | if (tmp.error != MP_PARSING_SUCCES) { | 287 | if (tmp.error != MP_PARSING_SUCCESS) { |
| 288 | die(STATE_UNKNOWN, "failed to parse critical threshold"); | 288 | die(STATE_UNKNOWN, "failed to parse critical threshold"); |
| 289 | } | 289 | } |
| 290 | result.config.thresholds = mp_thresholds_set_crit(result.config.thresholds, tmp.range); | 290 | result.config.thresholds = mp_thresholds_set_crit(result.config.thresholds, tmp.range); |
