add monitoring
This commit is contained in:
12
config/health/resources/MySqlConnectable.yml
Normal file
12
config/health/resources/MySqlConnectable.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
name: MySQL Connectable
|
||||
abbreviation: mysqlgrsqlsrvrconn
|
||||
checker: PragmaRX\Health\Checkers\PortCheck
|
||||
notify: true
|
||||
column_size: 3
|
||||
error_message: "Could not connect to %s on port %s"
|
||||
targets:
|
||||
- default:
|
||||
name: mysql
|
||||
hostname: mysql
|
||||
port: 3306
|
||||
timeout: 2
|
||||
Reference in New Issue
Block a user