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

Metric Parameters
ParameterDescription
Frequency
  • Frequency is the interval in which you want to probe and collect metric data from the target device/resource
  • Frequency is defined in minutes (min).
  • Warning ThresholdIf the metric value satisfies the condition defined along with Warning Threshold value, then a notification is sent to the user.
    Critical ThresholdIf the metric value satisfies the condition defined along with Critical Threshold value, then a notification is sent to the user.
    AlertThe 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

    Metric Details
    Applicable forDevice
    DescriptionProvides information about the configuration and status of the connection between the slave server and the master server.
    CategoryApplication
    Collector TypeGateway
    Monitor NameG2 MySQL Database Miscellaneous Monitor
    UnitNULL

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical OperatorEQUALEnds 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 Threshold0User defined
    Critical Repeat Count11-12
    AlertYesYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    mysql.slave.seconds.behind.master

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe 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.
    CategoryApplication
    Collector TypeGateway
    Monitor NameG2 MySQL Database Miscellaneous Monitor
    UnitNULL

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning OperatorGREATER_THAN_EQUALEnds 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 Threshold10User defined
    Warning Repeat Count11-12
    Critical OperatorGREATER_THAN_EQUALEnds 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 Threshold20User defined
    Critical Repeat Count11-12
    AlertYesYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    mysql.system.uptime

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionSystem Uptime
    CategoryApplication
    Collector TypeGateway
    Monitor NameG2 MySQL Database Miscellaneous Monitor
    Unitm

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertYesYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    mysql.streams.open

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of streams that are open (used mainly for logging).
    CategoryApplication
    Collector TypeGateway
    Monitor NameG2 MySQL Database Miscellaneous Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph