From fed372442b0605335c8668559c53dea8f7c00cce Mon Sep 17 00:00:00 2001 From: Thibault S <48209914+thibaults-centreon@users.noreply.github.com> Date: Thu, 30 Sep 2021 16:59:17 +0200 Subject: [PATCH] fix(azure/automation): health mode (#3164) --- cloud/azure/management/automation/mode/health.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud/azure/management/automation/mode/health.pm b/cloud/azure/management/automation/mode/health.pm index fc306dfc6..13f948c5a 100644 --- a/cloud/azure/management/automation/mode/health.pm +++ b/cloud/azure/management/automation/mode/health.pm @@ -18,7 +18,7 @@ # limitations under the License. # -package cloud::azure::integration::eventgrid::mode::health; +package cloud::azure::management::automation::mode::health; use base qw(cloud::azure::management::monitor::mode::health); @@ -29,8 +29,8 @@ sub check_options { my ($self, %options) = @_; $self->SUPER::check_options(%options); - $self->{az_resource_namespace} = 'Microsoft.EventGrid'; - $self->{az_resource_type} = 'namespaces'; + $self->{az_resource_namespace} = 'Microsoft.Automation'; + $self->{az_resource_type} = 'automationAccounts'; } 1;