mysql¶
MySQL or MariaDB connection health monitor.
Properties¶
| Property | Example | Description |
|---|---|---|
accepted_statuscodes |
200-299 |
Accepted HTTP status codes |
active |
true |
Whether the monitor is active |
database_connection_string |
mysql://root:password@localhost:3306/mysql |
MySQL connection string |
description |
A Monitor |
Monitor description |
interval |
60 |
Check interval in seconds |
max_retries |
0 |
Maximum retries |
name |
Example |
Monitor display name |
parent |
0 |
Parent group ID |
query |
SELECT 1 |
SQL query to run as a health check |
retry_interval |
60 |
Interval between retries in seconds |
upside_down |
false |
Invert the status |