Description

This template monitors metrics related to client request, storage and threadpool. It is applicable on devices containing Cassandra application.

Prerequisites

Java should be installed on the device. Gateway should be up and running. The device should be reachable from Gateway. The device should be in managed state.

How to Apply: For Cassandra, we have Instance Based Monitoring or Component Discovery Monitoring . In order to do that, we should add the following custom parameter:

application.component.name : ClientRequest

application.component.name : ThreadPool

Create different monitors for different components in Instance based monitoring.

Only one component is allowed per monitor in Instance based monitoring.

We have three different types of Component Discovery Monitoring. They are:

For a single component :

ALL : ALL your instances will be monitored.

Expression : The Instance Names that match the expression will be monitored.

Manual Selection : With this option, you can select the desired instances while applying templates to the device.

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

    cassandra.threadpools.currently_blocked_tasks_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of currently blocked tasks for the thread pool.
    CategoryApplication
    Collector TypeGateway
    Monitor NameCassandra Threadpool 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

    cassandra.threadpools.pending_tasks

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of pending tasks for the thread pool.
    CategoryApplication
    Collector TypeGateway
    Monitor NameCassandra Threadpool 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

    cassandra.threadpools.interrnal.total_blocked_tasks

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionTotal count of blocked tasks
    CategoryApplication
    Collector TypeGateway
    Monitor NameCassandra Threadpool 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

    cassandra.clientrequest.latency.75th_percentile

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe client request latency - p75.
    CategoryApplication
    Collector TypeGateway
    Monitor NameCassandra ClientRequest Monitor
    Unitmicrosec

    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

    cassandra.clientrequest.latency.95th_percentile

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe client request latency - p95.
    CategoryApplication
    Collector TypeGateway
    Monitor NameCassandra ClientRequest Monitor
    Unitmicrosec

    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

    cassandra.clientrequest.latency.one_minute_rate

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of client requests.
    CategoryApplication
    Collector TypeGateway
    Monitor NameCassandra ClientRequest Monitor
    UnitReq per Sec

    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

    cassandra.storage.exceptions.count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of exceptions thrown from Storage metrics.
    CategoryApplication
    Collector TypeGateway
    Monitor NameCassandra Storage 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