preventing hostup check, only service check

Marc Powell marc at ena.com
Fri Feb 15 21:11:21 CET 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Kevin Menard
> Sent: Friday, February 15, 2008 1:50 PM
> To: Larry Low; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] preventing hostup check, only service
check
> 
> On 2/15/08 2:46 PM, "Larry Low" <llow at telesphere.com> wrote:
> 
> > Or set your check_period to a timeperiod without any time in it.
> 
> Good to know.  I always assumed that would be an invalid state for
Nagios.

The sample config files come with a 'none' timeperiod defined --

define timeperiod {
    timeperiod_name                none
    alias                          No Time Is A Good Time
    }

You can also not specify the check_command directive for the host{}
(i.e. leave the entire directive out).

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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