AW: check if host is alive with check_ssh

Sand Philipp Philipp.Sand at sycor.de
Thu Jun 2 10:42:52 CEST 2005


Hi,

the "Problem" with never getting a host UP Alert, has to be a setting in your contacts.cfg or your services.cfg oor your host.cfg, look at the manual for possible notification options.

One possibility to check hosts behind a firewall, is to set up a dedicated Nagios behind this firewall, and use nsca to send to check results to your central Nagios.

But the check_ssh thing should work, too. Are you using check_ssh in your host.cfg for check_host_alive?
Maybe it's a IDS on your Firewall, that blocks the IP of your Nagios server, when there are to many connections?

Philipp


_____________________________
 
Philipp Sand
OC-CC-TEC-SYS
 
SYCOR GmbH
Heinrich-von-Stephan-Straße 1-5
D - 37073 Göttingen
 
Telefon    +49 (0) 551 - 490 - 0
Telefax    +49 (0) 551 - 490 - 232468
 
philipp.sand at sycor.de
www.sycor.de
------------------------------------------------
 
> -----Ursprüngliche Nachricht-----
> Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] Im Auftrag von Joost Saanen
> Gesendet: Donnerstag, 2. Juni 2005 10:26
> An: nagios-users at lists.sourceforge.net
> Betreff: [Nagios-users] check if host is alive with check_ssh
> 
> hi there,
> 
> 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 ..
> 
> regards,
> Joost
> 
> 
> -------------------------------------------------------
> 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=fad-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


-------------------------------------------------------
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