Nagios::Plugin::Range - class for handling Nagios::Plugin range data.


Nagios-Plugin documentation  | view source Contained in the Nagios-Plugin distribution.

Index


NAME

Top

Nagios::Plugin::Range - class for handling Nagios::Plugin range data.

SYNOPSIS

Top

    # 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);




DESCRIPTION

Top

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

AUTHOR

Top

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

COPYRIGHT AND LICENSE

Top


Nagios-Plugin documentation  | view source Contained in the Nagios-Plugin distribution.