I also thought that was the case, so I decided to try it.

I declared a host with 2 services, PING and SSH, and I waited until Nagios ran its first checks to make sure that everything was up.  Then I declared an hour of flexible downtime on the host, scheduled to start 5 minutes ago and to last for one hour.  I did this using the CGIs.

Once my command had been received, I turned off SSH (just SSH).  I would expect that, since I had declared downtime, I would not be notified about the SSH failure.  However, 10 minutes later I got an email telling me that SSH on the host was down.

So it looks to me like scheduling downtime just for the host will not automatically schedule downtime for the services on the host, and I can not assume that the host and its services will be going down at the same time.


-- A. Karl Kornel
Mindspeed Technologies, Inc.
[EMAIL PROTECTED]
(949) 579-3503


"Andrew Xenides" <[EMAIL PROTECTED]> wrote on 01/07/2003 05:02:13 AM:

> I think if a host is down it assumes that the services wont be up either.

>  
>
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Wednesday, February 08, 2006 12:00 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Scheduling downtime for all services in a host?

>  
>
> Dear fellow Nagios users,
>
>         Is there a way for me to schedule downtime automatically for
> all services on a host?  For reference, I'm using version 2.0rc2.
>
>         When I look at the commands that I can run for a host
> containing 2+ services, I see a link to schedule downtime for a
> host, but not for all of the services associated with that host.  
> However, if I look at the commands for a hostgroup or a
> servicegroup, I see that I can schedule downtime for all hosts or
> services in a hostgroup/servicegroup.  However, I do not want to
> schedule downtime for all hosts in a hostgroup, just one host.  And
> I do not have any service groups.
>
>         I did some searching of previous posts, and I have not been
> able to find anything helpful.  At this point it looks like the only
> way for me to declare downtime for all services by executing one
> command would be to create one servicegroup for each host in my configuration.
>
>         Does anyone have any more information on this?  Thanks in advance!
>
> -- A. Karl Kornel
> Mindspeed Technologies, Inc.
> [EMAIL PROTECTED]
> (949) 579-3503

Reply via email to