Notification Problem
Marc Powell
marc at ena.com
Tue Sep 2 20:24:34 CEST 2008
Please always respond on-list so that others, now and in the future,
learn from your experience. More below --
On Sep 2, 2008, at 1:04 PM, Shaun Martin wrote:
> Hi Marc,
>
> Nagios will suppress service
> notifications if the host check returns a non-OK state.
>
> I had no idea the host has to be up for services to notify. That is
> my issue
> the host is not pingable from my network. How can I resolve this? As
> the
> host entry has to have the right ip for the services to work so I
> cannot
> change that to localhost. How do I disable the host check in such a
> way that
> the services still work and notify?
You have a few options --
- Change the host check_command to something that works when the host
is up and doesn't when it's down. Ping is just the most common case
but you can use any plugin/test you like.
- use the 'check_dummy' plugin instead of check_[ping,icmp,fping] to
always return an OK state for the host check.
- set active_checks_enabled in the host definition to '0'
- set the host check_period to 'none'
- do not specify the check_command directive _at all_ in the host
definition. You should also set the check_period to none.
--
Marc
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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