Description
This template monitors metrics like slave status, system update, streams open, etc.
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.slave.status
Metric Details
Applicable for | Device |
Description | Provides information about the configuration and status of the connection between the slave server and the master server. |
Category | Application |
Collector Type | Gateway |
Monitor Name | G2 MySQL Database Miscellaneous 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 | EQUAL | Ends with, ==, !=, >=, <=, >, <, In Range, Out of range, Equals, Not equals, Equals Ignore Case, Not Equals Ignore Case, Contains, Not contains, Regex match, Regex no match, In string list, Not in string list, In List, Not in list, Starts with |
Critical Threshold | 0 | User defined |
Critical Repeat Count | 1 | 1-12 |
Alert | Yes | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
mysql.slave.seconds.behind.master
Metric Details
Applicable for | Device |
Description | The number of seconds that the slave SQL thread is behind processing the master binary log. A high number (or an increasing one) can indicate that the slave is unable to handle events from the master in a timely fashion. |
Category | Application |
Collector Type | Gateway |
Monitor Name | G2 MySQL Database Miscellaneous Monitor |
Unit | NULL |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | GREATER_THAN_EQUAL | Ends with, ==, !=, >=, <=, >, <, In Range, Out of range, Equals, Not equals, Equals Ignore Case, Not Equals Ignore Case, Contains, Not contains, Regex match, Regex no match, In string list, Not in string list, In List, Not in list, Starts with |
Warning Threshold | 10 | User defined |
Warning Repeat Count | 1 | 1-12 |
Critical Operator | GREATER_THAN_EQUAL | Ends with, ==, !=, >=, <=, >, <, In Range, Out of range, Equals, Not equals, Equals Ignore Case, Not Equals Ignore Case, Contains, Not contains, Regex match, Regex no match, In string list, Not in string list, In List, Not in list, Starts with |
Critical Threshold | 20 | User defined |
Critical Repeat Count | 1 | 1-12 |
Alert | Yes | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
mysql.system.uptime
Metric Details
Applicable for | Device |
Description | System Uptime |
Category | Application |
Collector Type | Gateway |
Monitor Name | G2 MySQL Database Miscellaneous Monitor |
Unit | m |
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 | Yes | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
mysql.streams.open
Metric Details
Applicable for | Device |
Description | The number of streams that are open (used mainly for logging). |
Category | Application |
Collector Type | Gateway |
Monitor Name | G2 MySQL Database Miscellaneous 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