Changing behavior of check-host-alive?

Rutger Blom rutger at blokje.net
Fri Nov 5 21:09:21 CET 2010


That sounds like the correct way of doing it.

/Rutger

On Fri, Nov 5, 2010 at 8:51 PM, RT <rt at ragweed.net> wrote:

> Using: Nagios 3.2.2.
>
> By default, Nagios considers a host down if it is unreachable by ICMP. From
> what I understand, if a host is unreachable, then further notifications for
> the host are disabled.
>
> We have a hostgroup that is always reachable by ICMP (the hosts are usually
> exhausted of memory and hard-lock) and should only be considered "down" if
> SSH isn't available. The desired behavior would be to suppress all other
> notifications for the host if SSH is unreachable.
>
> Is this accomplished by altering the 'check_command check-host-alive'
> within the host template and creating a new 'check-host-by-ssh' command in
> the Command Definitions?
>
>  Thank you for your help.
>
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> 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
>



-- 
Rutger Blom
Luzernvägen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101105/8fb97316/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
-------------- next part --------------
_______________________________________________
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