openSUSE Project Management Tool: Issueshttps://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842022-12-20T20:43:48ZopenSUSE Project Management Tool
Redmine openSUSE admin - communication #122257 (New): Hook Cachet into Icingahttps://progress.opensuse.org/issues/1222572022-12-20T20:43:48Zcrameleongeorg.pfuetzenreuter@suse.com
<p>Train of thought:<br>
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.</p>