line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Monitoring::Generator::TestConfig::ServiceCheckData; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
11
|
use strict; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
65
|
|
4
|
3
|
|
|
3
|
|
9
|
use warnings; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
230
|
|
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
|
2
|
my $self = shift; |
21
|
1
|
|
|
|
|
2
|
our $testservicecheck; |
22
|
1
|
50
|
|
|
|
3
|
return($testservicecheck) if defined $testservicecheck; |
23
|
1
|
|
|
|
|
5
|
while(my $line = ) { $testservicecheck .= $line; } |
|
268
|
|
|
|
|
352
|
|
24
|
1
|
|
|
|
|
20
|
return($testservicecheck); |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__DATA__ |