Page 1 of 1

Service and host notification settings

Posted: Thu Dec 27, 2018 8:46 am
by Dragonslicer
I ran into an issue that may or may not be a bug. I wasn't getting recovery notifications for a service until I set the notification_options for the host that the service is under to include recovery. The notification_options for the service included recovery, but the host didn't have notification_options set (I assume the default value doesn't include recovery).

It makes sense that the filtering for notifications checks both the service and the host, but the documentation isn't quite clear about it. If this is the intended behavior, could the documentation be updated to be more explicit about it?

Thanks.

Re: Service and host notification settings

Posted: Thu Dec 27, 2018 2:34 pm
by npolovenko
Hello, @Dragonslicer. If recovery notifications were not enabled for a host but enabled for a service, they should still work for a service. What version of Core are you running and what is the OS? I will try to replicate this issue in the lab.

Re: Service and host notification settings

Posted: Thu Dec 27, 2018 6:50 pm
by Dragonslicer
It's CentOS 7.4.1708, running Nagios 4.3.4 from the repository.

I tried testing it briefly again today (removed notification_options from the host), and I couldn't reproduce the issue, so there must have been something else wrong in my configuration somewhere. I may try playing around with it some more to see if I can get it to happen again. If not, sorry for the false alarm.

Re: Service and host notification settings

Posted: Fri Dec 28, 2018 12:24 pm
by npolovenko
@Dragonslicer, Sounds good. Keep us updated!