« lib/Monitoring/Generator/TestConfig/P1Data.pm
↑ Summary
lib/Monitoring/Generator/TestConfig/InitScriptData.pm »
| 1 | package Monitoring::Generator::TestConfig::ServiceCheckData; | ||||||||||
| 2 | |||||||||||
| 3 | 3 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 3 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 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 | 1 | ▶ | sub get_test_servicecheck { | ||||||||
|
Subroutine
get_test_servicecheck: called CC=2 SCAR=7.0
Pod
documented
| |||||||||||
| 20 | 1 | my $self = shift; | |||||||||
| 21 | 1 | our $testservicecheck; | |||||||||
| 22 | 1 | ▶ | return($testservicecheck) if defined $testservicecheck; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 23 | 1 | $testservicecheck = do { local $/; <DATA> }; | |||||||||
| 24 | 1 | return($testservicecheck); | |||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | 3 | 1; | |||||||||
| 28 | |||||||||||
| 29 | __DATA__ | ||||||||||