Monitoring::Plugin::Range(3pm)

Monitoring::Plugin::Range3pm

Class for handling monitoring::plugin range data.

Usage

    # NB: This is an internal Monitoring::Plugin class.
    # See Monitoring::Plugin itself for public interfaces.
    # Instantiate an empty range object
    $r = Monitoring::Plugin::Range->new;
    # Instantiate by parsing a standard nagios range string
    $r = Monitoring::Plugin::Range->parse_range_string( $range_str );
    # Returns true if the range is defined/non-empty
    $r->is_set;
    # Returns true if $value matches range, false otherwise
    $r->check_range($value);

Overview

Internal Monitoring::Plugin class for handling common range data. See Monitoring::Plugin for public interfaces.

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9
  2. 10–13

Author

This code is maintained by the Monitoring Plugin Development Team: see https://monitoring-plugins.org

From libmonitoring-plugin-perl 0.40-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.