IntegrationenDatenbanken und Messaging
MySQL or MariaDB database überwachen mit DumbMonit
Logs in and runs a query: catches a database that is up but no longer answering.
DokumentationOffizielle Website: MariaDB and MySQL
Die Produktbeschreibungen sind englisch, wie im Produkt. Die Beschriftungen der Seite folgen Ihrer Sprache.
Was DumbMonit überwacht
Typischer Einsatz. Database: connection and a query you choose
Beispiele
- The database behind a WordPress
- A Nextcloud or a Kimai
- An application database
- A MariaDB in Docker
Wie die Verbindung läuft
Was Sie brauchen
- Username / passwordA read-only account created for monitoring, never an application one.
Standardport: 3306
Einrichtungsschritte: Monitor a MySQL or MariaDB database
In the mysql client, create an account with no privilege (adjust the host part to the DumbMonit machine).
CREATE USER 'dumbmonit'@'%' IDENTIFIED BY 'a-long-password';In DumbMonit, enter the server, for example db.home.lan:3307 (port 3306 by default), then the account's user and password.
Optional: replace the default query SELECT 1 with one that returns a single number, to chart it.
Hinweis. The check opens a real connection on every poll: on an instance close to its connection limit, give it a longer interval.