On Wed, Sep 25, 2013 at 7:14 PM, Paul Dubuc <work@paul.dubuc.org> wrote:
Are event handlers run for a service or host that is in a scheduled downtime?
They are, as far as I can tell.
  I can't find any documentation on this.
Since downtimes are not explicitly mentioned, I think it's implied in the

"Event handlers [...] are run whenever a host or service state change occurs."
 
part of the introduction.

 I know notifications are
suppressed, though checks still run.  I would like the event handler for one
service not to run during a downtime.  Is that possible?
That, I don't know - as I'm sure you already know, the downtime depth ${HOST,SERVICE}DOWNTIME$ is not passed to the event handler, which otherwise would've been a viable solution to the problem.

It should be possible to do what you want by using, for example, NDO or livestatus to retrieve more status information about your objects. Or even parsing status.dat.

This seems like a pretty roundabout way (read: overkill) of accomplishing what you want, though.
 I'm sure someone else will chime in to suggest a better way if one exists.

--
Anton Löfgren             alofgren@op5.com
OP5 AB                       www.op5.com