Brandawg93/Pi-Hole-Monitoring

Only Pie Charts working in the Pi-Hole dashboard

TheGITofTeo997 opened this issue · 13 comments

Just as the title says. I am getting problems at viewing certain pihole data in its dashboard, at the moment only Pie Charts are working, for the rest we just get an N/A or No Data.

Investigating into this more, we found out it could be Telegraf
(I should be able to provide some logs, just tell me where do i have to look for them)

The other dashboard is fully working though.

Can you run docker-compose up > log.txt and copy the output here? Just give it a few seconds before killing it.

Sure thing, this is the output

Attaching to influxdb, sql_influx, telegraf, grafana
�[35mtelegraf |�[0m 2019-12-23T13:09:23Z I! Starting Telegraf 1.13.0
�[35mtelegraf |�[0m 2019-12-23T13:09:23Z I! Using config file: /etc/telegraf/telegraf.conf
�[35mtelegraf |�[0m 2019-12-23T13:09:23Z I! Loaded inputs: diskio exec kernel mem processes swap system http cpu disk
�[35mtelegraf |�[0m 2019-12-23T13:09:23Z I! Loaded aggregators:
�[35mtelegraf |�[0m 2019-12-23T13:09:23Z I! Loaded processors:
�[35mtelegraf |�[0m 2019-12-23T13:09:23Z I! Loaded outputs: influxdb
�[35mtelegraf |�[0m 2019-12-23T13:09:23Z I! Tags enabled: host=6c0f34d1edf3
�[35mtelegraf |�[0m 2019-12-23T13:09:23Z I! [agent] Config: Interval:10s, Quiet:false, Hostname:"6c0f34d1edf3", Flush Interval:10s
�[35mtelegraf |�[0m 2019-12-23T13:09:23Z W! [outputs.influxdb] When writing to [http://influxdb:8086]: database "telegraf" creation failed: Post http://influxdb:8086/query: dial tcp 172.18.0.2:8086: connect: connection refused
�[32msql_influx |�[0m Could not connect. Retrying...
�[36mgrafana |�[0m installing grafana-piechart-panel @ 1.3.9
�[36mgrafana |�[0m from: https://grafana.com/api/plugins/grafana-piechart-panel/versions/1.3.9/download
�[36mgrafana |�[0m into: /var/lib/grafana/plugins
�[36mgrafana |�[0m
�[32msql_influx |�[0m Could not connect. Retrying...
�[35mtelegraf |�[0m 2019-12-23T13:09:34Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[32msql_influx |�[0m Could not connect. Retrying...
�[36mgrafana |�[0m ✔ Installed grafana-piechart-panel successfully
�[36mgrafana |�[0m
�[36mgrafana |�[0m Restart grafana after installing plugins .
�[36mgrafana |�[0m
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Starting Grafana" logger=server version=6.5.2 commit=742d165 branch=HEAD compiled=2019-12-11T12:41:26+0000
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.data=/var/lib/grafana"
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.logs=/var/log/grafana"
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.plugins=/var/lib/grafana/plugins"
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.provisioning=/etc/grafana/provisioning"
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.log.mode=console"
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_DATA=/var/lib/grafana"
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_LOGS=/var/log/grafana"
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins"
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning"
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Path Data" logger=settings path=/var/lib/grafana
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/plugins
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Path Provisioning" logger=settings path=/etc/grafana/provisioning
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="App mode production" logger=settings
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing SqlStore" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=sqlite3
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Starting DB migration" logger=migrator
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing HTTPServer" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing OSSLicensingService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing SearchService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing RemoteCache" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing QuotaService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing ServerLockService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing UserAuthTokenService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing PluginManager" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Starting plugin search" logger=plugins
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Registering plugin" logger=plugins name="Pie Chart"
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing RenderingService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing AlertEngine" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing DatasourceCacheService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing HooksService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing LoginService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing InternalMetricsService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing TracingService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing UsageStatsService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing CleanUpService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing NotificationService" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing provisioningServiceImpl" logger=server
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=eror msg="Can't read alert notification provisioning files from directory" logger=provisioning.notifiers path=/etc/grafana/provisioning/notifiers error="open /etc/grafana/provisioning/notifiers: no such file or directory"
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Backend rendering via phantomJS" logger=rendering
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=warn msg="phantomJS is deprecated and will be removed in a future release. You should consider migrating from phantomJS to grafana-image-renderer plugin." logger=rendering
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="Initializing Stream Manager"
�[36mgrafana |�[0m t=2019-12-23T13:09:38+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=http subUrl= socket=
�[32msql_influx |�[0m Could not connect. Retrying...
�[35mtelegraf |�[0m 2019-12-23T13:09:40Z E! [outputs.influxdb] When writing to [http://influxdb:8086]: Post http://influxdb:8086/write?db=telegraf: dial tcp 172.18.0.2:8086: connect: connection refused
�[35mtelegraf |�[0m 2019-12-23T13:09:40Z E! [agent] Error writing to outputs.influxdb: could not write any address
�[35mtelegraf |�[0m 2019-12-23T13:09:44Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.148273Z lvl=info msg="InfluxDB starting" log_id=0JtitML0000 version=1.7.9 branch=1.7 commit=23bc63d43a8dc05f53afa46e3526ebb5578f3d88
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.148363Z lvl=info msg="Go runtime" log_id=0JtitML0000 version=go1.12.6 maxprocs=4
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.256072Z lvl=info msg="Using data dir" log_id=0JtitML0000 service=store path=/var/lib/influxdb/data
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.256273Z lvl=info msg="Compaction settings" log_id=0JtitML0000 service=store max_concurrent_compactions=2 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.256491Z lvl=info msg="Open store (start)" log_id=0JtitML0000 service=store trace_id=0JtitMl0000 op_name=tsdb_open op_event=start
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.293887Z lvl=info msg="Reading file" log_id=0JtitML0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/6/_00001.wal size=1916477
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.297182Z lvl=info msg="Opened file" log_id=0JtitML0000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/2/000000005-000000001.tsm id=1 duration=3.359ms
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.314387Z lvl=info msg="Opened file" log_id=0JtitML0000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/4/000000001-000000001.tsm id=0 duration=20.642ms
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.315765Z lvl=info msg="Reading file" log_id=0JtitML0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/4/_00002.wal size=14987563
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.320837Z lvl=info msg="Opened file" log_id=0JtitML0000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/_internal/monitor/2/000000003-000000002.tsm id=0 duration=23.084ms
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.321780Z lvl=info msg="Reading file" log_id=0JtitML0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/2/_00002.wal size=1034057
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.601258Z lvl=info msg="Reading file" log_id=0JtitML0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/pihole-FTL/autogen/7/_00001.wal size=162326
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.829438Z lvl=info msg="Opened shard" log_id=0JtitML0000 service=store trace_id=0JtitMl0000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/pihole-FTL/autogen/7 duration=249.260ms
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.837097Z lvl=info msg="Opened file" log_id=0JtitML0000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/pihole-FTL/autogen/1/000000003-000000001.tsm id=1 duration=3.085ms
�[33minfluxdb |�[0m ts=2019-12-23T13:09:44.844952Z lvl=info msg="Opened file" log_id=0JtitML0000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/pihole-FTL/autogen/1/000000001-000000001.tsm id=0 duration=7.370ms
�[32msql_influx |�[0m Could not connect. Retrying...
�[33minfluxdb |�[0m ts=2019-12-23T13:09:45.539766Z lvl=info msg="Opened shard" log_id=0JtitML0000 service=store trace_id=0JtitMl0000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/pihole-FTL/autogen/1 duration=710.054ms
�[33minfluxdb |�[0m ts=2019-12-23T13:09:45.561777Z lvl=info msg="Reading file" log_id=0JtitML0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/telegraf/autogen/5/_00001.wal size=568121
�[33minfluxdb |�[0m ts=2019-12-23T13:09:45.563200Z lvl=info msg="Opened shard" log_id=0JtitML0000 service=store trace_id=0JtitMl0000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/2 duration=1282.963ms
�[33minfluxdb |�[0m ts=2019-12-23T13:09:45.567990Z lvl=info msg="Opened file" log_id=0JtitML0000 engine=tsm1 service=filestore path=/var/lib/influxdb/data/telegraf/autogen/3/000000001-000000001.tsm id=0 duration=0.564ms
�[33minfluxdb |�[0m ts=2019-12-23T13:09:45.726605Z lvl=info msg="Opened shard" log_id=0JtitML0000 service=store trace_id=0JtitMl0000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/telegraf/autogen/3 duration=162.995ms
�[33minfluxdb |�[0m ts=2019-12-23T13:09:46.038073Z lvl=info msg="Opened shard" log_id=0JtitML0000 service=store trace_id=0JtitMl0000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/telegraf/autogen/5 duration=498.058ms
�[33minfluxdb |�[0m ts=2019-12-23T13:09:46.282891Z lvl=info msg="Opened shard" log_id=0JtitML0000 service=store trace_id=0JtitMl0000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/6 duration=2002.666ms
�[35mtelegraf |�[0m 2019-12-23T13:09:50Z E! [outputs.influxdb] When writing to [http://influxdb:8086]: Post http://influxdb:8086/write?db=telegraf: dial tcp 172.18.0.2:8086: connect: connection refused
�[35mtelegraf |�[0m 2019-12-23T13:09:50Z E! [agent] Error writing to outputs.influxdb: could not write any address
�[32msql_influx |�[0m Could not connect. Retrying...
�[35mtelegraf |�[0m 2019-12-23T13:09:54Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.933958Z lvl=info msg="Opened shard" log_id=0JtitML0000 service=store trace_id=0JtitMl0000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/4 duration=10653.640ms
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.934839Z lvl=info msg="Open store (end)" log_id=0JtitML0000 service=store trace_id=0JtitMl0000 op_name=tsdb_open op_event=end op_elapsed=10678.348ms
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.935074Z lvl=info msg="Opened service" log_id=0JtitML0000 service=subscriber
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.935125Z lvl=info msg="Starting monitor service" log_id=0JtitML0000 service=monitor
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.935161Z lvl=info msg="Registered diagnostics client" log_id=0JtitML0000 service=monitor name=build
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.935190Z lvl=info msg="Registered diagnostics client" log_id=0JtitML0000 service=monitor name=runtime
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.935219Z lvl=info msg="Registered diagnostics client" log_id=0JtitML0000 service=monitor name=network
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.935269Z lvl=info msg="Registered diagnostics client" log_id=0JtitML0000 service=monitor name=system
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.935371Z lvl=info msg="Starting precreation service" log_id=0JtitML0000 service=shard-precreation check_interval=10m advance_period=30m
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.935408Z lvl=info msg="Starting snapshot service" log_id=0JtitML0000 service=snapshot
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.935448Z lvl=info msg="Starting continuous query service" log_id=0JtitML0000 service=continuous_querier
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.935500Z lvl=info msg="Starting HTTP service" log_id=0JtitML0000 service=httpd authentication=false
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.935529Z lvl=info msg="opened HTTP access log" log_id=0JtitML0000 service=httpd path=stderr
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.935766Z lvl=info msg="Storing statistics" log_id=0JtitML0000 service=monitor db_instance=_internal db_rp=monitor interval=10s
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.936072Z lvl=info msg="Listening on HTTP" log_id=0JtitML0000 service=httpd addr=[::]:8086 https=false
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.936161Z lvl=info msg="Starting retention policy enforcement service" log_id=0JtitML0000 service=retention check_interval=30m
�[33minfluxdb |�[0m ts=2019-12-23T13:09:54.937067Z lvl=info msg="Listening for signals" log_id=0JtitML0000
�[33minfluxdb |�[0m ts=2019-12-23T13:09:55.133044Z lvl=info msg="Executing query" log_id=0JtitML0000 service=query query="CREATE DATABASE "pihole-FTL""
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:09:55 +0000] "POST /query?db=pihole-FTL&q=CREATE+DATABASE+%22pihole-FTL%22 HTTP/1.1" 200 57 "-" "python-requests/2.22.0" 8342ca1e-2585-11ea-8001-0242ac120002 22857
�[33minfluxdb |�[0m ts=2019-12-23T13:09:55.161686Z lvl=info msg="Executing query" log_id=0JtitML0000 service=query query="SELECT last(id) FROM "pihole-FTL".autogen."pihole-FTL""
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:09:55 +0000] "GET /query?db=pihole-FTL&q=SELECT+last%28id%29+FROM+%22pihole-FTL%22%3B HTTP/1.1" 200 141 "-" "python-requests/2.22.0" 83477de3-2585-11ea-8002-0242ac120002 489943
�[32msql_influx |�[0m filling data...
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:09:55 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8395f10b-2585-11ea-8003-0242ac120002 31099
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:09:55 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 839c2e76-2585-11ea-8004-0242ac120002 53097
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:09:55 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 83a5cc58-2585-11ea-8005-0242ac120002 53174
�[33minfluxdb |�[0m ts=2019-12-23T13:09:55.883056Z lvl=info msg="Sending usage statistics to usage.influxdata.com" log_id=0JtitML0000
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:09:55 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 83af66c9-2585-11ea-8006-0242ac120002 64339
�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:10:00 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" 862c42f1-2585-11ea-8007-0242ac120002 142651
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:00 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 86b701c9-2585-11ea-8008-0242ac120002 42311
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:00 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 86bef9c9-2585-11ea-8009-0242ac120002 54353
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 86c8ce8b-2585-11ea-800a-0242ac120002 58861
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 86d34b35-2585-11ea-800b-0242ac120002 32028
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 86d9b98b-2585-11ea-800c-0242ac120002 55804
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 86e3fce1-2585-11ea-800d-0242ac120002 34040
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 86ead50a-2585-11ea-800e-0242ac120002 40253
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 86f31885-2585-11ea-800f-0242ac120002 78331
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 870c28f5-2585-11ea-8010-0242ac120002 42218
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8715b8fd-2585-11ea-8011-0242ac120002 54506
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 871fc5c9-2585-11ea-8012-0242ac120002 52927
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87299144-2585-11ea-8013-0242ac120002 54531
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8733856d-2585-11ea-8014-0242ac120002 54393
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 873e3d1c-2585-11ea-8015-0242ac120002 60442
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87490068-2585-11ea-8016-0242ac120002 54682
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:01 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8752ebd3-2585-11ea-8017-0242ac120002 54637
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 875ceb09-2585-11ea-8018-0242ac120002 57995
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87677e07-2585-11ea-8019-0242ac120002 53994
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87714632-2585-11ea-801a-0242ac120002 53746
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 877b0fc6-2585-11ea-801b-0242ac120002 60025
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87874f09-2585-11ea-801c-0242ac120002 54857
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8792ad18-2585-11ea-801d-0242ac120002 54579
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 879dd40f-2585-11ea-801e-0242ac120002 54626
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87a8da25-2585-11ea-801f-0242ac120002 70511
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87b6ce93-2585-11ea-8020-0242ac120002 57543
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87c2b5d1-2585-11ea-8021-0242ac120002 57919
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87ce5169-2585-11ea-8022-0242ac120002 52962
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87d9275e-2585-11ea-8023-0242ac120002 53577
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87e4389c-2585-11ea-8024-0242ac120002 54262
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:02 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87ef38d5-2585-11ea-8025-0242ac120002 53653
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 87fa2312-2585-11ea-8026-0242ac120002 33825
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8800d459-2585-11ea-8027-0242ac120002 39170
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 880868e3-2585-11ea-8028-0242ac120002 52637
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8811fcdd-2585-11ea-8029-0242ac120002 37057
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8819263d-2585-11ea-802a-0242ac120002 61167
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8823eb2f-2585-11ea-802b-0242ac120002 47712
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 882ca221-2585-11ea-802c-0242ac120002 49310
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 88358dd8-2585-11ea-802d-0242ac120002 54646
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 883f4ad2-2585-11ea-802e-0242ac120002 54353
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8848fb91-2585-11ea-802f-0242ac120002 55487
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8852df00-2585-11ea-8030-0242ac120002 61085
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 885d9ceb-2585-11ea-8031-0242ac120002 55010
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 88676fd4-2585-11ea-8032-0242ac120002 56558
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8872a41d-2585-11ea-8033-0242ac120002 52508
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 887d344c-2585-11ea-8034-0242ac120002 53006
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:03 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8887ed0e-2585-11ea-8035-0242ac120002 53275
�[35mtelegraf |�[0m 2019-12-23T13:10:04Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8892fa49-2585-11ea-8036-0242ac120002 59442
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 889eab1d-2585-11ea-8037-0242ac120002 53791
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 88a98d99-2585-11ea-8038-0242ac120002 53319
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 88b44936-2585-11ea-8039-0242ac120002 52842
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 88bf1c72-2585-11ea-803a-0242ac120002 58931
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 88cacb37-2585-11ea-803b-0242ac120002 53839
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 88d5ae75-2585-11ea-803c-0242ac120002 59196
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 88e17dd3-2585-11ea-803d-0242ac120002 53518
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 88ec4af3-2585-11ea-803e-0242ac120002 49196
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 88f67a12-2585-11ea-803f-0242ac120002 25248
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 88fd02b3-2585-11ea-8040-0242ac120002 17580
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 89024a0e-2585-11ea-8041-0242ac120002 8245
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8905041c-2585-11ea-8042-0242ac120002 12196
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 89084254-2585-11ea-8043-0242ac120002 6734
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 890ac414-2585-11ea-8044-0242ac120002 6680
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 890d43b2-2585-11ea-8045-0242ac120002 8752
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 89100315-2585-11ea-8046-0242ac120002 7630
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 89129079-2585-11ea-8047-0242ac120002 12152
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8915cd4b-2585-11ea-8048-0242ac120002 6852
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 89183c80-2585-11ea-8049-0242ac120002 7040
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 891aca3d-2585-11ea-804a-0242ac120002 6847
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 891d41af-2585-11ea-804b-0242ac120002 6933
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 891fc34d-2585-11ea-804c-0242ac120002 7546
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:04 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 892264c7-2585-11ea-804d-0242ac120002 11976
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8925b0e7-2585-11ea-804e-0242ac120002 6542
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 892821e6-2585-11ea-804f-0242ac120002 6651
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 892a8de1-2585-11ea-8050-0242ac120002 6686
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 892cfcc5-2585-11ea-8051-0242ac120002 6695
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 892f6ba1-2585-11ea-8052-0242ac120002 7269
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8931eb23-2585-11ea-8053-0242ac120002 11924
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 89353c9f-2585-11ea-8054-0242ac120002 6874
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8937b5bb-2585-11ea-8055-0242ac120002 6683
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 893a226f-2585-11ea-8056-0242ac120002 6888
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 893c9d81-2585-11ea-8057-0242ac120002 8515
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 893f539e-2585-11ea-8058-0242ac120002 12853
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8942c82e-2585-11ea-8059-0242ac120002 7985
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 894571bd-2585-11ea-805a-0242ac120002 7473
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 89481dae-2585-11ea-805b-0242ac120002 7275
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 894abd92-2585-11ea-805c-0242ac120002 8065
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 894d6a5b-2585-11ea-805d-0242ac120002 8317
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 895026f0-2585-11ea-805e-0242ac120002 13235
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 895393f2-2585-11ea-805f-0242ac120002 8277
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 895644ce-2585-11ea-8060-0242ac120002 8118
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8958f092-2585-11ea-8061-0242ac120002 8262
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 895ba08a-2585-11ea-8062-0242ac120002 8090
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 895e4c1f-2585-11ea-8063-0242ac120002 12748
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 8961b803-2585-11ea-8064-0242ac120002 7832
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 896455cb-2585-11ea-8065-0242ac120002 7943
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 896700af-2585-11ea-8066-0242ac120002 7248
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 89698d8b-2585-11ea-8067-0242ac120002 8641
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 896c49e5-2585-11ea-8068-0242ac120002 7951
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:10:05 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 896f6d6f-2585-11ea-8069-0242ac120002 13803
�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:10:10 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" 8c20b8b3-2585-11ea-806a-0242ac120002 31370
�[35mtelegraf |�[0m 2019-12-23T13:10:14Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:10:20 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" 921763ee-2585-11ea-806b-0242ac120002 21676
�[35mtelegraf |�[0m 2019-12-23T13:10:24Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:10:30 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" 980c3d85-2585-11ea-806c-0242ac120002 28542
�[35mtelegraf |�[0m 2019-12-23T13:10:34Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:10:40 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" 9e02329b-2585-11ea-806d-0242ac120002 63090
�[35mtelegraf |�[0m 2019-12-23T13:10:44Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:10:50 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" a3f83be7-2585-11ea-806e-0242ac120002 90830
�[35mtelegraf |�[0m 2019-12-23T13:10:54Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:11:00 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" a9f0cb16-2585-11ea-806f-0242ac120002 71912
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:11:00 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" aa48f913-2585-11ea-8070-0242ac120002 38923
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:11:00 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" aa50614d-2585-11ea-8071-0242ac120002 52357
�[33minfluxdb |�[0m [httpd] 172.18.0.4 - root [23/Dec/2019:13:11:00 +0000] "POST /write?db=pihole-FTL HTTP/1.1" 204 0 "-" "python-requests/2.22.0" aa59bff3-2585-11ea-8072-0242ac120002 53915

The Log didn't copy completely, so i've managed to read it and to find out some interesting lines to me:

�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:10:10 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" 8c20b8b3-2585-11ea-806a-0242ac120002 31370
�[35mtelegraf |�[0m 2019-12-23T13:10:14Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:10:20 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" 921763ee-2585-11ea-806b-0242ac120002 21676
�[35mtelegraf |�[0m 2019-12-23T13:10:24Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:10:30 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" 980c3d85-2585-11ea-806c-0242ac120002 28542
�[35mtelegraf |�[0m 2019-12-23T13:10:34Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:10:40 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" 9e02329b-2585-11ea-806d-0242ac120002 63090
�[35mtelegraf |�[0m 2019-12-23T13:10:44Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:10:50 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" a3f83be7-2585-11ea-806e-0242ac120002 90830
�[35mtelegraf |�[0m 2019-12-23T13:10:54Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole/admin/api.php: dial tcp: lookup pi.hole on 127.0.0.11:53: no such host
�[33minfluxdb |�[0m [httpd] 172.18.0.5 - - [23/Dec/2019:13:11:00 +0000] "POST /write?db=telegraf HTTP/1.1" 204 0 "-" "Telegraf/1.13.0" a9f0cb16-2585-11ea-806f-0242ac120002 71912

Interesting. By default, the pihole installation sets up http://pi.hole/admin for you. Assuming you are running pihole on the same machine, try changing this line to urls = ["http://localhost/admin/api.php"].

Interesting. By default, the pihole installation sets up http://pi.hole/admin for you. Assuming you are running pihole on the same machine, try changing this line to urls = ["http://localhost/admin/api.php"].

You are right, in fact for some reason i can't reach pihole with pi.hole (maybe because it's in docker?) but i can reach it successfully typing my NXDOMAIN dns.mydomain.lan/admin or by its local ip which is 192.168.1.2/admin.

I changed that line to localhost and also tried 127.0.0.1 but unluckily it's still showing N/A, shall we try to type the IP of the pihole container? (172.17.x.x) or maybe by linking them with --link?

That would do it. The pihole container needs its port 80 exposed to be able to reach the admin page. Then it would work. Otherwise, you would need to combine both docker-compose files and reference pihole's network in the telegraf section.

I tried putting 172.17.0.3 which is the ip of the pihole container (verified by attaching to it and cat /etc/hosts) but unluckily it is not working. The container has port 80 exposed for sure, i verified it and as i said i can correctly reach it with my NXDOMAIN or the local ip, so honestly i've run out of ideas.

If you can get your pihole instance to be accessible via http://pi.hole/admin, it will work. Off the top of my head, I'm not sure how to get your particular instance set up like that. I'd recommend asking around where you found the pihole docker image, probably here.

https://github.com/Brandawg93/Pi-Hole-Monitoring#prerequisites

This is a result of this monitoring stack using a named network (as opposed to the default docker bridge) + pi.hole running in the same docker host.

From bottom of this page:

Note: If you need access to a host’s localhost resolver, you must modify your DNS service on the host to listen on a non-localhost address that is reachable from within the container.

In other words, if the docker HOST’S nameserver entry in /etc/resolv.conf points to a container running inside itself, docker strips this entry from the docker dns service that is exposed (via 127.0.0.11) to containers using named/user-defined networks. So a container using a named-network cannot use a dns server that also runs in the same docker host.

My docker host gets it’s ip/dns via a reservation, so I had no interest in modifying the host’s nameservers... my fix was to add an extra_hosts entry (pointing to my docker host - pi.hole is exposed here) to the telegraf service in docker-compose.yml (equivalent of editing hosts file in the telegraf container)

  telegraf:
    #...
    extra_hosts:
      - "pi.hole:10.0.1.27"

That being said, since everyone’s pi.hole docker host IP isn’t the same as mine, this needs to be manually modified in each instance, and googling “docker dns localhost” seems to suggest this issue should be resolved, but after I fixed it, I haven’t bothered to look further.

EDIT

A better solution is to pass an environment variable into the container, so only an .env file needs to be created/edited, leaving the docker-compose.yml file in a generic/redistributable state:

  telegraf:
    #...
    extra_hosts:
      - pi.hole:${ipaddr}

my .env file contents:

ipaddr=10.0.1.27

@Brandawg93 - any thoughts about this? I imagine I’m not the only one running pi.hole on the docker host’s bridge network. What is your config?

@HunterDG Hello and sorry for the late reply,
unfortunately i tried your solution and i put the extra_hosts line in the docker yaml with
pi.hole:192.168.1.2
which is the address of the Pi in my LAN, but it still shows N/A as before and apparently i have no way to get it working, i don't know if i am doing something wrong
(i also tried to put the container ip directly which is 172.17.0.3 but no luck)

Assuming you can access Pi-Hole's web interface via 192.168.1.2, try the following commands in the Pi's console/terminal (ctrl + c to terminate)

docker exec -it telegraf ping pi.hole
docker exec -it telegraf ping 192.168.1.2

also docker logs telegraf and check for obvious errors

From the telegraf container i can ping both pi.hole and 192.168.1.2 successfully, BUT if i log it i get this continuous message:

2020-01-08T11:30:24Z E! [inputs.http] Error in plugin: [url=http://pi.hole/admin/api.php]: Get http://pi.hole /admin/api.php: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiti ng headers)

any idea? Thanks for the support @HunterDG

@TheGITofTeo997 Try pulling (or copying just the docker-compose.yml and .env files over) from my dev repo. This adds pi-hole container inside the monitoring stack, so shut down your pi-hole container first. Must edit the .env file to your particulars. This also uses named volumes for pi-hole data, so won't touch your local pi-hole data.