diff --git a/server/monitor-types/mysql.js b/server/monitor-types/mysql.js index 549d2db02..5910227d3 100644 --- a/server/monitor-types/mysql.js +++ b/server/monitor-types/mysql.js @@ -45,7 +45,8 @@ class MysqlMonitorType extends MonitorType { throw new Error(`Query result did not meet the specified conditions (${result})`); } - heartbeat.msg = ""; + heartbeat.status = UP; + heartbeat.msg = "query did meet specified conditions"; } else { // Backwards compatible: just check connection and return row count const result = await this.mysqlQuery(monitor.databaseConnectionString, query, password);