Host is defined as this:
 object Host "testing" {
        import "satellite-host"
        check_command = "cluster-zone"
}
Zone:
object Zone "testing" {
        endpoints = [ "testing" ]
}
Endpoint
object Endpoint "testing" {
}

It was imported via icinga2 node update-config

-----Original Message-----
From: icinga-users [mailto:[email protected]] On Behalf Of 
Gerald Vogt
Sent: Tuesday, June 14, 2016 8:05 AM
To: [email protected]
Subject: Re: [icinga-users] Notifications?

You have posted the service object. What is the definition of the notification 
object? Does that evaluate those variables at all?

-Gerald

On 14.06.16 08:03, Jakub Šídlo wrote:
> Hi there,
>
>
>
> I’ve bit of a problem with Icinga2 clients (both Windows and Linux 
> node)
>
> I’ve connected few windows servers to our Icinga2 via Icinga client 
> for windows (and Linux node install)
>
> but check_updates keeps being critical with updates being ready for 
> installation (cannot install them when they come out since those’re 
> production servers)
>
> I tried to configure the update like this:
>
>
>
> object Service "updates" {
>
>                 import "satellite-service"
>
>                 check_command = "dummy"
>
>                 host_name = "testing"
>
>                 zone = "testing"
>
>                 vars.notification_interval = 24h
>
>                 vars.notification_period = "24x7"
>
> }
>
>
>
> But the notifications are still being sent at roughly 15 minute 
> intervals (even when I changed notification_interval to 0 nothing 
> happened)
>
>
>
> JS
>
>
>
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.icinga.org/mailman/listinfo/icinga-users
>
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to