check_ssh?
Roger
grunky at rockriver.net
Thu Feb 12 00:57:10 CET 2004
Jason Martin wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>I believe there is already a check_ssh plugin that does just that.
>
>- -Jason Martin
>
>
Ahh ok - I was doing this in checkcommands.cfg
# 'check_ssh' command definition
define command{
command_name check_ssh
command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 22
}
Now this..
# 'check_ssh' command definition
define command{
command_name check_ssh
command_line $USER1$/check_ssh -H $HOSTADDRESS$
}
And I'm getting output based on the protocol, not tcp open in x.xxx
seconds..
Thanks!
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list