line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Nagios::Plugin::Performance; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
3777
|
use strict; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
122
|
|
4
|
3
|
|
|
3
|
|
14
|
use warnings; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
93
|
|
5
|
3
|
|
|
3
|
|
398
|
use Nagios::Plugin::Functions; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
294
|
|
6
|
3
|
|
|
3
|
|
1270
|
use Nagios::Plugin::Threshold; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
26
|
|
7
|
3
|
|
|
3
|
|
92
|
use base 'Monitoring::Plugin::Performance'; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
1757
|
|
8
|
|
|
|
|
|
|
our ($VERSION) = $Nagios::Plugin::Functions::VERSION; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub import { |
11
|
4
|
|
|
4
|
|
793
|
my ($class, %attr) = @_; |
12
|
4
|
|
100
|
|
|
28
|
$_ = $attr{use_die} || 0; |
13
|
4
|
|
|
|
|
15
|
Nagios::Plugin::Functions::_use_die($_); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__END__ |