mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-07-16 12:15:14 -04:00
check_mysql: implement ok summary
This commit is contained in:
parent
a0f9e31225
commit
92b42cb8fe
1 changed files with 2 additions and 0 deletions
|
|
@ -121,6 +121,8 @@ int main(int argc, char **argv) {
|
|||
|
||||
mp_check overall = mp_check_init();
|
||||
|
||||
mp_set_ok_summary(&overall, "Mariadb/MySQL seems to be ok");
|
||||
|
||||
mp_subcheck sc_connection = mp_subcheck_init();
|
||||
/* establish a connection to the server and check for errors */
|
||||
if (!mysql_real_connect(&mysql, config.db_host, config.db_user, config.db_pass, config.db,
|
||||
|
|
|
|||
Loading…
Reference in a new issue