Nagios::Monitoring::Plugin::Range - class for handling Nagios::Monitoring::Plugin range data.
# NB: This is an internal Nagios::Monitoring::Plugin class. # See Nagios::Monitoring::Plugin itself for public interfaces. # Instantiate an empty range object $r = Nagios::Monitoring::Plugin::Range->new; # Instantiate by parsing a standard nagios range string $r = Nagios::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);
Internal Nagios::Monitoring::Plugin class for handling common range data. See Nagios::Monitoring::Plugin for public interfaces.
This code is maintained by the Nagios Plugin Development Team: see https://nagios-plugins.org/ .
Copyright (C) 2006-2015 Nagios Plugin Development Team
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Nagios::Monitoring::Plugin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nagios::Monitoring::Plugin
CPAN shell
perl -MCPAN -e shell install Nagios::Monitoring::Plugin
For more information on module installation, please visit the detailed CPAN module installation guide.