line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Monitoring::Generator::TestConfig::ServiceCheckData; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
23
|
use strict; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
101
|
|
4
|
3
|
|
|
3
|
|
19
|
use warnings; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
317
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
######################################## |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=over 4 |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=item get_test_servicecheck |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
returns the test servicecheck plugin source |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=back |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=cut |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub get_test_servicecheck { |
20
|
1
|
|
|
1
|
1
|
4
|
my $self = shift; |
21
|
1
|
|
|
|
|
3
|
our $testservicecheck; |
22
|
1
|
50
|
|
|
|
5
|
return($testservicecheck) if defined $testservicecheck; |
23
|
1
|
|
|
|
|
2
|
$testservicecheck = do { local $/; }; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
41
|
|
24
|
1
|
|
|
|
|
17
|
return($testservicecheck); |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__DATA__ |