Page 2 of 2

Re: openssh status

Posted: Thu Oct 31, 2013 10:57 am
by vvz
yes it works now!
Thnx a lot!!!!!

but what about
________________________________________________________________-
The check_ssh Plugin

check_ssh v1.5.git (nagios-plugins 1.5)
Copyright (c) 1999 Remi Paulmier <[email protected]>
Copyright (c) 2000-2007 Nagios Plugin Development Team
<[email protected]>

Try to connect to an SSH server at specified server and port

Usage:
check_ssh [-4|-6] [-t <timeout>] [-r <remote version>] [-p <port>] <host>
__________________________________________________________________-

it is taken from nagios docs
as you can see the last arguments <host>
is it only for remote hosts?

Re: openssh status

Posted: Thu Oct 31, 2013 11:02 am
by abrist
Yep. <host> is the host being checked. It should be passed by your command definition using the $HOSTNAME$ or $HOSTADDRESS$ macro.

Re: openssh status

Posted: Thu Oct 31, 2013 3:29 pm
by vvz
this topic should be closed
thank you for your help