Description

Monitors Postgres DB agent metrics like database connections, tables rows count, maximum connections, user table 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

    postgresql.database.connections

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of active connections to postgres database.
    CategoryApplication
    Collector TypeGateway
    Monitor NameG2 PostgreSQL Database Connection Statistics Monitor
    UnitNULL

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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

    postgresql.settings.connection

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of connections to this database as a fraction of the maximum number of allowed connections.
    CategoryApplication
    Collector TypeGateway
    Monitor NameG2 PostgreSQL Database Connection Statistics Monitor
    UnitNULL

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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

    postgresql.user_tables.rows_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of rows scans.
    CategoryApplication
    Collector TypeGateway
    Monitor NameG2 PostgreSQL Database Connection Statistics Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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

    postgresql.max_connections

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe maximum number of client connections allowed to this database shown as connection.
    CategoryApplication
    Collector TypeGateway
    Monitor NameG2 PostgreSQL Database Connection Statistics Monitor
    UnitNULL

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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

    postgresql.user.table.count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionIt monitors the number of user tables in current database.
    CategoryApplication
    Collector TypeGateway
    Monitor NameG2 PostgreSQL Database Connection Statistics Monitor
    UnitNULL

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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