savoirfairelinux / mod-influxdb

Shinken module for exporting data to InfluxDB
GNU Affero General Public License v3.0
13 stars 11 forks source link

How to check if it's work #26

Closed lchabert closed 9 years ago

lchabert commented 9 years ago

Hello,

I'm testing your module with a fresh install of shinken. I have set only one host on my shinken for test purpose. After configuration of your plugins, how to check if it's works ?

I have set process_perfdata on shinken config, added the module on broker.conf, and then, no logging information on broker.log (execpt this : Correctly loaded mod-influxdb as a very-new-style shinken module :) )

Next, i can't see any data on influxdb (with a tcpdump or a query). Do you have any method to check if all is fine ?

Thanks in advance, and thanks for your module !

Regards.

aviau commented 9 years ago

Hello,

Have you tried show series in InfluxDB?

Have you tried launching the broker manually (not in daemon) and see if there is an error?

lchabert commented 9 years ago

Hello,

Yes i have tried to "show series", but nothing return. When i launch my broker with debug file option, no line speak about influxdb...

One more intresting thing: i have remove webui from broker.cfg and is loaded by my broker ... Very strange.

Do you want my broker config file ? My debug report ?

lchabert commented 9 years ago

Hello,

Ok i have changed mu broker config file and "influxdb_perfdata" must be set on brokers module list, not only influxdb. Now it's ok, data has been sent to influxdb, but a 400 error has been returned: "error":"missing measurement"

aviau commented 9 years ago

What version of InfluxDB are you using?

This module is compatible with 0.9.0 or higher.

Also, you may want to download the module from the Github repo and not shinken.io

lchabert commented 9 years ago

I'm using influxdb 0.9.1 and name field has been renamed measurement.

aviau commented 9 years ago

Upstream mod-influxdb has renamed all fields to measurement.

Please use the latest version (from this repository - not shinken.io).

Keep me updated!

lchabert commented 9 years ago

Hello !

I have check with upstream version, and it work like a charm ! And other bug resolved, the module name on broker config file is : influxdb, not influxdb-perfdata.

No plan to update shinken.io ?

aviau commented 9 years ago

I have check with upstream version, and it work like a charm !

yay :)

No plan to update shinken.io ?

I just updated it, for you <3 ! It should be online in a few minutes.