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.

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.connected.threads.count

    Metric Details

    Metric Details
    Applicable forCLOUD_PAAS_DB
    DescriptionThe number of currently open connections.
    CategoryApplication
    Collector TypeGateway
    Monitor NameAdvanced Cloud MySQL Database Threads Monitor
    Unit

    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

    mysql.created.threads

    Metric Details

    Metric Details
    Applicable forCLOUD_PAAS_DB
    DescriptionThe 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.
    CategoryApplication
    Collector TypeGateway
    Monitor NameAdvanced Cloud MySQL Database Threads 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

    mysql.threads.cached.count

    Metric Details

    Metric Details
    Applicable forCLOUD_PAAS_DB
    DescriptionThe number of threads in the thread cache.
    CategoryApplication
    Collector TypeGateway
    Monitor NameAdvanced Cloud MySQL Database Threads Monitor
    Unit

    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

    mysql.running.threads

    Metric Details

    Metric Details
    Applicable forCLOUD_PAAS_DB
    DescriptionThe number of threads that are not sleeping.
    CategoryApplication
    Collector TypeGateway
    Monitor NameAdvanced Cloud MySQL Database Threads 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

    mysql.threads.stacksize

    Metric Details

    Metric Details
    Applicable forCLOUD_PAAS_DB
    DescriptionThe stack size for each thread. Many of the limits detected by the crash-me test are dependent on this value.
    CategoryApplication
    Collector TypeGateway
    Monitor NameAdvanced Cloud MySQL Database Threads Monitor
    Unit

    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