From de1997c47bd247726873a79ba40aa8eee7b38b6e Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Tue, 15 Oct 2019 10:33:19 +0200 Subject: [PATCH] enh aws rds discovery --- centreon-plugins/cloud/aws/rds/mode/discovery.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/centreon-plugins/cloud/aws/rds/mode/discovery.pm b/centreon-plugins/cloud/aws/rds/mode/discovery.pm index ff3decc7c..0e6c9b878 100644 --- a/centreon-plugins/cloud/aws/rds/mode/discovery.pm +++ b/centreon-plugins/cloud/aws/rds/mode/discovery.pm @@ -68,6 +68,12 @@ sub run { $rds{instance_class} = $db_instance->{DBInstanceClass}; $rds{availability_zone} = $db_instance->{AvailabilityZone}; $rds{vpc_id} = $db_instance->{DBSubnetGroup}->{VpcId}; + $rds{engine} = $db_instance->{Engine}; + $rds{engine_version} = $db_instance->{EngineVersion}; + $rds{db_name} = $db_instance->{DBName}; + $rds{endpoint_host_zone_id} = $db_instance->{Endpoint}->{HostedZoneId}; + $rds{endpoint_port} = $db_instance->{Endpoint}->{Port}; + $rds{endpoint_address} = $db_instance->{Endpoint}->{Address}; push @disco_data, \%rds; }