Remote Ping for Fortinet 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:
Router1 # config vdom
Router1 (vdom) # edit root
current vf=root:0
Router1 (root) # execute ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=114 time=14.6 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=114 time=14.6 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=114 time=14.7 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=114 time=15.0 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=114 time=14.7 ms
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 14.6/14.7/15.0 ms
Router1 (root) #
Final result in SolarWinds:
Take care, Marcin.