Module: monitoring-plugins
 Branch: master
 Commit: b504a6284ea35efcea4debe93f3dbd35bf9427f3
 Author: Lorenz Kästle <[email protected]>
   Date: Wed Oct 29 13:08:23 2025 +0100
    URL: 
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=b504a628

Fix spelling errors

---

 plugins/check_dbi.c | 4 ++--
 1 file 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) {
                                mp_set_subcheck_state(sc_query, 
query_time_status);
 
                                if (query_time_status == STATE_OK) {
-                                       xasprintf(&sc_query.output, "Query 
duration '%f' is withing given thresholds",
+                                       xasprintf(&sc_query.output, "Query 
duration '%f' is within given thresholds",
                                                          
query_res.query_duration);
                                } else {
                                        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
                printf("Query duration: %f\n", result.query_duration);
        }
 
-       // Default state is OK, all error will be set explicitely
+       // Default state is OK, all error will be set explicitly
        mp_state_enum query_processing_state = STATE_OK;
        {
 

Reply via email to