Before I ask my question, some background info...
I am working to build a template for a cloud networking solution that pulls in data from an the solutions API through an external script. This API reports the connection status(whether there up, down, active or ready) of the two possible WAN gateways so I am building my monitoring from these status's. I've already written a script for an external check so that it determines which which WAN connection is the primary connection and if a secondary is present. So far I have my template and script setup to bring both of the connections in through a single discovery check and prototype item in the discovery template, but I could change this if it will help accomplish my goals.
My question is this,
Is there a way to create a prototype trigger that would alert if the primary WAN went down on sites with a single internet connection, but for sites with dual connections only alert if both connections are down? I'll be pulling in data for dozens of sites with this setup that change frequently so doing this manually would get unmanageable rather quickly.
Thanks for any advise.
I am working to build a template for a cloud networking solution that pulls in data from an the solutions API through an external script. This API reports the connection status(whether there up, down, active or ready) of the two possible WAN gateways so I am building my monitoring from these status's. I've already written a script for an external check so that it determines which which WAN connection is the primary connection and if a secondary is present. So far I have my template and script setup to bring both of the connections in through a single discovery check and prototype item in the discovery template, but I could change this if it will help accomplish my goals.
My question is this,
Is there a way to create a prototype trigger that would alert if the primary WAN went down on sites with a single internet connection, but for sites with dual connections only alert if both connections are down? I'll be pulling in data for dozens of sites with this setup that change frequently so doing this manually would get unmanageable rather quickly.
Thanks for any advise.