sensu / catalog

Monitoring as code for Sensu Go. "There's a template for that!"
8 stars 5 forks source link

[FEATURE REQUEST] TSDB Check Plugin(s) #354

Open asachs01 opened 1 year ago

asachs01 commented 1 year ago

As a Sensu user who's gathering metrics, I'd like to be able to use a check plugin to query my TSDB of choice and create alerts based off of the query. For example

check-tsb -u test_user -p PASSWORD -h HOSTADDRESS -p HOSTPORT -d DATABASE -q <QUERYHERE> -w WARNVAL -c CRITVAL

It would also be interesting to maybe pass a --db-type prometheus and have the check plugin make some inferences about the port, query language, etc.