Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apply Service "mysql-health" {
- import "generic-service"
- check_command = "mysql"
- display_name = "MySQL Health"
- vars.mysql_hostname = "127.0.0.1"
- vars.mysql_port = "3306"
- vars.mysql_username = "monitoring"
- vars.mysql_password = "<redacted>"
- assign where match("<redacted>", host.name)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement