Skip to content
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

Failed to send metrics to InfluxDB. [Errno 113] No route to host #118

Open
awilson77584 opened this issue Jul 20, 2016 · 1 comment
Open

Comments

@awilson77584
Copy link

Hi. I am setting up graphios (cloned from github on Jul 15 and installed using python setup.py install) with the intention of using influxdb and grafana. Graphios is collecting the data and I can see it when sending to stdout. The difficulty is that it is logging from graphios_backends.py that there is no route to host (I have nagios/graphios on a separate vm from influxdb/grafana.)

I've added an ip route show and a ping inside the init.d/graphios script to confirm that there is a route and the script can ping the influxdb host.

I selected the http api to port 8086 and also tried it with the line protocol. I confirmed the influxdb is listening on that port and there are no errors in the log. I get the same result.

Any ideas? It appears from reading that the combination works. I'm just stuck.

Thanks!
Connecting to InfluxDB at 10.10.22.222:8086 Failed to send metrics to InfluxDB. [Errno 113] No route to host keeping /usr/local/nagios/var/spool/graphios/1468984877.perfdata.host, insufficent metrics sent from influxdb. Should be 1, got 0 deleted /usr/local/nagios/var/spool/graphios/1468986767.perfdata.service deleted /usr/local/nagios/var/spool/graphios/1468986932.perfdata.host deleted /usr/local/nagios/var/spool/graphios/1468985657.perfdata.host deleted /usr/local/nagios/var/spool/graphios/1468985552.perfdata.service deleted /usr/local/nagios/var/spool/graphios/1468985492.perfdata.host deleted /usr/local/nagios/var/spool/graphios/1468985672.perfdata.service

@gummiboll
Copy link
Contributor

Can you verify that you can connect to the influxdb-server from the server running graphios?

I.e, running: 'telnet 10.10.22.222 8086' from the server running graphios?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants