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
Downtime Alerting
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Downtime Alerting
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)
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)
Re: Downtime Alerting
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.
I can't think of anywhere else it could be overridden.
Re: Downtime Alerting
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.
Re: Downtime Alerting
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.
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.