arachnys / cabot

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

Configuration of checks from a config file #376

Open msoedov opened 8 years ago

msoedov commented 8 years ago

Is there any way to configure checks/graphite queries from json/yaml/text based config file? Similar to this https://github.com/ybrs/graphite-alerts/blob/master/config-sample.yml#L11-L23

dbuxton commented 8 years ago

@JeanFred?

msoedov commented 8 years ago

I think it's is nice thing to have because the systems which has more than 10 key namespaces in graphite becomes really hardly to set up and maintain. But if it would have config file for checks it was easy to setup via configuration management tools like anisble or chef

JeanFred commented 8 years ago

@msoedov This is not yet part of Cabot, unfortunately. I feel your pain in setting recurrent checks for many instances… I had started building an Ansible module to automate it (by interacting with Cabot REST API), but never got around finishing it either. Some YAML-based (or else) config files would definitely be a nice feature though.

yuribit commented 8 years ago

I've been using cabot-conf which uses Cabot REST API to configure checks from a json file.

JeanFred commented 8 years ago

Thanks for the link @yuribit ! Looks interesting!

msoedov commented 8 years ago

Nice! @yuribit

MrSaints commented 7 years ago

There's a Terraform provider (WIP) for Cabot if anyone's still interested.