cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TunnelState (by Region and TunnelIpAddress) metric : how to find the VPN id ?

flomaz
Participant

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 ?

 

7 REPLIES 7

Peter_Youssef
Champion

Hello @flomaz 

As per the available metrics

2024-10-23_20h00_00.png

you can create metric events and you will be alerted upon valid alerting configurations 

2024-10-23_20h03_17.png

hoping it adds value

KR,

Peter

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

 

 

Hi @flomaz 

  1. You can enrich the setup with more tagging rules for discriminations and then the correlations will be easy.
  2. 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.

(1) - Generic Relationships

2024-10-24_12h10_48.png

2024-10-24_12h13_37.png

2024-10-24_12h16_22.png

(2) - Generic Types

2024-10-24_12h24_24.png

2024-10-24_12h25_14.png

2024-10-24_12h26_48.png

2024-10-24_12h27_59.png

2024-10-24_12h30_08.png

2024-10-24_12h30_51.png

2024-10-24_12h31_39.png

Dynatrace Ref:

Hoping it adds value.

BR,

Peter.

KR,

Peter. 

Hi @Peter_Youssef 

Thanks, this looks like an interesting feature. I will try this.

 

KR,

Florent

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.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 ?

fetch `dt.entity.cloud:aws:vpn`
| fieldsAdd ipAddress,listenPorts,entity.name,called_by,parent_of,accessible_by

 KR,
Florent

Hi,
It seems that it is not possible. After checking with the support, I've submitted a new product idea.

KR,
Florent

Hello @flomaz 

Happy for your progress, it's good to submit it with Dynatrace for a sooner built-in solution.

KR,

Peter

Featured Posts