arachnys / cabot

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

Support Influxdb #151

Open JulienChampseix opened 9 years ago

JulienChampseix commented 9 years ago

Hi Team,

that's could be usefull to have the influxdb support for metrics part.

Is it something already think or planned ?

Thanks for your feedback. Julien

JulienChampseix commented 9 years ago

any comment ?

jonathanballs commented 9 years ago

Hi Julien,

We are currently working on a plugin architecture for Cabot which should hit master sometime in the next few weeks. Once that happens, we'll look in to influxdb.

Jonny

JulienChampseix commented 9 years ago

@bonniejools Great ! Keep me inform (if you can) soon you have something working, i'll be happy to test it ;)

rishid commented 9 years ago

Side feature related to influxdb and/or graphite checks -- in my environment we have more than one influxdb cluster per region. It would be awesome to only have to run one instance of cabot and be able to select the instance per check.

dever860 commented 9 years ago

+1

hanej commented 9 years ago

+2

JulienChampseix commented 9 years ago

@bonniejools any news ?

rishid commented 9 years ago

It would probably make sense to wait for InfluxDb v0.9 as the query language is going to change significantly. It is due in the next couple weeks.

jonathanballs commented 9 years ago

@JulienChampseix Alert Plugins are nearing completion and once they do we will be working on checks. I'll give an update once we start working on them.

I assume that influxdb would be a 'check' rather than an alert so it will have to wait. Though given that several others have displayed interest in this feature, it is definitely on the todo list.

JulienChampseix commented 9 years ago

Perfect, hope to test them soon for influxdb part. Have you an estimation when that could be ready ?

jonathanballs commented 9 years ago

@JulienChampseix @rishid @hanej @dever860 Good news folks. Alert plugins were merged to master in #167 so I'll be focussing on check plugins. I'll keep you updated in a new issue as I go on.

rishid commented 9 years ago

Cool, you probably want to wait for influxdb v0.9 coming out next week which has breaking API changes. It shouldn't be too different.

JulienChampseix commented 9 years ago

@bonniejools great news ! I gonna test the master branch and will provide you feedback soon. You'll need to update also the README page for add InfluxDB support ;)

rishid commented 9 years ago

One that would be awesome if the new check design could support querying from different data sources. Use case: I have influxdb running in two data centers but would love to only maintain a single cabot instance that can hit both.

jonathanballs commented 9 years ago

@rishid Sounds like a great idea. I'll keep it in mind.

rishid commented 9 years ago

fyi new the v0.9 api docs are available http://influxdb.com/docs/v0.9/concepts/reading_and_writing_data.html

JulienChampseix commented 9 years ago

@bonniejools did you progress on check plugins ? Maybe an http check supporting json data as parameter could work

johnaschroeder commented 9 years ago

+1

benroeder commented 9 years ago

Would be interested in this as well I know it's nasty, but it would be interesting to be able to use Existing plugins, https://github.com/harisekhon/nagios-plugins Or https://exchange.icinga.org

https://www.monitoring-plugins.org

https://github.com/munin-monitoring/contrib/tree/master/plugins

Etc Ben

xinity commented 9 years ago

I don't think this is a good idea. It would stick cabot with the crappy plugin architecture of nagios forks.

JulienChampseix commented 9 years ago

agree with @xinity . Hope @bonniejools will provide us the check plugin refactoring soon :)

xinity commented 9 years ago

A check plugin architecture would be awesome for sure, Can't wait to Play With it

Melevir commented 9 years ago

Gentlemens, what is the status of the influxdb support? I'll be glad to help.

JulienChampseix commented 9 years ago

+1 @bonniejools any update ?

JulienChampseix commented 9 years ago

Up

justin8 commented 9 years ago

+1 when 0.9 finally hits release.

JulienChampseix commented 9 years ago

@bonniejools any news or update about this feature ?

cemo commented 9 years ago

+1

mahendra commented 9 years ago

+1

yooshang commented 9 years ago

+1

mahendra commented 9 years ago

I have modified Cabot to support InfluxDB (0.8). Am working on supporting 0.9 now. Will release it sometime next week.

The InfluxDB (0.8) version is available at - https://github.com/Affirm/cabot

It is a crude hack. I am still working on making Cabot support data plugins. Will help in switching data sources at any time. Once I have it, I will send a pull request to the main Cabot branch.

egoldblum commented 9 years ago

+1

Dentaku1992 commented 9 years ago

+1

xiemeilong commented 8 years ago

+1

mabushey commented 8 years ago

+1

mahendra commented 8 years ago

Just checking if anyone tried - https://github.com/Affirm/cabot for influxdb. been working for us quite well.

mabushey commented 8 years ago

@mahendra - What version of influxdb? I don't see a single thing regarding influxDB. :( Is this documented anywhere?

You can alert based on:

Metrics from Graphite
Status code and response content of web endpoints
Jenkins build statuses
mahendra commented 8 years ago

@mabushey we are using influx 0.8. I haven't updated the docs yet. Install, set the following in env/config - https://github.com/Affirm/cabot/blob/master/cabot/cabot_config.py#L16-L19 and have a go

image

JulienChampseix commented 8 years ago

@mahendra does it support influxdb 0.9 ?

mahendra commented 8 years ago

nope. not yet. we are planning on upgrading to 0.9 .. maybe in a month or two

blysik commented 8 years ago

We're investigating moving to influxdb sometime in the next year, so this is an interesting feature to me too!

ddes commented 8 years ago

Hi,

+1, I'm very interrested too, especially 0.9 support.

Any news (official or not) on this ?

guilleJB commented 8 years ago

Hi,

I'm interested too. We are using influx 0.9

NuckChorris commented 8 years ago

+1 I'm looking at deploying InfluxDB and would love to have Cabot hooked to it

mahendra commented 8 years ago

@NuckChorris we are using InfluxDB 0.8. Not too happy with the stability of Influx 0.9. Cabot support for influx 0.9 is on our pipeline. Should be out in 2 months. Will publish it here - https://github.com/Affirm/cabot