6.6 Querying the Secure Shell Server
Monitoring of Secure Shell servers (irrespective of whether they use protocol version 1 or 2) is taken over by the plugin check_ssh
(included in the standard distribution). It is quite a simple construction and just evaluates the SSH handshake. User name and password are not required for the test.
Not to be confused with check_sshis
the plugin check_by_ssh
(see Chapter 9 from page 205), which starts plugins remotely on a different computer.
-H
address
/ --hostname=
address
Host name or IP address of the computer to which the plugin should set up an SSH connection.
-p
port
/ --port=
port
This specifies an alternative port. The default is 22.
-r
version
/ --remote-version=
version
The version details for the tested Secure ...
Get Nagios, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.