graphios icon indicating copy to clipboard operation
graphios copied to clipboard

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

Open awilson77584 opened this issue 8 years ago • 1 comments

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

awilson77584 avatar Jul 20 '16 04:07 awilson77584

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?

gummiboll avatar Jul 27 '16 14:07 gummiboll