Skip to main content

๐Ÿฌ MySQL Monitor

Monitors a MySQL database server to verify it's accepting connections.


โš™๏ธ Configurationโ€‹

SettingDescriptionDefault Port
HostDatabase server hostnameโ€”
PortMySQL port3306

๐Ÿ“Š What Gets Checkedโ€‹

The monitor opens a TCP connection to the MySQL port and reads the server greeting banner. This confirms:

  • โœ… MySQL service is running
  • โœ… Port is open and accepting connections
  • โœ… Network connectivity is working

๐Ÿ’ก Tipsโ€‹

  • This is a connection-level check. It doesn't execute queries or check database health.
  • Make sure your MySQL server allows connections from your Monitron server's IP (check bind-address in my.cnf).
  • For remote monitoring, your firewall must allow connections on port 3306 from the Monitron server.
  • Consider combining with a Heartbeat monitor that runs a health check query via cron.