Project

General

Profile

Actions

communication #122257

open

Hook Cachet into Icinga

Added by crameleon over 1 year ago. Updated 8 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Monitoring
Target version:
-
Start date:
2022-12-20
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by crameleon over 1 year ago

  • Private changed from Yes to No
Actions #2

Updated by cboltz over 1 year ago

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 ;-)

Actions #3

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?

Actions #4

Updated by luc14n0 over 1 year ago

What about using a testing VM instead of production, so no fear of spamming people/breaking status1?

Actions #5

Updated by crameleon over 1 year ago

If things were in Salt, that would be easy to set up. :-)

Actions #6

Updated by luc14n0 over 1 year ago

Good point :D

Actions #7

Updated by luc14n0 8 months ago

I'd like to point out that Cachet 3.x[1] might come true. So, it's probably a good idea to wait for it -- I assume we'd like to migrate to that --, not that we're in a rush here 😝

  1. https://blog.cachethq.io/cachet-3-x-announcement/
Actions

Also available in: Atom PDF