Pular para o conteúdo principal

🐬 MySQL Monitor

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


⚙️ Configuracao

ConfiguracaoDescricaoDefault 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

💡 Dicas

  • 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.