Hello,
It was always a challenge on how to monitor a remote site, especially if a site had only network devices.
Sometimes we have access to Cisco IP SLA or Juniper RPM probes. However what can we do in other scenarios?
I have created new SAM Templates, which will help with such use case. My template supports IP address, Hostname, FQDN and DNS as a destination and it can be used to test connection to local or external resources. In my example I am pinging 8.8.8.8 Google DNS, so I am checking Internet connection from a remote site, using only a network device.
When using DNS record you can also verify, if DNS server is actually working on the remote site. It is also applicable for verifying Load Balancers.
I used Posh-SSH PowerShell module in order to log in to network device using PowerShell SAM Component. Component needs to be ran using "Local Host", so it is running locally on SolarWinds server.
Posh-SSH module is available in the official Microsoft PowerShell Gallery:
www.powershellgallery.com/.../
Command for installing Posh-SSH on servers with Internet access:
Install-Module -Name Posh-SSH
You can also download the module manually, however it is much easier to install it over the Internet.
Currently my templates support Cisco, Fortigate, Juniper and MikroTik devices.
I tested them using few different devices, so I hope everything will work fine. However if you would find any issues or need support for other vendors, please let me know.
Remote Ping (Cisco)
thwack.solarwinds.com/.../4244
Remote Ping (Forti)
thwack.solarwinds.com/.../4246
Remote Ping (Juniper)
thwack.solarwinds.com/.../4245
Remote Ping (MikroTik)
thwack.solarwinds.com/.../4247
Copy of SAM Templates in Github:
https://github.com/kpmarcin/SolarWinds/tree/main/SAM_Templates
Example for terminal output:
Router1>ping 8.8.8.8
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/25/31 ms
Router1>
Final result in SolarWinds:
Take care, Marcin.