Hi. We have a lot of fortigate firewalls that we monitor with our PRTG installation. Recently we have implemented failover vpn configuration. There are 2 vpn tunnels to another firewall over 2 different interfaces. The secondary tunnel will only go active when the primary tunnel goes down. This happens automatically. In prtg I have two traffic sensors that monitor the vpn tunnels. But the secondary is normally down and will be shown as down. (this is correct). Can I make a dependency between those two traffic sensors? I want the secondary vpn tunnel sensor paused when the primary is up and vice versa.

Thanks.


Article Comments

Hello,

Thank you for your message.

Regarding what you would like to achieve, the dependencies can't be used otherwise you will get both sensors in down and paused state respectively.

However, you have the possibility to execute a custom script (via a notification template) to make 2 API calls:

  • Pause the current sensor
  • Resume the sensor for the second tunnel (and vice-versa)

You need then to create 2 notifications templates, one for the first VPN tunnel and an other for the second tunnel. You will find the API calls to resume/pause a sensor right here: Pausin/Resuming (API)

If you have questions, let us know.

Regards.


Jan, 2021 - Permalink