summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-10-29 13:08:23 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2025-10-29 13:08:23 +0100
commitb504a6284ea35efcea4debe93f3dbd35bf9427f3 (patch)
treeb44af50b8979c7eb1803799e71b6db1bf5b0813b /plugins
parentec5fd11c1d1f6117e1bccf4955fa99ba5706c6b4 (diff)
downloadmonitoring-plugins-b504a6284ea35efcea4debe93f3dbd35bf9427f3.tar.gz
Fix spelling errors
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_dbi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c
index 84e3cb5b..035e30cd 100644
--- a/plugins/check_dbi.c
+++ b/plugins/check_dbi.c
@@ -394,7 +394,7 @@ int main(int argc, char **argv) {
394 mp_set_subcheck_state(sc_query, query_time_status); 394 mp_set_subcheck_state(sc_query, query_time_status);
395 395
396 if (query_time_status == STATE_OK) { 396 if (query_time_status == STATE_OK) {
397 xasprintf(&sc_query.output, "Query duration '%f' is withing given thresholds", 397 xasprintf(&sc_query.output, "Query duration '%f' is within given thresholds",
398 query_res.query_duration); 398 query_res.query_duration);
399 } else { 399 } else {
400 xasprintf(&sc_query.output, "Query duration '%f' violates the given thresholds", 400 xasprintf(&sc_query.output, "Query duration '%f' violates the given thresholds",
@@ -895,7 +895,7 @@ static do_query_result do_query(dbi_conn conn, mp_dbi_metric metric, mp_dbi_type
895 printf("Query duration: %f\n", result.query_duration); 895 printf("Query duration: %f\n", result.query_duration);
896 } 896 }
897 897
898 // Default state is OK, all error will be set explicitely 898 // Default state is OK, all error will be set explicitly
899 mp_state_enum query_processing_state = STATE_OK; 899 mp_state_enum query_processing_state = STATE_OK;
900 { 900 {
901 901