What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Alert Action: Execute Python Script to Connect to Cisco ASA

Votes:

0

Hello,

I'm trying to accomplish the following:

- We care currently monitoring a site to site VPN tunnel (Cisco ASA to Meraki MX) - After certain period of time, the tunnel stops passing traffic - Only solution we found is to bounce the tunnel on the Cisco ASA - I know you can run python script to connect to ASA; we'd have to login, enable then run the following: 'clear crypto ipsec sa peer x.x.x.x' - Is this doable from PRTG?

ciscso-asa meraki prtg

Created on Aug 14, 2018 4:39:20 PM



1 Reply

Votes:

0

Absolutely. We can do this with a Custom Script sensor. You would create your Python Script, have it return anything, if you like, and then envoke it with a PRTG sensor. The sensor will run it at every scanning interval.

Here is our manual page regarding custom sensors.

Let me know if you have any questions.

Benjamin Day
Paessler Support

Created on Aug 14, 2018 10:16:24 PM by  Benjamin Day [Paessler Support] (1,441) 2 1




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.