sensu / sensu-influxdb-handler

Sensu Go InfluxDB Metrics Handler
https://sensu.io
MIT License
14 stars 16 forks source link

How to debug this handler? #51

Closed IvanovOleg closed 2 years ago

IvanovOleg commented 2 years ago

How can I run this handler's binary from the command line in order to debug if it actually can connect to the influxdb database? I assume that it expects something like: echo {} | sensu-influxdb-handler -d monitor I tried various formats of output, but without success. Can anyone give me an example?

IvanovOleg commented 2 years ago

found a correct format