Maximum connections alert


Job details

Name: Maximum connections alert
Platform: Mariadb
Category: Availability
Description: Collects uptime statistics for the MariaDB instance.
Long description:
Version: 1.21
Default schedule: 10m
Requires engine install: No
Compatibility tag: .[type=‘instance’ & is_mariadb_branch=‘1′]

Parameters

Name Default value Description
used_alarm_threshold 95 Connections used out off max connections percent for triggering alarm
used_warning_threshold 90 Connections used out off max connections percent for triggering warning

Job Summary

SHOW VARIABLES LIKE 'max_connections';
SHOW STATUS LIKE 'Threads_connected';

Job Details

Metric Details
Name MariaDB max connections
Description Monitoring maximum database connections and alerting based on thresholds
Version 1.21
Company dbwatch.com
Category Availability
Default Schedule Every 10 minutes
Alarm Threshold 95% usage of maximum connections triggers an alarm
Warning Threshold 90% usage of maximum connections triggers a warning

Compatibility and Installation

This monitoring job is specifically compatible with MariaDB instances (where ‘is_mariadb_branch’ is set to ‘1′). It should be installed on instances where the maximum number of connections needs to be closely monitored to prevent database access issues.

Alerting Logic

Monitoring and Reporting

The information about the connection usage is reported in detail in the provided output format. The results include real-time statuses of current usage rates versus the thresholds set, helping administrators keep a pulse on the health and performance of the database in terms of connection availability.