1Nagios::Plugin::Range(3U)ser Contributed Perl DocumentatiNoangios::Plugin::Range(3)
2
3
4
6 Nagios::Plugin::Range - class for handling Nagios::Plugin range data.
7
9 # NB: This is an internal Nagios::Plugin class.
10 # See Nagios::Plugin itself for public interfaces.
11
12 # Instantiate an empty range object
13 $r = Nagios::Plugin::Range->new;
14
15 # Instantiate by parsing a standard nagios range string
16 $r = Nagios::Plugin::Range->parse_range_string( $range_str );
17
18 # Returns true if the range is defined/non-empty
19 $r->is_set;
20
21 # Returns true if $value matches range, false otherwise
22 $r->check_range($value);
23
25 Internal Nagios::Plugin class for handling common range data. See
26 Nagios::Plugin for public interfaces.
27
29 This code is maintained by the Nagios Plugin Development Team: see
30 http://nagiosplug.sourceforge.net.
31
33 Copyright (C) 2006-2007 Nagios Plugin Development Team
34
35 This library is free software; you can redistribute it and/or modify it
36 under the same terms as Perl itself.
37
38
39
40perl v5.12.1 2010-04-15 Nagios::Plugin::Range(3)