communication #122257
openHook Cachet into Icinga
0%
Description
Train of thought:
There are some sample snippets in Shell and PHP on the internet about utilizing the Cachet API to change service statuses based on Icinga events. It would be nice to implement this and it should be fairly straight forward to add a simple status trigger API eveent, however as an added bonus it shouldn't just switch services between red and green whenever an event in Icinga changes, it should somehow keep track of a couple past events to gradually switch between green, orange, red and back. There could be a map file somewhere in Salt about which Cachet services relate to which Icinga services/hosts.
Files
Updated by cboltz over 1 year ago
- File status.o.o-2018-08-24--software.o.o-flapping.png status.o.o-2018-08-24--software.o.o-flapping.png added
This idea is not really new.
Someone tried this in the past, and the result was interesting[tm] - see the screenshot I just attached. Not to mention the 100 mails that were sent to everybody who subscribed to status.o.o notifications ;-)
Updated by crameleon over 1 year ago
I guess this is sort of what I meant - that it should track and group events instead of triggering 1:1 events. But interesting to know this was attempted in the past. Maybe it's remnants are still around somewhere?
Updated by luc14n0 over 1 year ago
What about using a testing VM instead of production, so no fear of spamming people/breaking status1?
Updated by crameleon over 1 year ago
If things were in Salt, that would be easy to set up. :-)