What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
300.000 administrators have chosen PRTG to monitor their network. 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

Your Vote:

Up

Down

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 by  remyseven (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

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]



Please log in or register to enter your reply.


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.