check if host is alive with check_ssh

Tony Earnshaw tonye at billy.demon.nl
Thu Jun 2 11:04:12 CEST 2005


tor, 02.06.2005 kl. 10.26 skrev Joost Saanen:

> Anyone have an solution to monitor several servers behind a firewall?
> The only port which nagios may go through is the SSH port (port 22).
> At the moment I use the command 'check_ssh' to check if a host is
> alive, this doesn't work pretty good, because sometimes I get an host
> down alert:
> 
> ***** Nagios  *********************************
> 
> Notification Type: PROBLEM
> Host: testserver
> State: DOWN
> Address: 95.135.65.229
> Info: CRITICAL - Plugin timed out after 10 seconds
> 
> Date/Time: Thu Mar 31 09:24:42 CEST 2005
> ************************************************
> 
> When I go to check the server there is no problem (the host is up).
> Also I never get any host up alert email. Anyone have a solution or
> know what goed wrong here? Thanks in advance ..

nrpe? daemon + plugins on each remote server, check_nrpe plugin on the
client, one port open in the firewall. This is no good for checking
printers, switches or suchlike.

--Tonni

-- 
mail: tonye at billy.demon.nl
http://www.billy.demon.nl




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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