Remote Ping (Juniper)

Remote Ping for Juniper network devices.

Template is based on PowerShell (running locally on SolarWinds server) and is connecting via SSH Terminal, in order to execute Ping command.

Posh-SSH module is required:
https://www.powershellgallery.com/packages/Posh-SSH/

Command for installing Posh-SSH on servers with Internet access:
Install-Module -Name Posh-SSH

Example for terminal output:

admin@Router1> ping 8.8.8.8 count 5
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=113 time=15.323 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=113 time=20.315 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=113 time=16.870 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=113 time=18.468 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=113 time=14.983 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/stddev = 14.983/17.192/20.315/1.993 ms

{master:0}
admin@Router1>

Final result in SolarWinds: 

Take care, Marcin.