From 32b6c8ddccc72e028877466671637c3d3f0bda8c Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Fri, 30 Oct 2015 10:38:35 +0100 Subject: [PATCH] + Fix #4 --- connectors/vmware/src/centreon/vmware/cmdalarmdatacenter.pm | 1 - connectors/vmware/src/centreon/vmware/cmdalarmhost.pm | 1 - 2 files changed, 2 deletions(-) diff --git a/connectors/vmware/src/centreon/vmware/cmdalarmdatacenter.pm b/connectors/vmware/src/centreon/vmware/cmdalarmdatacenter.pm index 0f6b46418..ad51078c7 100644 --- a/connectors/vmware/src/centreon/vmware/cmdalarmdatacenter.pm +++ b/connectors/vmware/src/centreon/vmware/cmdalarmdatacenter.pm @@ -108,7 +108,6 @@ sub run { $self->{manager}->{output}->output_add(severity => 'OK', 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 $dc_alarms = {}; my $new_datas = {}; diff --git a/connectors/vmware/src/centreon/vmware/cmdalarmhost.pm b/connectors/vmware/src/centreon/vmware/cmdalarmhost.pm index e3ecdbb31..af9b1983d 100644 --- a/connectors/vmware/src/centreon/vmware/cmdalarmhost.pm +++ b/connectors/vmware/src/centreon/vmware/cmdalarmhost.pm @@ -107,7 +107,6 @@ sub run { $self->{manager}->{output}->output_add(severity => 'OK', 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 $host_alarms = {}; my $new_datas = {};