1Monitoring::Plugin::RanUgsee(r3)Contributed Perl DocumenMtoantiitoonring::Plugin::Range(3)
2
3
4
6 Monitoring::Plugin::Range - class for handling Monitoring::Plugin range
7 data.
8
10 # NB: This is an internal Monitoring::Plugin class.
11 # See Monitoring::Plugin itself for public interfaces.
12
13 # Instantiate an empty range object
14 $r = Monitoring::Plugin::Range->new;
15
16 # Instantiate by parsing a standard nagios range string
17 $r = Monitoring::Plugin::Range->parse_range_string( $range_str );
18
19 # Returns true if the range is defined/non-empty
20 $r->is_set;
21
22 # Returns true if $value matches range, false otherwise
23 $r->check_range($value);
24
26 Internal Monitoring::Plugin class for handling common range data. See
27 Monitoring::Plugin for public interfaces.
28
30 This code is maintained by the Monitoring Plugin Development Team: see
31 https://monitoring-plugins.org
32
34 Copyright (C) 2014 by Monitoring Plugin Team Copyright (C)
35 2006-2014 by Nagios Plugin Development Team
36
37 This library is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself.
39
40
41
42perl v5.28.0 2017-11-15 Monitoring::Plugin::Range(3)