Description
This template monitors metrics like threads stacksize, connected threads count, created threads, running threads, threads cached count.
Prerequisites
The database you want to monitor should connect from the Gateway. Gateway Management profile should be added to the device. Database type credentials should be added against the device in the portal. While applying the template, the database port, Database Name, connection timeout need to be specified.
Metric Parameters
Parameter | Description |
---|---|
Frequency | Warning Threshold | If the metric value satisfies the condition defined along with Warning Threshold value, then a notification is sent to the user. |
Critical Threshold | If the metric value satisfies the condition defined along with Critical Threshold value, then a notification is sent to the user. |
Alert | The alert value can be set to either Yes or No. If it is Yes, then an alert message is sent to the user. |
Metrics
mysql.connected.threads.count
Metric Details
Applicable for | Device |
Description | The number of currently open connections. |
Category | Application |
Collector Type | Gateway |
Monitor Name | G2 MySQL Database Threads Monitor |
Unit | NULL |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
mysql.created.threads
Metric Details
Applicable for | Device |
Description | The number of threads created to handle connections. If Threads_created is big, you may want to increase the thread_cache_size value. The cache miss rate can be calculated as Threads_created/Connections. |
Category | Application |
Collector Type | Gateway |
Monitor Name | G2 MySQL Database Threads Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
mysql.threads.cached.count
Metric Details
Applicable for | Device |
Description | The number of threads in the thread cache. |
Category | Application |
Collector Type | Gateway |
Monitor Name | G2 MySQL Database Threads Monitor |
Unit | NULL |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
mysql.running.threads
Metric Details
Applicable for | Device |
Description | The number of threads that are not sleeping. |
Category | Application |
Collector Type | Gateway |
Monitor Name | G2 MySQL Database Threads Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
mysql.threads.stacksize
Metric Details
Applicable for | Device |
Description | The stack size for each thread. Many of the limits detected by the crash-me test are dependent on this value. |
Category | Application |
Collector Type | Gateway |
Monitor Name | G2 MySQL Database Threads Monitor |
Unit | NULL |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph