I've got some VPNs that drop fairly frequently, and can be reset from either a web interface or SSH. The web interface is doesn't seem to have an API, so that's out.
So, my plan was to build something and create it in PRTG as an EXE notification that runs the SSH script to reset the VPN after it has been down for a time period. All without human interaction. Hooray for scripting.
The only problem is, I'm not sure which language presents the easiest access to building an EXE for the script.
Python can do it, but any implementation I've seen requires libraries I don't think are built into PRTG. And I'm not sure how to add those libraries.
So picking another language is generally the best thought. I've dabbled in many languages, and picking up another isn't a bit deal. I currently list capabilities in C#, VB.net, C++, Python, and Java.
Any ideas short of "solve the VPN dropping issue so you don't have this problem?"
Add comment