I have hacked together a Smokeping JunOS SSH plugin that supports VRFs (routing-instance) and logical systems.
- Download the plugin to your server.
- Install by copying the file into lib/Smokeping/probes directory under your smokeping installation (e.g. to /opt/smokeping/lib/Smokeping/probes)
- Add the following section to your smokeping config:
+ OpenSSHJunOSPing packetsize = [keep in mind that for JunOS 1472 is the max for 1500 L3 MTU] junospass = [pass] junosuser = [user] # feel free to change params below as you wish forks = 5 offset = 50% timeout = 15 step = 120
- Individual targets are configured as follows:
++ sample-target probe = OpenSSHJunOSPing menu = [menu name] title = [title] host = [destination IP to ping from JunOS device] pings = [numer of ICMP pings to send, e.g. 5] source = [JunOS device to login into] logicalsystem = [logical system name, optional] vrf = [routing-instance name, optional]