adejoux / nmon2influxdb

Make NMON data dynamic with InfluxDB
GNU Affero General Public License v3.0
80 stars 29 forks source link

All points are permanently sent when importing file #55

Closed sbengo closed 6 years ago

sbengo commented 6 years ago

Hi! First of all, thanks for that great tool!

I'm testing nmon2influxdb to get metrics of some devices. I have set up a simple bash script on cron.d that runs every minute with the following command on 2 different host: /opt/nmon2influxdb/nmon2influxdb import <HOST1>:<PATH>/nmon/HOST_YYMMDD_0000.nmon /opt/nmon2influxdb/nmon2influxdb import <HOST2>:<PATH>/nmon/HOST_YYMMDD_0000.nmon

As I have seen, when the checksum of the file changes (every 1 minute) and aparently all points (older than now and the new ones) on the file are sent permanently. So a question rises up:

image

Plus info:

adejoux commented 6 years ago

Hello,

Thanks for submitting this bug. Can you try the version I attached in issue #54 ?

Regards,

Alain

adejoux commented 6 years ago

Hello,

Let me know if you still have the issue.

Regards,

Alain