Nagios::Plugin::Range(3pm)

Nagios::Plugin::Range3pm

Class for handling nagios::plugin range data.

Usage

    # NB: This is an internal Nagios::Plugin class. 
    # See Nagios::Plugin itself for public interfaces.
    # Instantiate an empty range object
    $r = Nagios::Plugin::Range->new; 
    # Instantiate by parsing a standard nagios range string
    $r = Nagios::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 Nagios::Plugin class for handling common range data. See Nagios::Plugin for public interfaces.

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7–8

Author

This code is maintained by the Nagios Plugin Development Team: see http://nagiosplug.sourceforge.net.

From libnagios-plugin-perl 0.36-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.