Aborted connections


Job details

Name: Aborted connections
Platform: Mariadb
Category: Availability
Description: Checks the number of aborted client connections.
Long description: Checks the number of aborted client connections. Usually this is because of incorrect password or no matching host for the user. Aborted connections can also be caused by clients trying to connect with invalid or malformed connection strings.
Version: 1.2
Default schedule: 9,19,29,39,49,59 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & is_mariadb_branch=‘1′]/.[hasengine=‘YES’ & use_global_variables_performance_schema = ‘1′ ]

Parameters

Name Default value Description
warning threshold 20 The maximum value of aborted connects (over a period of time defined by the [time threshold] parameter) before a warning is triggered.
alarm threshold 100 The maximum value of aborted connects (over a period of time defined by the [time threshold] parameter) before an alarm is triggered.
threshold (time) 60 A period of time (in minutes) which must be passed (combined with the number of aborted connects) before an alarm or a warning is returned by the procedure.
enable warnings and alarms NO If set to “NO” (default), the alert will only collect statistics without returning status warning or alarm. Value “YES“ will activate the alert.
history threshold 7 The maximum number of day to kept statistics for in the historic tables.

Job Summary

SELECT VARIABLE_VALUE FROM performance_schema.global_status WHERE variable_name = 'ABORTED_CONNECTS';

Description of Operation

This job operates by:

Tables and Procedures

The following components are integral to the job:

Configuration Parameters

Dependencies

Monitoring Outputs

The monitoring setup includes visualization and reporting tools:

Conclusion

By monitoring aborted connections, the dbWatch job provides crucial insights into potentially disruptive issues affecting database connectivity. It assists system administrators in proactive maintenance and security measures to ensure the continuous, secure, and efficient operation of MariaDB servers.