Hi Markus,

Thanks. that would explain the warnings in the startup.log I just found
"'Dependency' does not match anywhere!"

Regards
Henti

On Wed, May 27, 2015 at 8:49 AM, Markus Joosten <[email protected]>
wrote:

> Wildcard matching is as far as i know not supported by ==.
> You need to use the match() function, it's described in the docs.
>
> Regards,
> Markus
>
> Sent from my iPhone
>
> On 27 May 2015, at 08:20, Henti Smith <[email protected]> wrote:
>
> Good day all.
>
> I'm trying to get some dependencies in place for our monitoring.
>
> We have a DC network and an Internal network at the office. the networks
> are connected via two gateways.
>
> All hosts in the DC network has dc.domain.com suffix, while the internal
> network is int.domain.com.
>
> The monitoring server is in the DC.
>
> I've added the following config so all *.dc.domain.com hosts depends on
> the parent gw.dc.domain.com and all *.int.domain.com hosts depend on
> parent gw.int.domain.com.
>
> apply Dependency "dc-dep" to Host {
>   parent_host_name = "gw.dc.domain.com "
>   assign where host.name == "*.dc.domain.com"
>   states = [ OK ]
>   disable_checks = true
>   disable_notifications = true
> }
>
> apply Dependency "int-dep" to Host {
>   parent_host_name = "gw.int.domain.com "
>   assign where host.name == "*.int.domain.com"
>   states = [ OK ]
>   disable_checks = true
>   disable_notifications = true
> }
>
> My logic being that is the GW in INT is not accessible, I don't want
> notifications from the hosts in INT.
>
> Last night we had an outage, we received a DOWN notification for
> gw.int.domain.com, but I also received notifications for all the *.
> int.domain.com hosts.
>
> what am I missing ?
>
> Regards
> Henti
>
> --
> --
>
> _______________________________________________
>
> 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