arachnys / cabot

Self-hosted, easily-deployable monitoring and alerts service - like a lightweight PagerDuty
MIT License
5.59k stars 593 forks source link

Summarize checks statuses ? #241

Open go-online opened 9 years ago

go-online commented 9 years ago

Is there any way to export a periodically report of checks' statuses?

Let's say I'd like to create some email template every week that sums up:

216 Warnings 47 Errors 2 Criticals

Any idea how to start go for it?

Thanks!

blysik commented 9 years ago

When the email goes out, is it just checking what's currently in warning/error/critical?

If so, you could create an external script that uses the api to do this easily.