Hi,
Maybe you can define in you host template definition for all servers your
"notification_period=24x7 » and define in your service and host definition
definition. I do it like
object Host "Hostname"
.
.
vars.sla = "24x7"
.
.
}
***
apply Service "Servicename" {
.
.
vars.noti
I finally found this:
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/objectinheritance.html
Section "Implied Inheritance" and it solves my problem.
Best Regards,
Merci et bonne journée!
Caroline Paré | (418) 266-6656 # 24705
Chargée de projets et
Responsable des systèmes Li
Hi,
Is there a way to set the mail notification interval depending on the service's
state?
We have a context where we expect a notification interval of 1 week for a
WARNING level and an interval of 1 day when CRITICAL.
basically I set something like this (here I set 2 and 5 minutes ... to tes
On 08/11/2016 13:52, Bancal Samuel wrote:
basically I set something like this (here I set 2 and 5 minutes ... to
test faster ;) ) :
apply Notification "mail_two_levels" to Service {
import "mail-service-notification"
if ( service.state == "CRITICAL" ) {
interval = 2m
} else {
int
Thanks Gerald, that works!
Regards,
Samuel
On 08. 11. 16 14:02, Gerald Vogt wrote:
On 08/11/2016 13:52, Bancal Samuel wrote:
basically I set something like this (here I set 2 and 5 minutes ... to
test faster ;) ) :
apply Notification "mail_two_levels" to Service {
import "mail-service-not