23 Oct 2024 10:41 AM
Hello,
I want to monitor AWS VPNs with multiple tunnels. It can happen that only one tunnel IP fails, in this case the VPN won't fail but we would like to be alerted and to check the issue.
I've found this metric but I do not know how to use the dimensions to find the VPN custom_device id to which this tunner IP belongs.
Metric name : `ext:cloud.aws.vpn.tunnelStateByRegionTunnelIpAddress`
Dimensions: `dt.entity.custom_device_group`, `Region`, `TunnelIpAddress`
When monitoring the VPN state per TunnelIPAddress, is there a way to find the VPN id to which a tunnel IP belongs ?
Solved! Go to Solution.
23 Oct 2024 05:08 PM
Hello @flomaz
As per the available metrics
you can create metric events and you will be alerted upon valid alerting configurations
hoping it adds value
KR,
Peter
24 Oct 2024 08:18 AM - edited 24 Oct 2024 08:18 AM
Hello @Peter_Youssef ,
Thanks, yes, exactly, I would like to use metric events. I've configured a metric event with the metric "ext:cloud.aws.vpn.tunnelStateByRegionTunnelIpAddress" as I need the IP of the failed tunnel and the VPN id.
I generated an alert and was able to find the failling tunnel IP but not the VPN to which it belongs. Currently if an alerts occurs, the operation team will need to list all the IPS of all VPNs to find to which VPN this IP belongs.
KR,
Florent
24 Oct 2024 09:33 AM
Hi @flomaz
(1) - Generic Relationships
(2) - Generic Types
Dynatrace Ref:
Hoping it adds value.
BR,
Peter.
KR,
Peter.
24 Oct 2024 10:35 AM
Hi @Peter_Youssef ,
By checking the solution you've documented, I've found the list of entities and explored the properties of this entity `dt.entity.cloudvpn`. The field ipAddress is present but null in my case, do you know if it reserved for a future usage or if there is an issue during metadata retrieval such as missing permissions ?
fetch `dt.entity.cloudvpn`
| fieldsAdd ipAddress,listenPorts,entity.name,called_by,parent_of,accessible_by
KR,
Florent
25 Oct 2024 03:54 PM
Hi,
It seems that it is not possible. After checking with the support, I've submitted a new product idea.
KR,
Florent
25 Oct 2024 04:36 PM
Hello @flomaz
Happy for your progress, it's good to submit it with Dynatrace for a sooner built-in solution.
KR,
Peter