-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot export stats to InfluxDB #750
Comments
Issue confirmed. With InfluxDB 0.9.3.
2015-12-11 15:10:13,564 -- ERROR -- Cannot export localhost.load stats to InfluxDB (400: unable to parse 'localhost.load cpucore=4i,load_careful=0.7,load_critical=5.0,load_warning=1.0,min1=0.07,min15=0.13,min5=0.12': invalid number |
Could this magic 'i' be related to influxdata/influxdb#3519 |
+1 for @ruudboon |
The first bug (the 'i' one) is corrected by upgrading InfluxDB to 0.9.4 or higher. The other one (float), should be corrected in the scope of this issue (have a look on influxdata/influxdb#3032). |
Upgrading to 0.9.4 is keeping the same issues for me. How can I see the extended info you are seeing @nicolargo ? |
@ruudboon what extended info ? it's only the Glances log file... |
I'm missing the data in the log. Only seeing |
Can you try with the latest DEVELOP branch version or disable the Sensor plugin (--disable-sensors) |
The latest commit of the develop branch should solve this issue and the issue #749 . Please:
|
Cool will try to compile Glances myself. Running the Freebsd port now. |
No need to compile, you are in a Python world... |
Owh cool. Didn't realize it was written in Python. |
I'm getting similar errors, and after reading this I went ahead and pulled the develop branch and installed it in a venv. Since I found this project (and InfluxDB) this morning, I am running glances-dev, influx 0.9.6 (from their influxdb-0.9.6.1-1.x86_64.rpm), and fresh pip installs of the requisite Python modules. I get the same types of errors as OP: Logs available as needed. For the record, system is Fedora 23. Thanks. |
I'm seeing that same issue as Jestre with Ubuntu 14.04 |
I confirm that it is working like a charm with the following configuration:
"unable to parse 'localhost.ip' : invalid field format and the float64 vs integer errors on localhost.network and localhost.diskio |
So @nicolargo what OS are you on? I find it hard to believe that this is purely an issue on Ubuntu and Fedora. I have the same versions of things as you list, and I had deleted and recreated my DB without success. Is there some command other than 'drop database' to get rid of the old one with InfluxDB? |
Tested on both Ubuntu 14.04 LTS and CentOS 7.0 |
@nicolargo Thank you. I will try back in a few months to see if the issues have been resolved. Appreciate the input. |
@nicolargo how do I ensure that I'm running on the development branch? I run the following command: |
Hi, I think I got similar issue. Just try to re-install glances using
The measurement is created but it's empty. Environment: After installing from repository,
Looks better but still have errors and empty in measurement. |
The InfluxDB interface is breaked between Glances 2.5.1 and InfluxDB 0.9.2 or higher. Please use the lastest Glances Development branch AND the latest InfluxDB AND the latest Python InfluxDB lib. Tested OK with:
|
Hello, When I try to lunch glances as client I have an error :
Thank |
Ubuntu 14.0 Influx 0.10 apt-get installation $ glances --help $ glances --export-influxdb -t 60 -d -q Will this work? |
Nope. You need Glances 2.5.1 or higher... |
Where from? Don't know why this is not the latest? On Wednesday, 2 March 2016, Nicolas Hennion [email protected]
|
Thanks will pull from git repo. Ubuntu package repository apt-get installs an old version of Glances |
Ubuntu 14.04 sudo apt-get install git sudo pip install --upgrade glances glances --help Documentation unclear, procedure followed as above, software reported upgrade complete, no errors reported, however, software still reporting original version. Switching to user forum for user support to solve problem (wtf) |
@gabrieljames Please switch to the Glances user forum. Your problem is not a development issue... => https://groups.google.com/forum/?hl=en#!forum/glances-users |
Okay, thanks for your help. |
Alright, not getting any responses in the user forum. As mentioned in feature suggestion, #794 We are testing several other data collectors (collectd, telegraf, logstash, topbeat) so we can come up with a comprehensive metrics solution for our development and production needs. I was optimistic to see the feature suggestion for logging of all processes and associated metrics. It would be good to test glances as a service with Influx and Elasticsearch to see if it adds value to the stacks. My main concern at the moment is getting timely support to solve relatively simple issues like software installation, configuration and updates. I have to say the other vendors and developers in this space have been very responsive to help address these sorts of issues as they arise. They have not drawn subtle distinctions between developer and user support channels, and have been more concerned with helping their users get up and running. The update installation upgrade procedure has not been successful. I am reluctant to waste time on this if the support is going to be painful as we can do without the headache and will leave it. Anyway, we are genuinely in interested in using your software, Please let me know if you are willing to help us so we can make a call on it. |
@gabrieljames i just post a respond on the forum. I ask you to switch to the forum because the Github issue tracker is dedicated to enhancement request and bug report. Glances is installed more or less 14.000 times per week, i do not think that the installation process is "bugged". You are welcome to contribute to the documentation if you think that it should be enhance. |
Having same problem here
Errors on logs
Errors show up even with
On influx side i can see:
all other are 204
this makes me believe that there's a problem with the format written to influxdb for those metrics. I will investigate on my own but would like to keep track on this and ask for any advice. Thanks for this nice tool. Cheers |
I'm running glances like
glances --export-influxdb -t 60 -d -q
When exporting to InfluxDB i'm seeing multiple errors in the log file
I'm running InfluxDB v0.9.3.
The text was updated successfully, but these errors were encountered: