This can be achieved using the "ignore where"‎ clause in your notification 
apply rules for your services. 
A smart approach to this (imo) would be setting a host var such as 
vars.disableloadalert‎ = true and using that var within your ignore statement, 
such as:

ignore where service.name == "load_alert" && host.vars.disableloadalert
(please check the docs for the correct syntax, as my example might not be 
correct)

Regards,
Markus
 

 
Sent from my BlackBerry 10 smartphone.
 
 
 
From: Esteban Freire Garcia
Sent: Tuesday, November 17, 2015 12:54
To: icinga-users@lists.icinga.org
Subject: [icinga-users] Don't receive mail notifications for a specific service 
in some specific hosts



Hello all,

We would like to do not receive an e-mail notification for the 
"load_average" service and for some specific hosts since it is a known 
issue on these hosts but in any case, we would like to see this issue on 
the icinga2 dashboard.

Do you know an easy way to implement this approach on the configuration 
files?

We are using Icinga2.

Thanks in advance,
Esteban

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to