arachnys / cabot

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

add prometheus alerts? #363

Open wkshare opened 8 years ago

wkshare commented 8 years ago

http://prometheus.io

cr0ssmind commented 7 years ago

+1 UP. It will be a very-very nice feature.

nitin02 commented 6 years ago

Is there any update on this?

JeanFred commented 6 years ago

@nitin02 In some part yes. Check plugins have now landed so it is easy to extend Cabot core functionality with plugins. We’d be happy to support someone interested in writing a Prometheus plugin. Not using Prometheus ourselves at Arachnys (only experimentally), we are not likely to work on that soon.

The documentation about writing check plugins lives at http://cabotapp.com/dev/writing-check-plugins.html

payton commented 6 years ago

We are also interested in this check being developed. I went ahead and started a basic implementation of it that executes Instant Queries.

https://github.com/widen/cabot-check-prometheus https://pypi.org/project/cabot-check-prometheus/

I'm very new to Django and am having some issues with the databasing aspect of things. I attempted to model this on the network check plugin. Whenever I actually create the plugin, an error is thrown since it does not yet exist in the database. I'm also having issues running the 'makemigrations' command. Any help would be appreciated on the proper steps to developing a check. Thanks!

screen shot 2018-05-25 at 10 34 29 am