summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b5c8ea5)
raw | patch | inline | side by side (parent: b5c8ea5)
author | Sebastian Harl <sh@teamix.net> | |
Fri, 8 Apr 2011 08:58:00 +0000 (10:58 +0200) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Fri, 8 Apr 2011 08:58:47 +0000 (10:58 +0200) |
- do not use zero as 'min' value for the query result perfdata
- added all semicolons
- added all semicolons
plugins/check_dbi.c | patch | blob | history |
diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c
index f59d7c41655f54a950a2a49c709eed3d3032ceb5..611e0e78472159f27c6f21546b97d72495549618 100644 (file)
--- a/plugins/check_dbi.c
+++ b/plugins/check_dbi.c
state_text (exit_status),
state_text (conntime_status), conn_time,
state_text (status), np_dbi_query, query_val, query_time);
- printf (" | conntime=%fs;%s;%s;0 query=%f;%s;%s;0 querytime=%fs;;;0\n", conn_time,
+ printf (" | conntime=%fs;%s;%s;0; query=%f;%s;%s;; querytime=%fs;;;0;\n", conn_time,
conntime_warning_range ? conntime_warning_range : "",
conntime_critical_range ? conntime_critical_range : "",
query_val, warning_range ? warning_range : "", critical_range ? critical_range : "",