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 ?
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.
You can enrich the setup with more tagging rules for discriminations and then the correlations will be easy.
It’s good to check the topology Model if the full dependencies and correlations are provided Out-Of-The Box it fine to use it in the tagging rules, Otherwise you can define a new rules as per the below example.
By checking the solution you’ve documented, I’ve found the list of entities and explored the properties of this entity `dt.entity.cloud:aws:vpn`. 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 ?