diff options
Diffstat (limited to 'plugins/check_dbi.c')
| -rw-r--r-- | plugins/check_dbi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c index dd466d00..9c5c8574 100644 --- a/plugins/check_dbi.c +++ b/plugins/check_dbi.c | |||
| @@ -220,6 +220,8 @@ int main(int argc, char **argv) { | |||
| 220 | 220 | ||
| 221 | mp_check overall = mp_check_init(); | 221 | mp_check overall = mp_check_init(); |
| 222 | 222 | ||
| 223 | mp_set_ok_summary(&overall, "DBI check was successful"); | ||
| 224 | |||
| 223 | mp_subcheck sc_connection_time = mp_subcheck_init(); | 225 | mp_subcheck sc_connection_time = mp_subcheck_init(); |
| 224 | sc_connection_time = mp_set_subcheck_default_state(sc_connection_time, STATE_OK); | 226 | sc_connection_time = mp_set_subcheck_default_state(sc_connection_time, STATE_OK); |
| 225 | xasprintf(&sc_connection_time.output, "Connection time: %f", conn_time); | 227 | xasprintf(&sc_connection_time.output, "Connection time: %f", conn_time); |
