On Wednesday 07 December 2016 at 18:13:03, isaac rodriguez wrote:

> The reason I ask is because I am trying to aggregate notifications. I
> have some services that run across multiple endpoints, and I don't want
> to get spammed with say 40 emails if a service dies on 40 nodes. I was
> hoping that by grouping endpoints into zones in a high-availability
> setup, I could send one notification for the zone. If my reasoning is
> completely wrong there, then is there a solution to the notification
> problem that doesn't require me writing a separate service check to look
> at all the endpoints?

I would say:

1. Yes, you can group endpoints in a high-availability setup, but think of 
hostgroups, not zones.

2. Zones are very specifically for Icinga's configuration management; don't try 
to (ab)use them for anything else.

3. Are you familiar with "apply" and "assign where ..." (see section 3.5 of 
https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/monitoring-
basics ), which should then make your definitions of service checks a lot 
simpler?

4. What did you make of Michael Martinez' answer to your previous question on 
this topic https://lists.icinga.org/pipermail/icinga-users/2016-
November/011523.html ?  I personally found that very helpful in creating an 
"aggregate check" which I happened to need to do last week.


Regards,


Antony.

-- 
This is not a rehearsal.
This is Real Life.

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to