Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20396

SAM script to ping a host from another host

$
0
0

We have a Linux box which connects to a remote site over a VPN. This box is the only box with access to this VPN connection. Users ssh into this box then run a terminal application to do their job. We just had an incident where that VPN connection went down and we did not see this until users started calling us. The VPN is managed through our provider so we cannot setup any monitoring on it but the host the users connect to does respond to pings. What I want to do is simply run a SAM script to ssh into this Linux box, ping the remote host and return if it is dead or alive and for the life of me I just can't seem to figure it out. I've found many scripts online but can't seem to get them plugged into Solarwinds in anyway to report within Solarwinds.

 

I'm pretty good with vb scripting buy my Linux scripting is not good. Does anyone have a script already that does this.

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 20396

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>