Downtime Alerting

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
sir-bob
Posts: 6
Joined: Thu Jul 17, 2014 9:04 am

Downtime Alerting

Post by sir-bob »

Hi All:

I'm hoping someone can help me with a problem. I would like to receive alerts when a host goes into scheduled downtime. The host configuration, notification_options is set to d,u,r,s where the "s" supposedly configures Nagios to send the downtime alert which does not happen. Is there perhaps another location where downtime alerts are globally disabled? My ultimate goal is to run a script when a particular host enters scheduled downtime.

Thanks in advance.
S
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Downtime Alerting

Post by jdalrymple »

Are you getting any of the other notifications, such as d,u,r,f?

If you're not getting notifications via E-mail as expected - can you see them being raised in the notifications view? (Notifications on the Left-Hand side under Reports)
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Downtime Alerting

Post by ssax »

You may have it defined on the host but did you check your contacts/host templates to make sure that it isn't overridden there?

I can't think of anywhere else it could be overridden.
sir-bob
Posts: 6
Joined: Thu Jul 17, 2014 9:04 am

Re: Downtime Alerting

Post by sir-bob »

Yes, I do receive email alerts for d,u,r,f etc. It is only downtime that I seem to not get alerts from. I am running version 4.0.7 of Nagios.
sir-bob
Posts: 6
Joined: Thu Jul 17, 2014 9:04 am

Re: Downtime Alerting

Post by sir-bob »

Hi Ssax

You got me looking where I didn't check, that was the contact template. The contact template had d,u,r,f for host_notification_options. I have added s and tested downtime and it is working as designed.

Thanks much for your help.

This can be closed.
Locked