From 6d003965b51b8b20aec52c320ae215ad3b0caf6e Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Sun, 11 Sep 2011 10:10:05 +0000 Subject: added not on connecting by hand once --- lib/Smokeping/probes/OpenSSHJunoOSPing.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/Smokeping/probes') diff --git a/lib/Smokeping/probes/OpenSSHJunoOSPing.pm b/lib/Smokeping/probes/OpenSSHJunoOSPing.pm index ce741f8..d993f4e 100644 --- a/lib/Smokeping/probes/OpenSSHJunoOSPing.pm +++ b/lib/Smokeping/probes/OpenSSHJunoOSPing.pm @@ -37,6 +37,12 @@ ${e}head2 JunOS configuration The JunOS device should have a username/password configured, as well as the ability to connect to the VTY(s). +Make sure to connect to the remote host once from the commmand line as the +user who is running smokeping. On the first connect ssh will ask to add the +new host to its known_hosts file. This will not happen automatically so the +script will fail to login until the ssh key of your juniper box is in the +known_hosts file. + Some JunOS devices have a maximum of 5 VTYs available, so be careful not to hit a limit with the 'forks' variable. -- cgit v1.2.3-24-g4f1b