DumbMonit

IntégrationsBases de données et messagerie

Surveiller MySQL or MariaDB database avec DumbMonit

Logs in and runs a query: catches a database that is up but no longer answering.

DocumentationSite officiel : MariaDB and MySQL

Les descriptions des produits sont en anglais, comme dans le produit. Les libellés de la page suivent votre langue.

Ce que DumbMonit surveille

Usage typique. Database: connection and a query you choose

Exemples

  • The database behind a WordPress
  • A Nextcloud or a Kimai
  • An application database
  • A MariaDB in Docker

Comment il se connecte

Ce qu'il faut

  • Username / passwordA read-only account created for monitoring, never an application one.

Port par défaut: 3306

Étapes de mise en place: Monitor a MySQL or MariaDB database
  1. 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';
  2. In DumbMonit, enter the server, for example db.home.lan:3307 (port 3306 by default), then the account's user and password.

  3. Optional: replace the default query SELECT 1 with one that returns a single number, to chart it.

À savoir. The check opens a real connection on every poll: on an instance close to its connection limit, give it a longer interval.