Re: Tool to measure ssh latency ("sshping") ?

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On 27.07.23 23:14, Roland Mainz wrote:
Before I start writing one myself...
... did anyone ever wrote a tool to measure the latency of a ssh
connection, a la "ping" ?

Umh ... Nagios(/Icinga/.../Monitoring) plugins?

[nagios@monitoring01 ~]$ PLUGINS="/usr/lib64/nagios/plugins"
[nagios@monitoring01 ~]$ $PLUGINS/check_tcp -H 172.28.225.35 -p 22
TCP OK - 0.002 second response time on 172.28.225.35 port 22|time=0.001993s;;;0.000000;10.000000
[nagios@monitoring01 ~]$ $PLUGINS/check_ssh -p 22 172.28.225.35
SSH OK - OpenSSH_7.4 (protocol 2.0) | time=0.020124s;;;0.000000;10.000000
[nagios@monitoring01 ~]$ time $PLUGINS/check_by_ssh -H 172.28.225.35 -C "/bin/echo OK: SSH login succeeded"
OK: SSH login succeeded

real    0m0.788s
user    0m0.051s
sys     0m0.010s

https://pkgs.org/search/?q=nagios-plugins

Kind regards,
--
Jochen Bern
Systemingenieur

Binect GmbH

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux