+ Fix #4
This commit is contained in:
parent
eaf8b91988
commit
32b6c8ddcc
|
@ -108,7 +108,6 @@ sub run {
|
||||||
$self->{manager}->{output}->output_add(severity => 'OK',
|
$self->{manager}->{output}->output_add(severity => 'OK',
|
||||||
short_msg => sprintf("No current alarms on datacenter(s)"));
|
short_msg => sprintf("No current alarms on datacenter(s)"));
|
||||||
|
|
||||||
my $alarmMgr = centreon::vmware::common::get_view($self->{connector}, $self->{connector}->{session1}->get_service_content()->alarmManager, undef);
|
|
||||||
my $total_alarms = { red => 0, yellow => 0 };
|
my $total_alarms = { red => 0, yellow => 0 };
|
||||||
my $dc_alarms = {};
|
my $dc_alarms = {};
|
||||||
my $new_datas = {};
|
my $new_datas = {};
|
||||||
|
|
|
@ -107,7 +107,6 @@ sub run {
|
||||||
$self->{manager}->{output}->output_add(severity => 'OK',
|
$self->{manager}->{output}->output_add(severity => 'OK',
|
||||||
short_msg => sprintf("No current alarms on host(s)"));
|
short_msg => sprintf("No current alarms on host(s)"));
|
||||||
|
|
||||||
my $alarmMgr = centreon::vmware::common::get_view($self->{connector}, $self->{connector}->{session1}->get_service_content()->alarmManager, undef);
|
|
||||||
my $total_alarms = { red => 0, yellow => 0 };
|
my $total_alarms = { red => 0, yellow => 0 };
|
||||||
my $host_alarms = {};
|
my $host_alarms = {};
|
||||||
my $new_datas = {};
|
my $new_datas = {};
|
||||||
|
|
Loading…
Reference in New Issue