line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Siebel::Srvrmgr::Daemon::Action::Check::Server; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
596102
|
use warnings; |
|
3
|
|
|
|
|
9
|
|
|
3
|
|
|
|
|
110
|
|
4
|
3
|
|
|
3
|
|
20
|
use strict; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
81
|
|
5
|
3
|
|
|
3
|
|
262
|
use Moose::Role 2.0401; |
|
3
|
|
|
|
|
4265
|
|
|
3
|
|
|
|
|
19
|
|
6
|
3
|
|
|
3
|
|
30492
|
use Siebel::Srvrmgr::Types; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
681
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.29'; # VERSION |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=pod |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Siebel::Srvrmgr::Daemon::Action::Check::Server - role for classes that hold Siebel server components information |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 DESCRIPTION |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
This package is a role, not a subclass of L<Siebel::Srvrmgr::Daemon::Action>. It is intended to be used by classes |
18
|
|
|
|
|
|
|
that provides information about components available in a Siebel server and which is their expected status. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head2 name |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
A string representing the name of the Siebel Server. |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=cut |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
has name => ( |
29
|
|
|
|
|
|
|
isa => 'NotNullStr', |
30
|
|
|
|
|
|
|
is => 'rw', |
31
|
|
|
|
|
|
|
required => 1, |
32
|
|
|
|
|
|
|
reader => 'get_name' |
33
|
|
|
|
|
|
|
); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=pod |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head2 components |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
An array reference with instances of classes that have the L<Siebel::Srvrmgr::Daemon::Action::Check::Component> |
40
|
|
|
|
|
|
|
role applied. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=cut |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
# :TODO :24/07/2013 12:41:06:: this has to be changed to a HashRef to enable searching objects by name |
45
|
|
|
|
|
|
|
has components => ( |
46
|
|
|
|
|
|
|
isa => 'ArrayRef[CheckCompsComp]', |
47
|
|
|
|
|
|
|
is => 'rw', |
48
|
|
|
|
|
|
|
required => 1, |
49
|
|
|
|
|
|
|
reader => 'get_components' |
50
|
|
|
|
|
|
|
); |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=pod |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 METHODS |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Each attribute has it's respective getter named as C<get_><attribute name>. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 SEE ALSO |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=over |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=item * |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
L<Siebel::Srvrmgr::Daemon::Action::Check::Component> |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=back |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 AUTHOR |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Alceu Rodrigues de Freitas Junior, E<lt>arfreitas@cpan.orgE<gt>. |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
This software is copyright (c) 2012 of Alceu Rodrigues de Freitas Junior, E<lt>arfreitas@cpan.orgE<gt>. |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
This file is part of Siebel Monitoring Tools. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Siebel Monitoring Tools is free software: you can redistribute it and/or modify |
79
|
|
|
|
|
|
|
it under the terms of the GNU General Public License as published by |
80
|
|
|
|
|
|
|
the Free Software Foundation, either version 3 of the License, or |
81
|
|
|
|
|
|
|
(at your option) any later version. |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Siebel Monitoring Tools is distributed in the hope that it will be useful, |
84
|
|
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
85
|
|
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
86
|
|
|
|
|
|
|
GNU General Public License for more details. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License |
89
|
|
|
|
|
|
|
along with Siebel Monitoring Tools. If not, see L<http://www.gnu.org/licenses/>. |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=cut |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
1; |