Exception for notifications in host/service templates

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
agustin.roca
Posts: 39
Joined: Tue Apr 28, 2015 10:28 am

Exception for notifications in host/service templates

Post by agustin.roca »

Hi guys! I have common templates for HDD, Ram, CPU, etc. They are categorized in high, med, low. Each new host is added to the corresponding category. THe low category only has notifications enabled for the timeperiod workhours. I was trying to think a way, if i need to do an exception for a host with low templates to send notifications 24x7. Without changing the template for that host to med. I was thinking in making a Hostgroup like Low_Exceptions where all servers in there will be notified 24x7. SOmething like that. Is that possible?

Thanks!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Exception for notifications in host/service templates

Post by tgriep »

If you assign the notification period directly to the host, it will override the period from the template.
That is what you could do.
Be sure to check out our Knowledgebase for helpful articles and solutions!
agustin.roca
Posts: 39
Joined: Tue Apr 28, 2015 10:28 am

Re: Exception for notifications in host/service templates

Post by agustin.roca »

Yes. that will only work for the host. As the service is applied to groups only. I want to do something that suits services also. Like an override to services when i put the host in a group.
Perhaps i can only do another template called low_exceptions and assigned that to the service individually.. Just thinking out loud...

Thanks!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Exception for notifications in host/service templates

Post by tgriep »

The way this works is the closest dependency to the host or service overrides the farther dependency.
So you could create a low_exception service template and assign it to the service and that should do it for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
agustin.roca
Posts: 39
Joined: Tue Apr 28, 2015 10:28 am

Re: Exception for notifications in host/service templates

Post by agustin.roca »

OK. Thanks for the answer. WIll see what i can think of.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Exception for notifications in host/service templates

Post by lmiltchev »

Let us know if it is OK to close this topic and mark it as "resolved". Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked