Closed cmben closed 8 years ago
What version of Kapacitor are you using? Can you share the output of kapacitor stats ingress
?
You config looks fine. Are there any errors in the logs of either Kapacitor or the relay?
I am using Kapacitor 0.13.1
kapacitor stats ingress
shows output as "Unknown command stats"
What happens if you try to manually write data to the Kapacitor instance from the relay instance?
curl -X POST 'http://kapacitor1:9092/write?db=testdb&rp=testrp' --data-binary 'test value=1'
I tried this request both from the Kapacitor node as well node on which relay is hosted.
Both give me following output-
database is required
@cmben Sorry, I updated the command
Thanks @nathanielc It seems that the writes are successful.
POST /write?db=testdb&rp=testrp HTTP/1.1 204 0 - curl/7.35.0
Though i still do not see data in influxdb on the same node. How does Kapacitor run batch alerts on this incoming data ? Does it store this data in some buffer ? Sorry if this sounds too trivial.
Though i still do not see data in influxdb on the same node.
This is expected you only wrote the data to Kapacitor, not InfluxDB.
Kapacitor batch tasks query data from InfluxDB. They do not process the incoming data, that is what stream tasks do.
Thanks you for clarifying this.
Closing.
As mentioned in one of the configurations, influxdb-relay can write data to kapacitor as they are wire compatible.
But when i try the same, Kapacitor is not receiving any data. Configurations for Influxdb-relay and Kapacitor are below.
Kapacitor -
Influxdb-relay
Is there any additional configuration required, or is something wrong with this conf ?