Windows OpManger SSH script

Windows OpManger SSH script

I want to create a script that we can execute when a VPN connection stalls.  We monitor remote devices via VPN via their private IP, we have the public IP defined in the notes of the device as " Static WAN IP"

Here is what I'd like to do.

1: On a missed poll I'd like to ping the private IP that is the primary IP of the device in OpManger
2: If that fails Ping the Static WAN IP we have defined in the notes
3: If that is successful then ssh to the VPN concentrator and clear the IKEV1 session using the Static WAN IP defined in the notes as an additional field.

is this even possible with work flows?

                  New to ADSelfService Plus?