openssh status

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
vvz
Posts: 187
Joined: Wed Oct 30, 2013 5:15 pm

Re: openssh status

Post 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 <remi@sinfomic.fr>
Copyright (c) 2000-2007 Nagios Plugin Development Team
<nagiosplug-devel@lists.sourceforge.net>

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?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: openssh status

Post by abrist »

Yep. <host> is the host being checked. It should be passed by your command definition using the $HOSTNAME$ or $HOSTADDRESS$ macro.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
vvz
Posts: 187
Joined: Wed Oct 30, 2013 5:15 pm

Re: openssh status

Post by vvz »

this topic should be closed
thank you for your help
Locked