zottelbeyer / QNAP-collectdinfluxdbgrafana

A simple to use Grafana Dashboard for your QNAP NAS
65 stars 5 forks source link

Trouble getting up and running. #1

Closed reformstudios closed 4 years ago

reformstudios commented 4 years ago

I'm struggling to get this up and running. The final test you suggest (grafana datasources) is returning the error: "Network Error: Bad Gateway(502)" The other tests appear to work.

What setup should I have for my snmp on the qnap config? Port Number : 8086? Trap addresses : 127.0.0.1? SNMP Version : v1/2 Community?

Any ideas where else I might have broken something? :) Thanks for sharing this, very interesting!

zottelbeyer commented 4 years ago

If the Bad Gateway (502) error persists it indicates a problem with the influxdb container. The startup of influxdb and initial DB creation can take a minute, so make sure if it's still not working now before we get into further debugging.

These are the SNMP settings I have verified working on my machine: snmp-settings

zottelbeyer commented 4 years ago

If the influxdb is still not available after some minutes please send the results for the following.

for the logs of the container: docker logs influxdb

to try a simple restart of the container: docker restart influxdb

reformstudios commented 4 years ago

Thanks for the help! Log below. I've tried restarting all 3 services to no avail.

[~] # docker logs influxdb
influxdb init process in progress...
ts=2020-03-30T20:59:34.500184Z lvl=info msg="InfluxDB starting" log_id=0LsJipu0000 version=1.7.10 branch=1.7 commit=f46f63d4e2d9684a2dd716594ab609ccd32f0a5b
ts=2020-03-30T20:59:34.500244Z lvl=info msg="Go runtime" log_id=0LsJipu0000 version=go1.12.6 maxprocs=2
ts=2020-03-30T20:59:34.762263Z lvl=info msg="Using data dir" log_id=0LsJipu0000 service=store path=/var/lib/influxdb/data
ts=2020-03-30T20:59:34.764281Z lvl=info msg="Compaction settings" log_id=0LsJipu0000 service=store max_concurrent_compactions=1 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
ts=2020-03-30T20:59:34.764686Z lvl=info msg="Open store (start)" log_id=0LsJipu0000 service=store trace_id=0LsJiqw0000 op_name=tsdb_open op_event=start
ts=2020-03-30T20:59:34.765413Z lvl=info msg="Open store (end)" log_id=0LsJipu0000 service=store trace_id=0LsJiqw0000 op_name=tsdb_open op_event=end op_elapsed=0.734ms
ts=2020-03-30T20:59:34.765831Z lvl=info msg="Opened service" log_id=0LsJipu0000 service=subscriber
ts=2020-03-30T20:59:34.767095Z lvl=info msg="Starting monitor service" log_id=0LsJipu0000 service=monitor
ts=2020-03-30T20:59:34.767119Z lvl=info msg="Registered diagnostics client" log_id=0LsJipu0000 service=monitor name=build
ts=2020-03-30T20:59:34.767137Z lvl=info msg="Registered diagnostics client" log_id=0LsJipu0000 service=monitor name=runtime
ts=2020-03-30T20:59:34.768541Z lvl=info msg="Registered diagnostics client" log_id=0LsJipu0000 service=monitor name=network
ts=2020-03-30T20:59:34.768606Z lvl=info msg="Registered diagnostics client" log_id=0LsJipu0000 service=monitor name=system
ts=2020-03-30T20:59:34.768658Z lvl=info msg="Starting precreation service" log_id=0LsJipu0000 service=shard-precreation check_interval=10m advance_period=30m
ts=2020-03-30T20:59:34.768684Z lvl=info msg="Starting snapshot service" log_id=0LsJipu0000 service=snapshot
ts=2020-03-30T20:59:34.768712Z lvl=info msg="Starting continuous query service" log_id=0LsJipu0000 service=continuous_querier
ts=2020-03-30T20:59:34.768735Z lvl=info msg="Starting HTTP service" log_id=0LsJipu0000 service=httpd authentication=false
ts=2020-03-30T20:59:34.768749Z lvl=info msg="opened HTTP access log" log_id=0LsJipu0000 service=httpd path=stderr
ts=2020-03-30T20:59:34.768835Z lvl=info msg="Listening on HTTP" log_id=0LsJipu0000 service=httpd addr=127.0.0.1:8086 https=false
ts=2020-03-30T20:59:34.770081Z lvl=info msg="Starting retention policy enforcement service" log_id=0LsJipu0000 service=retention check_interval=30m
ts=2020-03-30T20:59:34.770134Z lvl=info msg="Starting collectd service" log_id=0LsJipu0000 service=collectd
ts=2020-03-30T20:59:34.770169Z lvl=info msg="Loading types from file" log_id=0LsJipu0000 service=collectd path=/usr/share/collectd/types.db
ts=2020-03-30T20:59:34.888305Z lvl=info msg="Storing statistics" log_id=0LsJipu0000 service=monitor db_instance=_internal db_rp=monitor interval=10s
ts=2020-03-30T20:59:34.900957Z lvl=info msg="Listening on UDP" log_id=0LsJipu0000 service=collectd addr=[::]:25826
ts=2020-03-30T20:59:34.903274Z lvl=info msg="Listening for signals" log_id=0LsJipu0000
ts=2020-03-30T20:59:34.903636Z lvl=info msg="Sending usage statistics to usage.influxdata.com" log_id=0LsJipu0000
[httpd] 127.0.0.1 - - [30/Mar/2020:21:00:03 +0000] "GET /ping HTTP/1.1" 204 0 "-" "InfluxDBShell/1.7.10" 6d6f53ef-72c9-11ea-8001-0242ac1d0402 62750
ts=2020-03-30T21:00:03.886399Z lvl=info msg="Executing query" log_id=0LsJipu0000 service=query query="CREATE DATABASE collectd"
[httpd] 127.0.0.1 - - [30/Mar/2020:21:00:03 +0000] "POST /query?chunked=true&db=&epoch=ns&q=CREATE+DATABASE+collectd HTTP/1.1" 200 57 "-" "InfluxDBShell/1.7.10" 6d790009-72c9-11ea-8002-0242ac1d0402 2343
/init-influxdb.sh: ignoring /docker-entrypoint-initdb.d/*

ts=2020-03-30T21:00:03.915880Z lvl=info msg="Signal received, initializing clean shutdown..." log_id=0LsJipu0000
ts=2020-03-30T21:00:03.915920Z lvl=info msg="Waiting for clean shutdown..." log_id=0LsJipu0000
ts=2020-03-30T21:00:03.916035Z lvl=info msg="Listener closed" log_id=0LsJipu0000 service=snapshot
ts=2020-03-30T21:00:03.916092Z lvl=info msg="Shutting down monitor service" log_id=0LsJipu0000 service=monitor
ts=2020-03-30T21:00:03.916115Z lvl=info msg="Terminating storage of statistics" log_id=0LsJipu0000 service=monitor
ts=2020-03-30T21:00:03.916160Z lvl=info msg="Terminating precreation service" log_id=0LsJipu0000 service=shard-precreation
ts=2020-03-30T21:00:03.916186Z lvl=info msg="Terminating continuous query service" log_id=0LsJipu0000 service=continuous_querier
ts=2020-03-30T21:00:03.916248Z lvl=info msg="Closing retention policy enforcement service" log_id=0LsJipu0000 service=retention
ts=2020-03-30T21:00:04.041667Z lvl=info msg="Closed collectd service" log_id=0LsJipu0000 service=collectd
ts=2020-03-30T21:00:04.080315Z lvl=info msg="Closed service" log_id=0LsJipu0000 service=subscriber
ts=2020-03-30T21:00:04.087921Z lvl=info msg="Server shutdown completed" log_id=0LsJipu0000
ts=2020-03-30T21:00:26.964519Z lvl=info msg="InfluxDB starting" log_id=0LsJm1q0000 version=1.7.10 branch=1.7 commit=f46f63d4e2d9684a2dd716594ab609ccd32f0a5b
ts=2020-03-30T21:00:26.964559Z lvl=info msg="Go runtime" log_id=0LsJm1q0000 version=go1.12.6 maxprocs=2
ts=2020-03-30T21:00:27.066663Z lvl=info msg="Using data dir" log_id=0LsJm1q0000 service=store path=/var/lib/influxdb/data
ts=2020-03-30T21:00:27.066718Z lvl=info msg="Compaction settings" log_id=0LsJm1q0000 service=store max_concurrent_compactions=1 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
ts=2020-03-30T21:00:27.066746Z lvl=info msg="Open store (start)" log_id=0LsJm1q0000 service=store trace_id=0LsJm2EW000 op_name=tsdb_open op_event=start
ts=2020-03-30T21:00:27.095177Z lvl=info msg="Reading file" log_id=0LsJm1q0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/2/_00001.wal size=6207
ts=2020-03-30T21:00:27.133593Z lvl=info msg="Reading file" log_id=0LsJm1q0000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/collectd/autogen/1/_00001.wal size=6915
ts=2020-03-30T21:00:27.344668Z lvl=info msg="Opened shard" log_id=0LsJm1q0000 service=store trace_id=0LsJm2EW000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/2 duration=256.073ms
ts=2020-03-30T21:00:27.367529Z lvl=info msg="Opened shard" log_id=0LsJm1q0000 service=store trace_id=0LsJm2EW000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/collectd/autogen/1 duration=240.476ms
ts=2020-03-30T21:00:27.367639Z lvl=info msg="Open store (end)" log_id=0LsJm1q0000 service=store trace_id=0LsJm2EW000 op_name=tsdb_open op_event=end op_elapsed=300.896ms
ts=2020-03-30T21:00:27.367687Z lvl=info msg="Opened service" log_id=0LsJm1q0000 service=subscriber
ts=2020-03-30T21:00:27.367710Z lvl=info msg="Starting monitor service" log_id=0LsJm1q0000 service=monitor
ts=2020-03-30T21:00:27.367728Z lvl=info msg="Registered diagnostics client" log_id=0LsJm1q0000 service=monitor name=build
ts=2020-03-30T21:00:27.367746Z lvl=info msg="Registered diagnostics client" log_id=0LsJm1q0000 service=monitor name=runtime
ts=2020-03-30T21:00:27.367770Z lvl=info msg="Registered diagnostics client" log_id=0LsJm1q0000 service=monitor name=network
ts=2020-03-30T21:00:27.367785Z lvl=info msg="Registered diagnostics client" log_id=0LsJm1q0000 service=monitor name=system
ts=2020-03-30T21:00:27.367822Z lvl=info msg="Starting precreation service" log_id=0LsJm1q0000 service=shard-precreation check_interval=10m advance_period=30m
ts=2020-03-30T21:00:27.367840Z lvl=info msg="Starting snapshot service" log_id=0LsJm1q0000 service=snapshot
ts=2020-03-30T21:00:27.367889Z lvl=info msg="Starting continuous query service" log_id=0LsJm1q0000 service=continuous_querier
ts=2020-03-30T21:00:27.367914Z lvl=info msg="Starting HTTP service" log_id=0LsJm1q0000 service=httpd authentication=false
ts=2020-03-30T21:00:27.367931Z lvl=info msg="opened HTTP access log" log_id=0LsJm1q0000 service=httpd path=stderr
ts=2020-03-30T21:00:27.368089Z lvl=info msg="Listening on HTTP" log_id=0LsJm1q0000 service=httpd addr=[::]:8086 https=false
ts=2020-03-30T21:00:27.368126Z lvl=info msg="Starting retention policy enforcement service" log_id=0LsJm1q0000 service=retention check_interval=30m
ts=2020-03-30T21:00:27.368151Z lvl=info msg="Starting collectd service" log_id=0LsJm1q0000 service=collectd
ts=2020-03-30T21:00:27.368190Z lvl=info msg="Loading types from file" log_id=0LsJm1q0000 service=collectd path=/usr/share/collectd/types.db
ts=2020-03-30T21:00:27.368377Z lvl=info msg="Storing statistics" log_id=0LsJm1q0000 service=monitor db_instance=_internal db_rp=monitor interval=10s
ts=2020-03-30T21:00:27.370953Z lvl=info msg="Listening on UDP" log_id=0LsJm1q0000 service=collectd addr=[::]:25826
ts=2020-03-30T21:00:27.371546Z lvl=info msg="Listening for signals" log_id=0LsJm1q0000
ts=2020-03-30T21:00:27.371719Z lvl=info msg="Sending usage statistics to usage.influxdata.com" log_id=0LsJm1q0000
[httpd] 127.0.0.1 - - [30/Mar/2020:21:26:50 +0000] "GET /ping HTTP/1.1" 204 0 "-" "InfluxDBShell/1.7.10" 2b2fed55-72cd-11ea-8001-0242ac1d0402 39120
ts=2020-03-30T21:26:57.385954Z lvl=info msg="Executing query" log_id=0LsJm1q0000 service=query query="SHOW DATABASES" [httpd] 127.0.0.1 - - [30/Mar/2020:21:26:57 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 117 "-" "InfluxDBShell/1.7.10" 2f297b2c-72cd-11ea-8002-0242ac1d0402 54965
ts=2020-03-30T21:27:01.593946Z lvl=info msg="Executing query" log_id=0LsJm1q0000 service=query query="SELECT \"key\" FROM collectd.autogen._series"
[httpd] 127.0.0.1 - - [30/Mar/2020:21:27:01 +0000] "POST /query?chunked=true&db=collectd&epoch=ns&q=show+series HTTP/1.1" 200 802 "-" "InfluxDBShell/1.7.10" 31b385b4-72cd-11ea-8003-0242ac1d0402 161367
ts=2020-03-30T21:30:27.383506Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsJm1q0000 service=retention trace_id=0LsLUvil000 op_name=retention_delete_check op_event=start
ts=2020-03-30T21:30:27.383592Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsJm1q0000 service=retention trace_id=0LsLUvil000 op_name=retention_delete_check op_event=end op_elapsed=0.104ms
ts=2020-03-30T22:00:27.368867Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsJm1q0000 service=retention trace_id=0LsNCmv0000 op_name=retention_delete_check op_event=start
ts=2020-03-30T22:00:27.368967Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsJm1q0000 service=retention trace_id=0LsNCmv0000 op_name=retention_delete_check op_event=end op_elapsed=0.140ms
[httpd] 127.0.0.1 - - [30/Mar/2020:22:19:44 +0000] "GET /ping HTTP/1.1" 204 0 "-" "InfluxDBShell/1.7.10" 8ef291eb-72d4-11ea-8004-0242ac1d0402 20968
ts=2020-03-30T22:20:25.901884Z lvl=info msg="Executing query" log_id=0LsJm1q0000 service=query query="SHOW DATABASES" [httpd] 127.0.0.1 - - [30/Mar/2020:22:20:25 +0000] "POST /query?db=&epoch=ns&q=SHOW+DATABASES HTTP/1.1" 200 117 "-" "InfluxDBShell/1.7.10" a7998dc9-72d4-11ea-8005-0242ac1d0402 53676
ts=2020-03-30T22:20:43.923378Z lvl=info msg="Executing query" log_id=0LsJm1q0000 service=query query="SELECT \"key\" FROM collectd.autogen._series"
[httpd] 127.0.0.1 - - [30/Mar/2020:22:20:43 +0000] "POST /query?chunked=true&db=collectd&epoch=ns&q=show+series HTTP/1.1" 200 802 "-" "InfluxDBShell/1.7.10" b25c0530-72d4-11ea-8006-0242ac1d0402 170044
ts=2020-03-30T22:30:27.368523Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsJm1q0000 service=retention trace_id=0LsOveA0000 op_name=retention_delete_check op_event=start
ts=2020-03-30T22:30:27.368581Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsJm1q0000 service=retention trace_id=0LsOveA0000 op_name=retention_delete_check op_event=end op_elapsed=0.083ms
ts=2020-03-30T22:57:12.509518Z lvl=info msg="Signal received, initializing clean shutdown..." log_id=0LsJm1q0000
ts=2020-03-30T22:57:12.509595Z lvl=info msg="Waiting for clean shutdown..." log_id=0LsJm1q0000
ts=2020-03-30T22:57:12.509756Z lvl=info msg="Shutting down monitor service" log_id=0LsJm1q0000 service=monitor
ts=2020-03-30T22:57:12.509824Z lvl=info msg="Terminating storage of statistics" log_id=0LsJm1q0000 service=monitor
ts=2020-03-30T22:57:12.509873Z lvl=info msg="Terminating precreation service" log_id=0LsJm1q0000 service=shard-precreation
ts=2020-03-30T22:57:12.509772Z lvl=info msg="Listener closed" log_id=0LsJm1q0000 service=snapshot
ts=2020-03-30T22:57:12.509912Z lvl=info msg="Terminating continuous query service" log_id=0LsJm1q0000 service=continuous_querier
ts=2020-03-30T22:57:12.510021Z lvl=info msg="Closing retention policy enforcement service" log_id=0LsJm1q0000 service=retention
ts=2020-03-30T22:57:13.049313Z lvl=info msg="Closed collectd service" log_id=0LsJm1q0000 service=collectd
ts=2020-03-30T22:57:13.251508Z lvl=info msg="Closed service" log_id=0LsJm1q0000 service=subscriber
ts=2020-03-30T22:57:13.251648Z lvl=info msg="Server shutdown completed" log_id=0LsJm1q0000
ts=2020-03-30T23:07:24.173577Z lvl=info msg="InfluxDB starting" log_id=0LsR1xZG000 version=1.7.10 branch=1.7 commit=f46f63d4e2d9684a2dd716594ab609ccd32f0a5b
ts=2020-03-30T23:07:24.173692Z lvl=info msg="Go runtime" log_id=0LsR1xZG000 version=go1.12.6 maxprocs=2
ts=2020-03-30T23:07:24.390162Z lvl=info msg="Using data dir" log_id=0LsR1xZG000 service=store path=/var/lib/influxdb/data
ts=2020-03-30T23:07:24.390243Z lvl=info msg="Compaction settings" log_id=0LsR1xZG000 service=store max_concurrent_compactions=1 throughput_bytes_per_second=50331648 throughput_bytes_per_second_burst=50331648
ts=2020-03-30T23:07:24.390268Z lvl=info msg="Open store (start)" log_id=0LsR1xZG000 service=store trace_id=0LsR1yPW000 op_name=tsdb_open op_event=start
ts=2020-03-30T23:07:26.174653Z lvl=info msg="Reading file" log_id=0LsR1xZG000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/_internal/monitor/2/_00001.wal size=2650847
ts=2020-03-30T23:07:27.188131Z lvl=info msg="Reading file" log_id=0LsR1xZG000 engine=tsm1 service=cacheloader path=/var/lib/influxdb/wal/collectd/autogen/1/_00001.wal size=1740115
ts=2020-03-30T23:07:28.040976Z lvl=info msg="Opened shard" log_id=0LsR1xZG000 service=store trace_id=0LsR1yPW000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/_internal/monitor/2 duration=2219.361ms
ts=2020-03-30T23:07:28.411154Z lvl=info msg="Opened shard" log_id=0LsR1xZG000 service=store trace_id=0LsR1yPW000 op_name=tsdb_open index_version=inmem path=/var/lib/influxdb/data/collectd/autogen/1 duration=1468.937ms
ts=2020-03-30T23:07:28.411240Z lvl=info msg="Open store (end)" log_id=0LsR1xZG000 service=store trace_id=0LsR1yPW000 op_name=tsdb_open op_event=end op_elapsed=4020.973ms
ts=2020-03-30T23:07:28.411305Z lvl=info msg="Opened service" log_id=0LsR1xZG000 service=subscriber
ts=2020-03-30T23:07:28.411324Z lvl=info msg="Starting monitor service" log_id=0LsR1xZG000 service=monitor
ts=2020-03-30T23:07:28.411343Z lvl=info msg="Registered diagnostics client" log_id=0LsR1xZG000 service=monitor name=build
ts=2020-03-30T23:07:28.411360Z lvl=info msg="Registered diagnostics client" log_id=0LsR1xZG000 service=monitor name=runtime
ts=2020-03-30T23:07:28.411384Z lvl=info msg="Registered diagnostics client" log_id=0LsR1xZG000 service=monitor name=network
ts=2020-03-30T23:07:28.411401Z lvl=info msg="Registered diagnostics client" log_id=0LsR1xZG000 service=monitor name=system
ts=2020-03-30T23:07:28.411443Z lvl=info msg="Starting precreation service" log_id=0LsR1xZG000 service=shard-precreation check_interval=10m advance_period=30m
ts=2020-03-30T23:07:28.411462Z lvl=info msg="Starting snapshot service" log_id=0LsR1xZG000 service=snapshot
ts=2020-03-30T23:07:28.411480Z lvl=info msg="Starting continuous query service" log_id=0LsR1xZG000 service=continuous_querier
ts=2020-03-30T23:07:28.411506Z lvl=info msg="Starting HTTP service" log_id=0LsR1xZG000 service=httpd authentication=false
ts=2020-03-30T23:07:28.411523Z lvl=info msg="opened HTTP access log" log_id=0LsR1xZG000 service=httpd path=stderr
ts=2020-03-30T23:07:28.411685Z lvl=info msg="Listening on HTTP" log_id=0LsR1xZG000 service=httpd addr=[::]:8086 https=false
ts=2020-03-30T23:07:28.411720Z lvl=info msg="Starting retention policy enforcement service" log_id=0LsR1xZG000 service=retention check_interval=30m
ts=2020-03-30T23:07:28.411739Z lvl=info msg="Starting collectd service" log_id=0LsR1xZG000 service=collectd
ts=2020-03-30T23:07:28.411772Z lvl=info msg="Loading types from file" log_id=0LsR1xZG000 service=collectd path=/usr/share/collectd/types.db
ts=2020-03-30T23:07:28.412093Z lvl=info msg="Storing statistics" log_id=0LsR1xZG000 service=monitor db_instance=_internal db_rp=monitor interval=10s
ts=2020-03-30T23:07:28.452433Z lvl=info msg="Listening on UDP" log_id=0LsR1xZG000 service=collectd addr=[::]:25826
ts=2020-03-30T23:07:28.453657Z lvl=info msg="Sending usage statistics to usage.influxdata.com" log_id=0LsR1xZG000
ts=2020-03-30T23:07:28.454540Z lvl=info msg="Listening for signals" log_id=0LsR1xZG000
ts=2020-03-30T23:17:28.441225Z lvl=info msg="Cache snapshot (start)" log_id=0LsR1xZG000 engine=tsm1 trace_id=0LsRbps0000 op_name=tsm1_cache_snapshot op_event=start
ts=2020-03-30T23:17:28.903995Z lvl=info msg="Snapshot for path written" log_id=0LsR1xZG000 engine=tsm1 trace_id=0LsRbps0000 op_name=tsm1_cache_snapshot path=/var/lib/influxdb/data/collectd/autogen/1 duration=491.727ms
ts=2020-03-30T23:17:28.904050Z lvl=info msg="Cache snapshot (end)" log_id=0LsR1xZG000 engine=tsm1 trace_id=0LsRbps0000 op_name=tsm1_cache_snapshot op_event=end op_elapsed=471.215ms
ts=2020-03-30T23:37:28.515332Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LsSl4gW000 op_name=retention_delete_check op_event=start
ts=2020-03-30T23:37:28.558162Z lvl=info msg="New shard group successfully precreated" log_id=0LsR1xZG000 service=metaclient db_shard_group=3 db_instance=_internal db_rp=monitor
ts=2020-03-30T23:37:29.048255Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LsSl4gW000 op_name=retention_delete_check op_event=end op_elapsed=546.545ms
ts=2020-03-31T00:07:28.412257Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LsUTwc0000 op_name=retention_delete_check op_event=start
ts=2020-03-31T00:07:28.412328Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LsUTwc0000 op_name=retention_delete_check op_event=end op_elapsed=0.089ms
ts=2020-03-31T00:09:50.414383Z lvl=info msg="Cache snapshot (start)" log_id=0LsR1xZG000 engine=tsm1 trace_id=0LsUbbJ0000 op_name=tsm1_cache_snapshot op_event=start
ts=2020-03-31T00:09:50.857458Z lvl=info msg="Snapshot for path written" log_id=0LsR1xZG000 engine=tsm1 trace_id=0LsUbbJ0000 op_name=tsm1_cache_snapshot path=/var/lib/influxdb/data/_internal/monitor/2 duration=445.138ms
ts=2020-03-31T00:09:50.857511Z lvl=info msg="Cache snapshot (end)" log_id=0LsR1xZG000 engine=tsm1 trace_id=0LsUbbJ0000 op_name=tsm1_cache_snapshot op_event=end op_elapsed=445.186ms
ts=2020-03-31T00:37:28.412624Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LsWBns0000 op_name=retention_delete_check op_event=start
ts=2020-03-31T00:37:28.412687Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LsWBns0000 op_name=retention_delete_check op_event=end op_elapsed=0.076ms
ts=2020-03-31T01:07:28.428924Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LsXuf70000 op_name=retention_delete_check op_event=start
ts=2020-03-31T01:07:28.435892Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LsXuf70000 op_name=retention_delete_check op_event=end op_elapsed=6.999ms
ts=2020-03-31T01:37:28.449038Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LsZcXRl000 op_name=retention_delete_check op_event=start
ts=2020-03-31T01:37:28.461617Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LsZcXRl000 op_name=retention_delete_check op_event=end op_elapsed=12.613ms
ts=2020-03-31T02:07:28.534423Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LsaLOol000 op_name=retention_delete_check op_event=start
ts=2020-03-31T02:07:28.558993Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LsaLOol000 op_name=retention_delete_check op_event=end op_elapsed=24.606ms
ts=2020-03-31T02:37:28.482751Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0Lsc3G3W000 op_name=retention_delete_check op_event=start
ts=2020-03-31T02:37:28.564971Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0Lsc3G3W000 op_name=retention_delete_check op_event=end op_elapsed=82.267ms
ts=2020-03-31T03:07:28.100547Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0Lsdm5pl000 op_name=retention_delete_check op_event=start
ts=2020-03-31T03:07:28.114506Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0Lsdm5pl000 op_name=retention_delete_check op_event=end op_elapsed=13.986ms
ts=2020-03-31T03:37:28.083846Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LsfUy4l000 op_name=retention_delete_check op_event=start
ts=2020-03-31T03:37:28.114398Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LsfUy4l000 op_name=retention_delete_check op_event=end op_elapsed=30.580ms
ts=2020-03-31T04:07:28.083803Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LshCpKl000 op_name=retention_delete_check op_event=start
ts=2020-03-31T04:07:28.083897Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LshCpKl000 op_name=retention_delete_check op_event=end op_elapsed=0.128ms
ts=2020-03-31T04:37:28.083691Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0Lsivg_l000 op_name=retention_delete_check op_event=start
ts=2020-03-31T04:37:28.083757Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0Lsivg_l000 op_name=retention_delete_check op_event=end op_elapsed=0.083ms
ts=2020-03-31T05:07:28.083757Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LskdYpl000 op_name=retention_delete_check op_event=start
ts=2020-03-31T05:07:28.083865Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LskdYpl000 op_name=retention_delete_check op_event=end op_elapsed=0.141ms
ts=2020-03-31T05:37:28.083790Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LsmMQ4l000 op_name=retention_delete_check op_event=start
ts=2020-03-31T05:37:28.083892Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LsmMQ4l000 op_name=retention_delete_check op_event=end op_elapsed=0.122ms
ts=2020-03-31T06:07:28.083757Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0Lso4HKl000 op_name=retention_delete_check op_event=start
ts=2020-03-31T06:07:28.083851Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0Lso4HKl000 op_name=retention_delete_check op_event=end op_elapsed=0.128ms
ts=2020-03-31T06:37:28.083746Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0Lspn8_l000 op_name=retention_delete_check op_event=start
ts=2020-03-31T06:37:28.083844Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0Lspn8_l000 op_name=retention_delete_check op_event=end op_elapsed=0.120ms
ts=2020-03-31T07:07:28.083706Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LsrV~pl000 op_name=retention_delete_check op_event=start
ts=2020-03-31T07:07:28.083775Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LsrV~pl000 op_name=retention_delete_check op_event=end op_elapsed=0.094ms
ts=2020-03-31T07:37:28.083709Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LstDs4l000 op_name=retention_delete_check op_event=start
ts=2020-03-31T07:37:28.083884Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LstDs4l000 op_name=retention_delete_check op_event=end op_elapsed=0.196ms
ts=2020-03-31T08:07:28.083731Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LsuwjKl000 op_name=retention_delete_check op_event=start
ts=2020-03-31T08:07:28.083827Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LsuwjKl000 op_name=retention_delete_check op_event=end op_elapsed=0.118ms
[~] #
zottelbeyer commented 4 years ago

I added a code block to your comment for better readability.

first: Did you modify the .env parameters or the docker-compose to add a username/password to influxdb? If so you would have to modify the Grafana Datasource to access the Database.

If not proceed with this:

So it seems the db was successfully created and the influxdb container is running as it is supposed to. I do not however see any queries created by grafana in the logs which would look something like this when refreshing the Dashboard:

[httpd] 192.168.X.X, 192.168.X.X,172.17.0.1 - - [31/Mar/2020:09:19:40 +0000] "GET /query?db=collectd&epoch=ms&q=SELECT+max%28%22value%22%29+FROM+%22snmp_value%22+WHERE+%28%22host%22+%3D~+%2F%5EQNAP-collectd%24%2F+AND+%22type%22+%3D+%27fanspeed%27%29+AND+time+%3E%3D+now%28%29+-+6h+GROUP+BY+time%281m%29%2C+%22type_instance%22+fill%28null%29 HTTP/1.1" 200 1861 "-" "Grafana/6.7.1"

So lets try this:

let me know what you get from these for a start.

reformstudios commented 4 years ago

Thanks again! Ping works. influxdb query works too.

{"results":[{"statement_id":0,"series":[{"columns":["key"],"values":[["cpu_value,host=QNAP-collectd,instance=0,type=percent,type_instance=idle"],["cpu_value,host=QNAP-collectd,instance=0,type=percent,type_instance=interrupt"],["cpu_value,host=QNAP-collectd,instance=0,type=percent,type_instance=nice"],["cpu_value,host=QNAP-collectd,instance=0,type=percent,type_instance=softirq"],["cpu_value,host=QNAP-collectd,instance=0,type=percent,type_instance=steal"],["cpu_value,host=QNAP-collectd,instance=0,type=percent,type_instance=system"],["cpu_value,host=QNAP-collectd,instance=0,type=percent,type_instance=user"],["cpu_value,host=QNAP-collectd,instance=0,type=percent,type_instance=wait"],["cpu_value,host=QNAP-collectd,instance=1,type=percent,type_instance=idle"],["cpu_value,host=QNAP-collectd,instance=1,type=percent,type_instance=interrupt"],["cpu_value,host=QNAP-collectd,instance=1,type=percent,type_instance=nice"],["cpu_value,host=QNAP-collectd,instance=1,type=percent,type_instance=softirq"],["cpu_value,host=QNAP-collectd,instance=1,type=percent,type_instance=steal"],["cpu_value,host=QNAP-collectd,instance=1,type=percent,type_instance=system"],["cpu_value,host=QNAP-collectd,instance=1,type=percent,type_instance=user"],["cpu_value,host=QNAP-collectd,instance=1,type=percent,type_instance=wait"],["df_value,host=QNAP-collectd,instance=mapper_cachedev1,type=df_complex,type_instance=free"],["df_value,host=QNAP-collectd,instance=mapper_cachedev1,type=df_complex,type_instance=reserved"],["df_value,host=QNAP-collectd,instance=mapper_cachedev1,type=df_complex,type_instance=used"],["df_value,host=QNAP-collectd,instance=mapper_cachedev1,type=percent_bytes,type_instance=free"],["df_value,host=QNAP-collectd,instance=mapper_cachedev1,type=percent_bytes,type_instance=reserved"],["df_value,host=QNAP-collectd,instance=mapper_cachedev1,type=percent_bytes,type_instance=used"],["disk_io_time,host=QNAP-collectd,instance=sda,type=disk_io_time"],["disk_io_time,host=QNAP-collectd,instance=sdb,type=disk_io_time"],["disk_io_time,host=QNAP-collectd,instance=sdc,type=disk_io_time"],["disk_io_time,host=QNAP-collectd,instance=sdd,type=disk_io_time"],["disk_io_time,host=QNAP-collectd,instance=sde,type=disk_io_time"],["disk_read,host=QNAP-collectd,instance=sda,type=disk_merged"],["disk_read,host=QNAP-collectd,instance=sda,type=disk_octets"],["disk_read,host=QNAP-collectd,instance=sda,type=disk_ops"],["disk_read,host=QNAP-collectd,instance=sda,type=disk_time"],["disk_read,host=QNAP-collectd,instance=sdb,type=disk_merged"],["disk_read,host=QNAP-collectd,instance=sdb,type=disk_octets"],["disk_read,host=QNAP-collectd,instance=sdb,type=disk_ops"],["disk_read,host=QNAP-collectd,instance=sdb,type=disk_time"],["disk_read,host=QNAP-collectd,instance=sdc,type=disk_merged"],["disk_read,host=QNAP-collectd,instance=sdc,type=disk_octets"],["disk_read,host=QNAP-collectd,instance=sdc,type=disk_ops"],["disk_read,host=QNAP-collectd,instance=sdc,type=disk_time"],["disk_read,host=QNAP-collectd,instance=sdd,type=disk_merged"],["disk_read,host=QNAP-collectd,instance=sdd,type=disk_octets"],["disk_read,host=QNAP-collectd,instance=sdd,type=disk_ops"],["disk_read,host=QNAP-collectd,instance=sdd,type=disk_time"],["disk_read,host=QNAP-collectd,instance=sde,type=disk_merged"],["disk_read,host=QNAP-collectd,instance=sde,type=disk_octets"],["disk_read,host=QNAP-collectd,instance=sde,type=disk_ops"],["disk_read,host=QNAP-collectd,instance=sde,type=disk_time"],["disk_value,host=QNAP-collectd,instance=sda,type=pending_operations"],["disk_value,host=QNAP-collectd,instance=sdb,type=pending_operations"],["disk_value,host=QNAP-collectd,instance=sdc,type=pending_operations"],["disk_value,host=QNAP-collectd,instance=sdd,type=pending_operations"],["disk_weighted_io_time,host=QNAP-collectd,instance=sda,type=disk_io_time"],["disk_weighted_io_time,host=QNAP-collectd,instance=sdb,type=disk_io_time"],["disk_weighted_io_time,host=QNAP-collectd,instance=sdc,type=disk_io_time"],["disk_weighted_io_time,host=QNAP-collectd,instance=sdd,type=disk_io_time"],["disk_weighted_io_time,host=QNAP-collectd,instance=sde,type=disk_io_time"],["disk_write,host=QNAP-collectd,instance=sda,type=disk_merged"],["disk_write,host=QNAP-collectd,instance=sda,type=disk_octets"],["disk_write,host=QNAP-collectd,instance=sda,type=disk_ops"],["disk_write,host=QNAP-collectd,instance=sda,type=disk_time"],["disk_write,host=QNAP-collectd,instance=sdb,type=disk_merged"],["disk_write,host=QNAP-collectd,instance=sdb,type=disk_octets"],["disk_write,host=QNAP-collectd,instance=sdb,type=disk_ops"],["disk_write,host=QNAP-collectd,instance=sdb,type=disk_time"],["disk_write,host=QNAP-collectd,instance=sdc,type=disk_merged"],["disk_write,host=QNAP-collectd,instance=sdc,type=disk_octets"],["disk_write,host=QNAP-collectd,instance=sdc,type=disk_ops"],["disk_write,host=QNAP-collectd,instance=sdc,type=disk_time"],["disk_write,host=QNAP-collectd,instance=sdd,type=disk_merged"],["disk_write,host=QNAP-collectd,instance=sdd,type=disk_octets"],["disk_write,host=QNAP-collectd,instance=sdd,type=disk_ops"],["disk_write,host=QNAP-collectd,instance=sdd,type=disk_time"],["disk_write,host=QNAP-collectd,instance=sde,type=disk_merged"],["disk_write,host=QNAP-collectd,instance=sde,type=disk_octets"],["disk_write,host=QNAP-collectd,instance=sde,type=disk_ops"],["disk_write,host=QNAP-collectd,instance=sde,type=disk_time"],["interface_rx,host=QNAP-collectd,instance=eth0,type=if_dropped"],["interface_rx,host=QNAP-collectd,instance=eth0,type=if_errors"],["interface_rx,host=QNAP-collectd,instance=eth0,type=if_octets"],["interface_rx,host=QNAP-collectd,instance=eth0,type=if_packets"],["interface_rx,host=QNAP-collectd,instance=eth1,type=if_dropped"],["interface_rx,host=QNAP-collectd,instance=eth1,type=if_errors"],["interface_rx,host=QNAP-collectd,instance=eth1,type=if_octets"],["interface_rx,host=QNAP-collectd,instance=eth1,type=if_packets"],["interface_tx,host=QNAP-collectd,instance=eth0,type=if_dropped"],["interface_tx,host=QNAP-collectd,instance=eth0,type=if_errors"],["interface_tx,host=QNAP-collectd,instance=eth0,type=if_octets"],["interface_tx,host=QNAP-collectd,instance=eth0,type=if_packets"],["interface_tx,host=QNAP-collectd,instance=eth1,type=if_dropped"],["interface_tx,host=QNAP-collectd,instance=eth1,type=if_errors"],["interface_tx,host=QNAP-collectd,instance=eth1,type=if_octets"],["interface_tx,host=QNAP-collectd,instance=eth1,type=if_packets"],["load_longterm,host=QNAP-collectd,type=load"],["load_midterm,host=QNAP-collectd,type=load"],["load_shortterm,host=QNAP-collectd,type=load"],["memory_value,host=QNAP-collectd,type=memory,type_instance=buffered"],["memory_value,host=QNAP-collectd,type=memory,type_instance=cached"],["memory_value,host=QNAP-collectd,type=memory,type_instance=free"],["memory_value,host=QNAP-collectd,type=memory,type_instance=slab_recl"],["memory_value,host=QNAP-collectd,type=memory,type_instance=slab_unrecl"],["memory_value,host=QNAP-collectd,type=memory,type_instance=used"],["memory_value,host=QNAP-collectd,type=percent,type_instance=buffered"],["memory_value,host=QNAP-collectd,type=percent,type_instance=cached"],["memory_value,host=QNAP-collectd,type=percent,type_instance=free"],["memory_value,host=QNAP-collectd,type=percent,type_instance=slab_recl"],["memory_value,host=QNAP-collectd,type=percent,type_instance=slab_unrecl"],["memory_value,host=QNAP-collectd,type=percent,type_instance=used"],["processes_value,host=QNAP-collectd,type=fork_rate"],["processes_value,host=QNAP-collectd,type=ps_state,type_instance=blocked"],["processes_value,host=QNAP-collectd,type=ps_state,type_instance=paging"],["processes_value,host=QNAP-collectd,type=ps_state,type_instance=running"],["processes_value,host=QNAP-collectd,type=ps_state,type_instance=sleeping"],["processes_value,host=QNAP-collectd,type=ps_state,type_instance=stopped"],["processes_value,host=QNAP-collectd,type=ps_state,type_instance=zombies"],["swap_value,host=QNAP-collectd,type=percent,type_instance=cached"],["swap_value,host=QNAP-collectd,type=percent,type_instance=free"],["swap_value,host=QNAP-collectd,type=percent,type_instance=used"],["swap_value,host=QNAP-collectd,type=swap,type_instance=cached"],["swap_value,host=QNAP-collectd,type=swap,type_instance=free"],["swap_value,host=QNAP-collectd,type=swap,type_instance=used"],["swap_value,host=QNAP-collectd,type=swap_io,type_instance=in"],["swap_value,host=QNAP-collectd,type=swap_io,type_instance=out"],["uptime_value,host=QNAP-collectd,type=uptime"],["users_value,host=QNAP-collectd,type=users"]]}]}]}

reformstudios commented 4 years ago

first: Did you modify the .env parameters or the docker-compose to add a username/password to influxdb? If so you would have to modify the Grafana Datasource to access the Database.

No, I haven't changed either the env or the docker-compose.

zottelbeyer commented 4 years ago

ok, so it seems to be a problem with grafana. When opening at http://[YOURNASIP]:3000/datasources/edit/1/ this is what you should see if the datasource was provisioned correctly:

grafana-datasource

if that's what yours looks like as well I'm pretty much out of ideas. You might try the following:

if those don't help either I will have to research Grafana Datasources further to help you debug this.

reformstudios commented 4 years ago

Thanks again, Yes, my grafana datasources page is identical except for the failed test at the bottom. I tested in both firefox and chrome... same Bad Gateway(502) error. I'll try resetting the whole stack.

reformstudios commented 4 years ago

an error on the rebuild here?

/share/Container] # cd QNAP-collectdinfluxdbgrafana-master/
[/share/Container/QNAP-collectdinfluxdbgrafana-master] # docker-compose down --rmi all
Stopping grafana       ... done
Stopping influxdb      ... done
Stopping qnap-collectd ... done
Removing grafana       ... done
Removing influxdb      ... done
Removing qnap-collectd ... done
Removing network qnap-collectdinfluxdbgrafana-master_default
Removing image influxdb:1.7
Removing image qnap-collectd
Removing image grafana/grafana:6.7.1
[/share/Container/QNAP-collectdinfluxdbgrafana-master] # cd ..
[/share/Container] # rm -r QNAP-collectdinfluxdbgrafana-master
[/share/Container] # rm master.zip
[/share/Container] # wget https://github.com/zottelbeyer/QNAP-collectdinfluxdbgrafana/archive/master.zip
--2020-03-31 11:13:35--  https://github.com/zottelbeyer/QNAP-collectdinfluxdbgrafana/archive/master.zip
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/zottelbeyer/QNAP-collectdinfluxdbgrafana/zip/master [following]
--2020-03-31 11:13:35--  https://codeload.github.com/zottelbeyer/QNAP-collectdinfluxdbgrafana/zip/master
Resolving codeload.github.com (codeload.github.com)... 140.82.113.10
Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’

master.zip                        [ <=>                                            ]  26.43K  --.-KB/s    in 0.1s

2020-03-31 11:13:36 (239 KB/s) - ‘master.zip’ saved [27066]

[/share/Container] # unzip master.zip
Archive:  master.zip
c1e1d368a3b851310a86b1d558fe247d772a31a3
   creating: QNAP-collectdinfluxdbgrafana-master/
  inflating: QNAP-collectdinfluxdbgrafana-master/.env
  inflating: QNAP-collectdinfluxdbgrafana-master/.gitignore
  inflating: QNAP-collectdinfluxdbgrafana-master/README.md
  inflating: QNAP-collectdinfluxdbgrafana-master/docker-compose.yml
   creating: QNAP-collectdinfluxdbgrafana-master/grafana/
  inflating: QNAP-collectdinfluxdbgrafana-master/grafana/QNAP-collectd.json
  inflating: QNAP-collectdinfluxdbgrafana-master/grafana/dashboard.yaml
  inflating: QNAP-collectdinfluxdbgrafana-master/grafana/datasource.yaml
   creating: QNAP-collectdinfluxdbgrafana-master/influxdb/
  inflating: QNAP-collectdinfluxdbgrafana-master/influxdb/influxdb.conf
  inflating: QNAP-collectdinfluxdbgrafana-master/influxdb/types.db
   creating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/Dockerfile
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/NAS-MIB.txt
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/collectd.conf
   creating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/collectd.conf.d/
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/collectd.conf.d/sample.conf
   creating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/rootfs_prefix/
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/rootfs_prefix/Makefile
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/rootfs_prefix/rootfs_prefix.c
   creating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/sources.list.d/
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/sources.list.d/nonfree.list
[/share/Container] # cd QNAP-collectdinfluxdbgrafana-master
[/share/Container/QNAP-collectdinfluxdbgrafana-master] # docker-compose up -d --build
Creating network "qnap-collectdinfluxdbgrafana-master_default" with the default driver
Pulling influxdb (influxdb:1.7)...
1.7: Pulling from library/influxdb
c0c53f743a40: Pull complete
66997431d390: Pull complete
0ea865e2909f: Pull complete
a40fee4d7990: Pull complete
90f567aaca51: Pull complete
b6f2c32ad2a7: Pull complete
9606ead25f67: Pull complete
050eb980e087: Pull complete
Digest: sha256:571dbeeaeda64db869081b34a2717bef7b91bbeb9fff6988fc56df0a17e33e5c
Status: Downloaded newer image for influxdb:1.7
Building collectd
Step 1/14 : FROM debian:buster
 ---> 971452c94376
Step 2/14 : ENV COLLECTD_HOSTNAME QNAP-collectd
 ---> Running in 4cf5f8fb3030
 ---> fd30816bbec3
Removing intermediate container 4cf5f8fb3030
Step 3/14 : ENV COLLECTD_INTERVAL 10
 ---> Running in 4d47f9475bd7
 ---> d8aec0668875
Removing intermediate container 4d47f9475bd7
Step 4/14 : ENV COLLECTD_INFLUXDBIP 127.0.0.1
 ---> Running in f8a39f8fb61f
 ---> ddb489921730
Removing intermediate container f8a39f8fb61f
Step 5/14 : ENV COLLECTD_INFLUXDBPORT 25826
 ---> Running in 2be4c8c0518f
 ---> b87f1f6dfd04
Removing intermediate container 2be4c8c0518f
Step 6/14 : ENV COLLECTD_SNMP_COMMUNITY snmp-collectd
 ---> Running in f1469ab2e48b
 ---> 0356a4420579
Removing intermediate container f1469ab2e48b
Step 7/14 : COPY rootfs_prefix/ /usr/src/rootfs_prefix/
 ---> db37d3edcc7b
Step 8/14 : COPY sources.list.d/nonfree.list /etc/apt/sources.list.d/nonfree.list
 ---> da040f5d27b6
Step 9/14 : COPY collectd.conf /etc/collectd/collectd.conf
 ---> 1a7f22fb36de
Step 10/14 : COPY NAS-MIB.txt /usr/share/snmp/mibs/NAS-MIB.txt
 ---> f1facd52496a
Step 11/14 : RUN DEBIAN_FRONTEND=noninteractive apt-get update  && apt-get install --no-install-recommends -qy     collectd-core     collectd-utils     build-essential       snmp    snmp-mibs-downloader  && make -C /usr/src/rootfs_prefix/  && apt-get -yq --purge remove build-essential  && apt-get -yq clean  && rm -rf /var/lib/apt/lists/*  && rm -rf /etc/apt/sources.list.d/*
 ---> Running in 15fe6da231d5
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:4 http://deb.debian.org/debian buster/non-free Sources [86.3 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
Get:6 http://deb.debian.org/debian buster/non-free amd64 Packages [88.0 kB]
Get:7 http://deb.debian.org/debian buster-updates/main amd64 Packages [7380 B]
Reading package lists...
E: Release file for http://security.debian.org/debian-security/dists/buster/updates/InRelease is not valid yet (invalid for another 15min 2s). Updates for this repository will not be applied.
ERROR: Service 'collectd' failed to build: The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update  && apt-get install --no-install-recommends -qy     collectd-core     collectd-utils     build-essential     snmp    snmp-mibs-downloader  && make -C /usr/src/rootfs_prefix/  && apt-get -yq --purge remove build-essential  && apt-get -yq clean  && rm -rf /var/lib/apt/lists/*  && rm -rf /etc/apt/sources.list.d/*' returned a non-zero code: 100
[/share/Container/QNAP-collectdinfluxdbgrafana-master] #
zottelbeyer commented 4 years ago

Release file for http://security.debian.org/debian-security/dists/buster/updates/InRelease is not valid yet (invalid for another 15min 2s). Updates for this repository will not be applied.

this might be a hiccup in debians apt sources or an indication that your NAS system time is off by quite a bit, which might also explain the problems?

then try to run docker compose again: docker-compose up -d --build

reformstudios commented 4 years ago

Ooh, good idea. I'll check!

reformstudios commented 4 years ago

It was about 15 minutes out. I updated the time and redid the build.

on trace_id=0LsmMQ4l000 op_name=retention_delete_check op_event=end op_elapsed=0.122ms
ts=2020-03-31T06:07:28.083757Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0Lso4HKl000 op_name=retention_delete_check op_event=start
ts=2020-03-31T06:07:28.083851Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0Lso4HKl000 op_name=retention_delete_check op_event=end op_elapsed=0.128ms
ts=2020-03-31T06:37:28.083746Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0Lspn8_l000 op_name=retention_delete_check op_event=start
ts=2020-03-31T06:37:28.083844Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0Lspn8_l000 op_name=retention_delete_check op_event=end op_elapsed=0.120ms
ts=2020-03-31T07:07:28.083706Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LsrV~pl000 op_name=retention_delete_check op_event=start
ts=2020-03-31T07:07:28.083775Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LsrV~pl000 op_name=retention_delete_check op_event=end op_elapsed=0.094ms
ts=2020-03-31T07:37:28.083709Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LstDs4l000 op_name=retention_delete_check op_event=start
ts=2020-03-31T07:37:28.083884Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LstDs4l000 op_name=retention_delete_check op_event=end op_elapsed=0.196ms
ts=2020-03-31T08:07:28.083731Z lvl=info msg="Retention policy deletion check (start)" log_id=0LsR1xZG000 service=retention trace_id=0LsuwjKl000 op_name=retention_delete_check op_event=start
ts=2020-03-31T08:07:28.083827Z lvl=info msg="Retention policy deletion check (end)" log_id=0LsR1xZG000 service=retention trace_id=0LsuwjKl000 op_name=retention_delete_check op_event=end op_elapsed=0.118ms
[~] # docker exec -it grafana /bin/bash
bash-5.0# ping influxdb
PING influxdb (172.29.4.2): 56 data bytes
64 bytes from 172.29.4.2: seq=0 ttl=64 time=2.744 ms
64 bytes from 172.29.4.2: seq=1 ttl=64 time=0.180 ms
64 bytes from 172.29.4.2: seq=2 ttl=64 time=0.131 ms
64 bytes from 172.29.4.2: seq=3 ttl=64 time=0.134 ms
64 bytes from 172.29.4.2: seq=4 ttl=64 time=0.191 ms
64 bytes from 172.29.4.2: seq=5 ttl=64 time=0.196 ms
64 bytes from 172.29.4.2: seq=6 ttl=64 time=0.177 ms
64 bytes from 172.29.4.2: seq=7 ttl=64 time=0.180 ms
64 bytes from 172.29.4.2: seq=8 ttl=64 time=0.178 ms

64 bytes from 172.29.4.2: seq=9 ttl=64 time=0.191 ms
64 bytes from 172.29.4.2: seq=10 ttl=64 time=0.195 ms
^C
--- influxdb ping statistics ---
11 packets transmitted, 11 packets received, 0% packet loss
round-trip min/avg/max = 0.131/0.408/2.744 ms
bash-5.0# exit
exit
[~] # ls
index_default.html
[~] # exit
logout
Connection to 192.168.1.2 closed.
❯ ls
.pytest_cache        hvdeadlineeventhandler  hvnukestudio  tk-hiero-export      tk-multi-shotgunpanel
halo_primary_config  hvdocs                  hvpipeline    tk-hvdelivery        tk-multi-sync
hvRV                 hvhoudini               hvpython      tk-maya-playblast    tk-nuke-quickreview
hvcmd                hvmaya                  hv-python     tk-multi-framerange  tk-nuke-writenode
hvdeadline           hvnuke                  tk-desktop    tk-multi-loader2     hvRV.zip
❯ ssh admin@192.168.1.2
admin@192.168.1.2's password:
Permission denied, please try again.
admin@192.168.1.2's password:
Permission denied, please try again.
admin@192.168.1.2's password:
[~] # ls
index_default.html
[~] # cd /
[/] # cd share
[/share] # cd Container
[/share/Container] # cd QNAP-collectdinfluxdbgrafana-master/
[/share/Container/QNAP-collectdinfluxdbgrafana-master] # docker-compose down --rmi all
Stopping grafana       ... done
Stopping influxdb      ... done
Stopping qnap-collectd ... done
Removing grafana       ... done
Removing influxdb      ... done
Removing qnap-collectd ... done
Removing network qnap-collectdinfluxdbgrafana-master_default
Removing image influxdb:1.7
Removing image qnap-collectd
Removing image grafana/grafana:6.7.1
[/share/Container/QNAP-collectdinfluxdbgrafana-master] # cd ..
[/share/Container] # rm -r QNAP-collectdinfluxdbgrafana-master
[/share/Container] # rm master.zip
[/share/Container] # wget https://github.com/zottelbeyer/QNAP-collectdinfluxdbgrafana/archive/master.zip
--2020-03-31 11:13:35--  https://github.com/zottelbeyer/QNAP-collectdinfluxdbgrafana/archive/master.zip
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/zottelbeyer/QNAP-collectdinfluxdbgrafana/zip/master [following]
--2020-03-31 11:13:35--  https://codeload.github.com/zottelbeyer/QNAP-collectdinfluxdbgrafana/zip/master
Resolving codeload.github.com (codeload.github.com)... 140.82.113.10
Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘master.zip’

master.zip                        [ <=>                                            ]  26.43K  --.-KB/s    in 0.1s

2020-03-31 11:13:36 (239 KB/s) - ‘master.zip’ saved [27066]

[/share/Container] # unzip master.zip
Archive:  master.zip
c1e1d368a3b851310a86b1d558fe247d772a31a3
   creating: QNAP-collectdinfluxdbgrafana-master/
  inflating: QNAP-collectdinfluxdbgrafana-master/.env
  inflating: QNAP-collectdinfluxdbgrafana-master/.gitignore
  inflating: QNAP-collectdinfluxdbgrafana-master/README.md
  inflating: QNAP-collectdinfluxdbgrafana-master/docker-compose.yml
   creating: QNAP-collectdinfluxdbgrafana-master/grafana/
  inflating: QNAP-collectdinfluxdbgrafana-master/grafana/QNAP-collectd.json
  inflating: QNAP-collectdinfluxdbgrafana-master/grafana/dashboard.yaml
  inflating: QNAP-collectdinfluxdbgrafana-master/grafana/datasource.yaml
   creating: QNAP-collectdinfluxdbgrafana-master/influxdb/
  inflating: QNAP-collectdinfluxdbgrafana-master/influxdb/influxdb.conf
  inflating: QNAP-collectdinfluxdbgrafana-master/influxdb/types.db
   creating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/Dockerfile
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/NAS-MIB.txt
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/collectd.conf
   creating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/collectd.conf.d/
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/collectd.conf.d/sample.conf
   creating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/rootfs_prefix/
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/rootfs_prefix/Makefile
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/rootfs_prefix/rootfs_prefix.c
   creating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/sources.list.d/
  inflating: QNAP-collectdinfluxdbgrafana-master/qnap-collectd/sources.list.d/nonfree.list
[/share/Container] # cd QNAP-collectdinfluxdbgrafana-master
[/share/Container/QNAP-collectdinfluxdbgrafana-master] # docker-compose up -d --build
Creating network "qnap-collectdinfluxdbgrafana-master_default" with the default driver
Pulling influxdb (influxdb:1.7)...
1.7: Pulling from library/influxdb
c0c53f743a40: Pull complete
66997431d390: Pull complete
[/share/Container/QNAP-collectdinfluxdbgrafana-master] # docker-compose up -d --build
Building collectd
Step 1/14 : FROM debian:buster
 ---> 971452c94376
Step 2/14 : ENV COLLECTD_HOSTNAME QNAP-collectd
 ---> Using cache
 ---> fd30816bbec3
Step 3/14 : ENV COLLECTD_INTERVAL 10
 ---> Using cache
 ---> d8aec0668875
Step 4/14 : ENV COLLECTD_INFLUXDBIP 127.0.0.1
 ---> Using cache
 ---> ddb489921730
Step 5/14 : ENV COLLECTD_INFLUXDBPORT 25826
 ---> Using cache
 ---> b87f1f6dfd04
Step 6/14 : ENV COLLECTD_SNMP_COMMUNITY snmp-collectd
 ---> Using cache
 ---> 0356a4420579
Step 7/14 : COPY rootfs_prefix/ /usr/src/rootfs_prefix/
 ---> Using cache
 ---> db37d3edcc7b
Step 8/14 : COPY sources.list.d/nonfree.list /etc/apt/sources.list.d/nonfree.list
 ---> Using cache
 ---> da040f5d27b6
Step 9/14 : COPY collectd.conf /etc/collectd/collectd.conf
 ---> Using cache
 ---> 1a7f22fb36de
Step 10/14 : COPY NAS-MIB.txt /usr/share/snmp/mibs/NAS-MIB.txt
 ---> Using cache
 ---> f1facd52496a
Step 11/14 : RUN DEBIAN_FRONTEND=noninteractive apt-get update  && apt-get install --no-install-recommends -qy     collectd-core     collectd-utils     build-essential       snmp    snmp-mibs-downloader  && make -C /usr/src/rootfs_prefix/  && apt-get -yq --purge remove build-essential  && apt-get -yq clean  && rm -rf /var/lib/apt/lists/*  && rm -rf /etc/apt/sources.list.d/*
 ---> Running in b9f0c573788a
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [185 kB]
Get:5 http://deb.debian.org/debian buster/non-free Sources [86.3 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
Get:7 http://deb.debian.org/debian buster/non-free amd64 Packages [88.0 kB]
Get:8 http://deb.debian.org/debian buster-updates/main amd64 Packages [7380 B]
Fetched 8510 kB in 5s (1725 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu bzip2 cpp cpp-8 dpkg-dev
  g++ g++-8 gcc gcc-8 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev
  libcc1-0 libcollectdclient1 libdpkg-perl libgcc-8-dev libgdbm-compat4
  libgdbm6 libgomp1 libisl19 libitm1 liblsan0 libmariadb3 libmpc3 libmpfr6
  libmpx2 libpci3 libpcre2-8-0 libperl5.28 libpsl5 libquadmath0
  libsensors-config libsensors5 libsnmp-base libsnmp30 libssl1.1
  libstdc++-8-dev libtsan0 libubsan1 libwrap0 linux-libc-dev lsb-base make
  mariadb-common mysql-common patch perl perl-modules-5.28 smistrip wget
  xz-utils
Suggested packages:
  binutils-doc bzip2-doc collectd-dev librrds-perl liburi-perl
  libhtml-parser-perl libregexp-common-perl libconfig-general-perl httpd-cgi
  apache2 apcupsd bind9 ceph chrony default-mysql-server gpsd hddtemp iptables
  ipvsadm lm-sensors mbmon memcached nginx notification-daemon nut openvpn
  olsrd pdns-server postgresql redis-server slapd time-daemon varnish
  zookeeper intel-cmt-cat libatasmart4 libcurl3-gnutls libdbi1 libesmtp6
  libganglia1 libgdk-pixbuf2.0-0 libglib2.0-0 libgps23 libgrpc++1
  libhiredis0.14 libi2c0 libip4tc0 libip6tc0 libldap-2.4-2 liblua5.3-0
  libmemcached11 libmicrohttpd12 libmodbus5 libmosquitto1 libnotify4 libnspr4
  libnss3 libopenipmi0 liboping0 libowcapi-3.2-3 libpcap0.8 libpq5
  libprotobuf-c1 libprotobuf17 libpython2.7 librabbitmq4 librdkafka1
  libriemann-client0 librrd8 librte-acl18.11 librte-bbdev18.11
  librte-bitratestats18.11 librte-bpf18.11 librte-cfgfile18.11
  librte-cmdline18.11 librte-compressdev18.11 librte-cryptodev18.11
  librte-distributor18.11 librte-eal18.11 librte-efd18.11 librte-ethdev18.11
  librte-eventdev18.11 librte-flow-classify18.11 librte-gro18.11
  librte-gso18.11 librte-hash18.11 librte-ip-frag18.11 librte-jobstats18.11
  librte-kni18.11 librte-kvargs18.11 librte-latencystats18.11 librte-lpm18.11
  librte-mbuf18.11 librte-member18.11 librte-mempool18.11 librte-meter18.11
  librte-metrics18.11 librte-net18.11 librte-pci18.11 librte-pdump18.11
  librte-pipeline18.11 librte-port18.11 librte-power18.11 librte-rawdev18.11
  librte-reorder18.11 librte-ring18.11 librte-sched18.11 librte-security18.11
  librte-table18.11 librte-telemetry18.11 librte-timer18.11 librte-vhost18.11
  libtokyotyrant3 libupsclient4 libvarnishapi2 libvirt0 libxenmisc4.11 libxml2
  libyajl2 default-jre-headless icinga cpp-doc gcc-8-locales debian-keyring
  g++-multilib g++-8-multilib gcc-8-doc libstdc++6-8-dbg gcc-multilib
  manpages-dev autoconf automake libtool flex bison gdb gcc-doc gcc-8-multilib
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg
  liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg
  glibc-doc gnupg | gnupg2 sensible-utils git bzr gdbm-l10n libstdc++-8-doc
  make-doc ed diffutils-doc perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl libb-debug-perl liblocale-codes-perl unzip
Recommended packages:
  rrdtool collectd fakeroot gnupg | gnupg2 libalgorithm-merge-perl manpages
  manpages-dev libfile-fcntllock-perl liblocale-gettext-perl publicsuffix
  netbase ca-certificates
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential bzip2
  collectd-core collectd-utils cpp cpp-8 dpkg-dev g++ g++-8 gcc gcc-8 libasan5
  libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcollectdclient1
  libdpkg-perl libgcc-8-dev libgdbm-compat4 libgdbm6 libgomp1 libisl19 libitm1
  liblsan0 libmariadb3 libmpc3 libmpfr6 libmpx2 libpci3 libpcre2-8-0
  libperl5.28 libpsl5 libquadmath0 libsensors-config libsensors5 libsnmp-base
  libsnmp30 libssl1.1 libstdc++-8-dev libtsan0 libubsan1 libwrap0
  linux-libc-dev lsb-base make mariadb-common mysql-common patch perl
  perl-modules-5.28 smistrip snmp snmp-mibs-downloader wget xz-utils
0 upgraded, 60 newly installed, 0 to remove and 0 not upgraded.
Need to get 68.1 MB of archives.
After this operation, 257 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 perl-modules-5.28 all 5.28.1-6 [2873 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libgdbm6 amd64 1.18.1-4 [64.7 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libgdbm-compat4 amd64 1.18.1-4 [44.1 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libperl5.28 amd64 5.28.1-6 [3883 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 perl amd64 5.28.1-6 [204 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 bzip2 amd64 1.0.6-9.2~deb10u1 [48.4 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libpcre2-8-0 amd64 10.32-5 [213 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libpsl5 amd64 0.20.2-2 [53.7 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 wget amd64 1.20.1-1.1 [902 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 binutils-common amd64 2.31.1-16 [2073 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libbinutils amd64 2.31.1-16 [478 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 binutils-x86-64-linux-gnu amd64 2.31.1-16 [1823 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 binutils amd64 2.31.1-16 [56.8 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 libc-dev-bin amd64 2.28-10 [275 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 linux-libc-dev amd64 4.19.98-1 [1314 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 libc6-dev amd64 2.28-10 [2691 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 libisl19 amd64 0.20-2 [587 kB]
Get:19 http://deb.debian.org/debian buster/main amd64 libmpfr6 amd64 4.0.2-1 [775 kB]
Get:20 http://deb.debian.org/debian buster/main amd64 libmpc3 amd64 1.1.0-1 [41.3 kB]
Get:21 http://deb.debian.org/debian buster/main amd64 cpp-8 amd64 8.3.0-6 [8914 kB]
Get:22 http://deb.debian.org/debian buster/main amd64 cpp amd64 4:8.3.0-1 [19.4 kB]
Get:23 http://deb.debian.org/debian buster/main amd64 libcc1-0 amd64 8.3.0-6 [46.6 kB]
Get:24 http://deb.debian.org/debian buster/main amd64 libgomp1 amd64 8.3.0-6 [75.8 kB]
Get:25 http://deb.debian.org/debian buster/main amd64 libitm1 amd64 8.3.0-6 [27.7 kB]
Get:26 http://deb.debian.org/debian buster/main amd64 libatomic1 amd64 8.3.0-6 [9032 B]
Get:27 http://deb.debian.org/debian buster/main amd64 libasan5 amd64 8.3.0-6 [362 kB]
Get:28 http://deb.debian.org/debian buster/main amd64 liblsan0 amd64 8.3.0-6 [131 kB]
Get:29 http://deb.debian.org/debian buster/main amd64 libtsan0 amd64 8.3.0-6 [283 kB]
Get:30 http://deb.debian.org/debian buster/main amd64 libubsan1 amd64 8.3.0-6 [120 kB]
Get:31 http://deb.debian.org/debian buster/main amd64 libmpx2 amd64 8.3.0-6 [11.4 kB]
Get:32 http://deb.debian.org/debian buster/main amd64 libquadmath0 amd64 8.3.0-6 [133 kB]
Get:33 http://deb.debian.org/debian buster/main amd64 libgcc-8-dev amd64 8.3.0-6 [2298 kB]
Get:34 http://deb.debian.org/debian buster/main amd64 gcc-8 amd64 8.3.0-6 [9452 kB]
Get:35 http://deb.debian.org/debian buster/main amd64 gcc amd64 4:8.3.0-1 [5196 B]
Get:36 http://deb.debian.org/debian buster/main amd64 libstdc++-8-dev amd64 8.3.0-6 [1532 kB]
Get:37 http://deb.debian.org/debian buster/main amd64 g++-8 amd64 8.3.0-6 [9752 kB]
Get:38 http://deb.debian.org/debian buster/main amd64 g++ amd64 4:8.3.0-1 [1644 B]
Get:39 http://deb.debian.org/debian buster/main amd64 make amd64 4.2.1-1.2 [341 kB]
Get:40 http://deb.debian.org/debian buster/main amd64 libdpkg-perl all 1.19.7 [1414 kB]
Get:41 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
Get:42 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB]
Get:43 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
Get:44 http://deb.debian.org/debian buster/main amd64 lsb-base all 10.2019051400 [28.4 kB]
Get:45 http://deb.debian.org/debian buster/main amd64 collectd-core amd64 5.8.1-1.3 [1162 kB]
Get:46 http://deb.debian.org/debian buster/main amd64 libcollectdclient1 amd64 5.8.1-1.3 [126 kB]
Get:47 http://deb.debian.org/debian buster/main amd64 collectd-utils amd64 5.8.1-1.3 [134 kB]
Get:48 http://deb.debian.org/debian buster/main amd64 mysql-common all 5.8+1.0.5 [7324 B]
Get:49 http://deb.debian.org/debian buster/main amd64 mariadb-common all 1:10.3.22-0+deb10u1 [31.9 kB]
Get:50 http://deb.debian.org/debian buster/main amd64 libmariadb3 amd64 1:10.3.22-0+deb10u1 [170 kB]
Get:51 http://deb.debian.org/debian buster/main amd64 libpci3 amd64 1:3.5.2-1 [56.5 kB]
Get:52 http://deb.debian.org/debian buster/main amd64 libsensors-config all 1:3.5.0-3 [31.6 kB]
Get:53 http://deb.debian.org/debian buster/main amd64 libsensors5 amd64 1:3.5.0-3 [52.6 kB]
Get:54 http://deb.debian.org/debian buster/main amd64 libsnmp-base all 5.7.3+dfsg-5 [1595 kB]
Get:55 http://deb.debian.org/debian buster/main amd64 libssl1.1 amd64 1.1.1d-0+deb10u2 [1538 kB]
Get:56 http://deb.debian.org/debian buster/main amd64 libwrap0 amd64 7.6.q-28 [58.7 kB]
Get:57 http://deb.debian.org/debian buster/main amd64 libsnmp30 amd64 5.7.3+dfsg-5 [2324 kB]
Get:58 http://deb.debian.org/debian buster/main amd64 smistrip all 0.4.8+dfsg2-16 [29.4 kB]
Get:59 http://deb.debian.org/debian buster/main amd64 snmp amd64 5.7.3+dfsg-5 [155 kB]
Get:60 http://deb.debian.org/debian buster/non-free amd64 snmp-mibs-downloader all 1.2 [5162 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 68.1 MB in 5s (12.8 MB/s)
Selecting previously unselected package perl-modules-5.28.
(Reading database ... 6674 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.28_5.28.1-6_all.deb ...
Unpacking perl-modules-5.28 (5.28.1-6) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../01-libgdbm6_1.18.1-4_amd64.deb ...
Unpacking libgdbm6:amd64 (1.18.1-4) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../02-libgdbm-compat4_1.18.1-4_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.18.1-4) ...
Selecting previously unselected package libperl5.28:amd64.
Preparing to unpack .../03-libperl5.28_5.28.1-6_amd64.deb ...
Unpacking libperl5.28:amd64 (5.28.1-6) ...
Selecting previously unselected package perl.
Preparing to unpack .../04-perl_5.28.1-6_amd64.deb ...
Unpacking perl (5.28.1-6) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../05-bzip2_1.0.6-9.2~deb10u1_amd64.deb ...
Unpacking bzip2 (1.0.6-9.2~deb10u1) ...
Selecting previously unselected package libpcre2-8-0:amd64.
Preparing to unpack .../06-libpcre2-8-0_10.32-5_amd64.deb ...
Unpacking libpcre2-8-0:amd64 (10.32-5) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../07-libpsl5_0.20.2-2_amd64.deb ...
Unpacking libpsl5:amd64 (0.20.2-2) ...
Selecting previously unselected package wget.
Preparing to unpack .../08-wget_1.20.1-1.1_amd64.deb ...
Unpacking wget (1.20.1-1.1) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../09-xz-utils_5.2.4-1_amd64.deb ...
Unpacking xz-utils (5.2.4-1) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../10-binutils-common_2.31.1-16_amd64.deb ...
Unpacking binutils-common:amd64 (2.31.1-16) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../11-libbinutils_2.31.1-16_amd64.deb ...
Unpacking libbinutils:amd64 (2.31.1-16) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../12-binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.31.1-16) ...
Selecting previously unselected package binutils.
Preparing to unpack .../13-binutils_2.31.1-16_amd64.deb ...
Unpacking binutils (2.31.1-16) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../14-libc-dev-bin_2.28-10_amd64.deb ...
Unpacking libc-dev-bin (2.28-10) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../15-linux-libc-dev_4.19.98-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.19.98-1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../16-libc6-dev_2.28-10_amd64.deb ...
Unpacking libc6-dev:amd64 (2.28-10) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../17-libisl19_0.20-2_amd64.deb ...
Unpacking libisl19:amd64 (0.20-2) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../18-libmpfr6_4.0.2-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.0.2-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../19-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-8.
Preparing to unpack .../20-cpp-8_8.3.0-6_amd64.deb ...
Unpacking cpp-8 (8.3.0-6) ...
Selecting previously unselected package cpp.
Preparing to unpack .../21-cpp_4%3a8.3.0-1_amd64.deb ...
Unpacking cpp (4:8.3.0-1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../22-libcc1-0_8.3.0-6_amd64.deb ...
Unpacking libcc1-0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../23-libgomp1_8.3.0-6_amd64.deb ...
Unpacking libgomp1:amd64 (8.3.0-6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../24-libitm1_8.3.0-6_amd64.deb ...
Unpacking libitm1:amd64 (8.3.0-6) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../25-libatomic1_8.3.0-6_amd64.deb ...
Unpacking libatomic1:amd64 (8.3.0-6) ...
Selecting previously unselected package libasan5:amd64.
Preparing to unpack .../26-libasan5_8.3.0-6_amd64.deb ...
Unpacking libasan5:amd64 (8.3.0-6) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../27-liblsan0_8.3.0-6_amd64.deb ...
Unpacking liblsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../28-libtsan0_8.3.0-6_amd64.deb ...
Unpacking libtsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../29-libubsan1_8.3.0-6_amd64.deb ...
Unpacking libubsan1:amd64 (8.3.0-6) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../30-libmpx2_8.3.0-6_amd64.deb ...
Unpacking libmpx2:amd64 (8.3.0-6) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../31-libquadmath0_8.3.0-6_amd64.deb ...
Unpacking libquadmath0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgcc-8-dev:amd64.
Preparing to unpack .../32-libgcc-8-dev_8.3.0-6_amd64.deb ...
Unpacking libgcc-8-dev:amd64 (8.3.0-6) ...
Selecting previously unselected package gcc-8.
Preparing to unpack .../33-gcc-8_8.3.0-6_amd64.deb ...
Unpacking gcc-8 (8.3.0-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../34-gcc_4%3a8.3.0-1_amd64.deb ...
Unpacking gcc (4:8.3.0-1) ...
Selecting previously unselected package libstdc++-8-dev:amd64.
Preparing to unpack .../35-libstdc++-8-dev_8.3.0-6_amd64.deb ...
Unpacking libstdc++-8-dev:amd64 (8.3.0-6) ...
Selecting previously unselected package g++-8.
Preparing to unpack .../36-g++-8_8.3.0-6_amd64.deb ...
Unpacking g++-8 (8.3.0-6) ...
Selecting previously unselected package g++.
Preparing to unpack .../37-g++_4%3a8.3.0-1_amd64.deb ...
Unpacking g++ (4:8.3.0-1) ...
Selecting previously unselected package make.
Preparing to unpack .../38-make_4.2.1-1.2_amd64.deb ...
Unpacking make (4.2.1-1.2) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../39-libdpkg-perl_1.19.7_all.deb ...
Unpacking libdpkg-perl (1.19.7) ...
Selecting previously unselected package patch.
Preparing to unpack .../40-patch_2.7.6-3+deb10u1_amd64.deb ...
Unpacking patch (2.7.6-3+deb10u1) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../41-dpkg-dev_1.19.7_all.deb ...
Unpacking dpkg-dev (1.19.7) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../42-build-essential_12.6_amd64.deb ...
Unpacking build-essential (12.6) ...
Selecting previously unselected package lsb-base.
Preparing to unpack .../43-lsb-base_10.2019051400_all.deb ...
Unpacking lsb-base (10.2019051400) ...
Selecting previously unselected package collectd-core.
Preparing to unpack .../44-collectd-core_5.8.1-1.3_amd64.deb ...
Unpacking collectd-core (5.8.1-1.3) ...
Selecting previously unselected package libcollectdclient1.
Preparing to unpack .../45-libcollectdclient1_5.8.1-1.3_amd64.deb ...
Unpacking libcollectdclient1 (5.8.1-1.3) ...
Selecting previously unselected package collectd-utils.
Preparing to unpack .../46-collectd-utils_5.8.1-1.3_amd64.deb ...
Unpacking collectd-utils (5.8.1-1.3) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../47-mysql-common_5.8+1.0.5_all.deb ...
Unpacking mysql-common (5.8+1.0.5) ...
Selecting previously unselected package mariadb-common.
Preparing to unpack .../48-mariadb-common_1%3a10.3.22-0+deb10u1_all.deb ...
Unpacking mariadb-common (1:10.3.22-0+deb10u1) ...
Selecting previously unselected package libmariadb3:amd64.
Preparing to unpack .../49-libmariadb3_1%3a10.3.22-0+deb10u1_amd64.deb ...
Unpacking libmariadb3:amd64 (1:10.3.22-0+deb10u1) ...
Selecting previously unselected package libpci3:amd64.
Preparing to unpack .../50-libpci3_1%3a3.5.2-1_amd64.deb ...
Unpacking libpci3:amd64 (1:3.5.2-1) ...
Selecting previously unselected package libsensors-config.
Preparing to unpack .../51-libsensors-config_1%3a3.5.0-3_all.deb ...
Unpacking libsensors-config (1:3.5.0-3) ...
Selecting previously unselected package libsensors5:amd64.
Preparing to unpack .../52-libsensors5_1%3a3.5.0-3_amd64.deb ...
Unpacking libsensors5:amd64 (1:3.5.0-3) ...
Selecting previously unselected package libsnmp-base.
Preparing to unpack .../53-libsnmp-base_5.7.3+dfsg-5_all.deb ...
Unpacking libsnmp-base (5.7.3+dfsg-5) ...
Selecting previously unselected package libssl1.1:amd64.
Preparing to unpack .../54-libssl1.1_1.1.1d-0+deb10u2_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1d-0+deb10u2) ...
Selecting previously unselected package libwrap0:amd64.
Preparing to unpack .../55-libwrap0_7.6.q-28_amd64.deb ...
Unpacking libwrap0:amd64 (7.6.q-28) ...
Selecting previously unselected package libsnmp30:amd64.
Preparing to unpack .../56-libsnmp30_5.7.3+dfsg-5_amd64.deb ...
Unpacking libsnmp30:amd64 (5.7.3+dfsg-5) ...
Selecting previously unselected package smistrip.
Preparing to unpack .../57-smistrip_0.4.8+dfsg2-16_all.deb ...
Unpacking smistrip (0.4.8+dfsg2-16) ...
Selecting previously unselected package snmp.
Preparing to unpack .../58-snmp_5.7.3+dfsg-5_amd64.deb ...
Unpacking snmp (5.7.3+dfsg-5) ...
Selecting previously unselected package snmp-mibs-downloader.
Preparing to unpack .../59-snmp-mibs-downloader_1.2_all.deb ...
Unpacking snmp-mibs-downloader (1.2) ...
Setting up perl-modules-5.28 (5.28.1-6) ...
Setting up lsb-base (10.2019051400) ...
Setting up mysql-common (5.8+1.0.5) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up libpsl5:amd64 (0.20.2-2) ...
Setting up collectd-core (5.8.1-1.3) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libsnmp-base (5.7.3+dfsg-5) ...
Setting up libssl1.1:amd64 (1.1.1d-0+deb10u2) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up binutils-common:amd64 (2.31.1-16) ...
Setting up libsensors-config (1:3.5.0-3) ...
Setting up smistrip (0.4.8+dfsg2-16) ...
Setting up linux-libc-dev:amd64 (4.19.98-1) ...
Setting up libcollectdclient1 (5.8.1-1.3) ...
Setting up libgomp1:amd64 (8.3.0-6) ...
Setting up bzip2 (1.0.6-9.2~deb10u1) ...
Setting up mariadb-common (1:10.3.22-0+deb10u1) ...
update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up libasan5:amd64 (8.3.0-6) ...
Setting up libwrap0:amd64 (7.6.q-28) ...
Setting up make (4.2.1-1.2) ...
Setting up libmpfr6:amd64 (4.0.2-1) ...
Setting up xz-utils (5.2.4-1) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
Setting up libquadmath0:amd64 (8.3.0-6) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libatomic1:amd64 (8.3.0-6) ...
Setting up patch (2.7.6-3+deb10u1) ...
Setting up libmariadb3:amd64 (1:10.3.22-0+deb10u1) ...
Setting up libsensors5:amd64 (1:3.5.0-3) ...
Setting up libpcre2-8-0:amd64 (10.32-5) ...
Setting up libmpx2:amd64 (8.3.0-6) ...
Setting up libubsan1:amd64 (8.3.0-6) ...
Setting up libpci3:amd64 (1:3.5.2-1) ...
Setting up libisl19:amd64 (0.20-2) ...
Setting up libbinutils:amd64 (2.31.1-16) ...
Setting up cpp-8 (8.3.0-6) ...
Setting up libc-dev-bin (2.28-10) ...
Setting up libcc1-0:amd64 (8.3.0-6) ...
Setting up liblsan0:amd64 (8.3.0-6) ...
Setting up libitm1:amd64 (8.3.0-6) ...
Setting up libgdbm6:amd64 (1.18.1-4) ...
Setting up binutils-x86-64-linux-gnu (2.31.1-16) ...
Setting up libtsan0:amd64 (8.3.0-6) ...
Setting up wget (1.20.1-1.1) ...
Setting up collectd-utils (5.8.1-1.3) ...
Setting up binutils (2.31.1-16) ...
Setting up snmp-mibs-downloader (1.2) ...

Downloading documents and extracting MIB files.
This will take some minutes.

In case this process fails, it can always be repeated later by executing
/usr/bin/download-mibs again.

RFC1155-SMI: 119 lines.
RFC1213-MIB: 2613 lines.
NOTE: SMUX: ignored.
SMUX-MIB: 158 lines.
CLNS-MIB: 1294 lines.
RFC1381-MIB: 1007 lines.
RFC1382-MIB: 2627 lines.
RFC1414-MIB: 131 lines.
SNMPv2-PARTY-MIB: 1410 lines.
SNMPv2-M2M-MIB: 807 lines.
MIOX25-MIB: 708 lines.
PPP-LCP-MIB: 764 lines.
PPP-SEC-MIB: 289 lines.
PPP-IP-NCP-MIB: 203 lines.
PPP-BRIDGE-NCP-MIB: 429 lines.
FDDI-SMT73-MIB: 2126 lines.
TOKEN-RING-RMON-MIB: 2302 lines.
SOURCE-ROUTING-MIB: 450 lines.
DECNET-PHIV-MIB: 3030 lines.
DSA-MIB: 642 lines.
DPI20-MIB: 47 lines.
IBM-6611-APPN-MIB: 5112 lines.
DNS-SERVER-MIB: 1078 lines.
DNS-RESOLVER-MIB: 1196 lines.
UPS-MIB: 1899 lines.
CHARACTER-MIB: 646 lines.
RS-232-MIB: 788 lines.
PARALLEL-MIB: 286 lines.
SNA-NAU-MIB: 2765 lines.
SIP-MIB: 1099 lines.
Modem-MIB: 1340 lines.
RDBMS-MIB: 1377 lines.
RIPv2-MIB: 532 lines.
APPLETALK-MIB: 3398 lines.
SNA-SDLC-MIB: 2761 lines.
TOKENRING-MIB: 836 lines.
TOKENRING-STATION-SR-MIB: 175 lines.
TCPIPX-MIB: 331 lines.
SNMPv2-USEC-MIB: 238 lines.
MIP-MIB: 2127 lines.
DOT12-IF-MIB: 772 lines.
DLSW-MIB: 3560 lines.
APPC-MIB: 5104 lines.
SNMP-REPEATER-MIB: 3265 lines.
FRAME-RELAY-DTE-MIB: 992 lines.
ISDN-MIB: 1260 lines.
DIAL-CONTROL-MIB: 1270 lines.
RSVP-MIB: 2660 lines.
INTEGRATED-SERVICES-MIB: 750 lines.
INTEGRATED-SERVICES-GUARANTEED-MIB: 218 lines.
APPN-DLUR-MIB: 632 lines.
HPR-MIB: 1270 lines.
DOT12-RPTR-MIB: 1978 lines.
SYSAPPL-MIB: 1539 lines.
IPOA-MIB: 1654 lines.
IPATM-IPMC-MIB: 3244 lines.
IPV6-TCP-MIB: 211 lines.
IPV6-UDP-MIB: 141 lines.
APPN-MIB: 5611 lines.
APPN-TRAP-MIB: 477 lines.
EBN-MIB: 702 lines.
IPV6-TC: 67 lines.
IPV6-MIB: 1443 lines.
IPV6-ICMP-MIB: 529 lines.
DS0-MIB: 305 lines.
DS0BUNDLE-MIB: 311 lines.
ATM-ACCOUNTING-INFORMATION-MIB: 402 lines.
ACCOUNTING-CONTROL-MIB: 768 lines.
ATM-TC-MIB: 713 lines.
ATM-MIB: 2995 lines.
TN3270E-MIB: 1953 lines.
TN3270E-RT-MIB: 896 lines.
APPLICATION-MIB: 2995 lines.
SNMPv2-SMI: 344 lines.
NOTE: FIZBIN-MIB: ignored.
SNMPv2-TC: 772 lines.
SNMPv2-CONF: 322 lines.
HPR-IP-MIB: 487 lines.
WWW-MIB: 1272 lines.
DIRECTORY-SERVER-MIB: 772 lines.
SMON-MIB: 1254 lines.
ADSL-TC-MIB: 113 lines.
ADSL-LINE-MIB: 4328 lines.
ETHER-CHIPSET-MIB: 532 lines.
NHRP-MIB: 2596 lines.
Job-Monitoring-MIB: 1652 lines.
FLOW-METER-MIB: 1901 lines.
AGENTX-MIB: 527 lines.
SLAPM-MIB: 2842 lines.
SNMP-USM-DH-OBJECTS-MIB: 532 lines.
VRRP-MIB: 789 lines.
NETWORK-SERVICES-MIB: 626 lines.
MTA-MIB: 1226 lines.
HOST-RESOURCES-MIB: 1540 lines.
HOST-RESOURCES-TYPES: 389 lines.
RMON-MIB: 3980 lines.
FIBRE-CHANNEL-FE-MIB: 1781 lines.
HCNUM-TC: 118 lines.
IF-MIB: 1814 lines.
IF-INVERTED-STACK-MIB: 149 lines.
PTOPO-MIB: 804 lines.
IPMROUTE-STD-MIB: 869 lines.
IGMP-STD-MIB: 516 lines.
PIM-MIB: 889 lines.
COPS-CLIENT-MIB: 844 lines.
FRNETSERV-MIB: 2479 lines.
FR-ATM-PVC-SERVICE-IWF-MIB: 1066 lines.
RTP-MIB: 981 lines.
DISMAN-EVENT-MIB: 1882 lines.
DISMAN-EXPRESSION-MIB: 1182 lines.
NOTIFICATION-LOG-MIB: 753 lines.
IPV6-MLD-MIB: 417 lines.
FR-MFR-MIB: 888 lines.
PINT-MIB: 573 lines.
DOCS-BPI-MIB: 1569 lines.
INTERFACETOPN-MIB: 1023 lines.
DISMAN-SCRIPT-MIB: 1764 lines.
SFLOW-MIB: 389 lines.
CIRCUIT-IF-MIB: 369 lines.
FRSLD-MIB: 1768 lines.
DISMAN-SCHEDULE-MIB: 699 lines.
HC-RMON-MIB: 3149 lines.
DSMON-MIB: 4449 lines.
DIFFSERV-DSCP-TC: 64 lines.
DIFFSERV-MIB: 3514 lines.
GSMP-MIB: 1582 lines.
L2TP-MIB: 2664 lines.
SNMP-FRAMEWORK-MIB: 526 lines.
SNMP-MPD-MIB: 145 lines.
NOTE: : ignored.
SNMP-TARGET-MIB: 660 lines.
SNMP-NOTIFICATION-MIB: 589 lines.
SNMP-PROXY-MIB: 294 lines.
NOTE: : ignored.
SNMP-USER-BASED-SM-MIB: 912 lines.
SNMP-VIEW-BASED-ACM-MIB: 830 lines.
SNMPv2-PDU: 133 lines.
SNMPv2-TM: 176 lines.
SNMPv2-MIB: 854 lines.
TRANSPORT-ADDRESS-MIB: 421 lines.
ENTITY-SENSOR-MIB: 440 lines.
HC-ALARM-MIB: 707 lines.
ADSL-LINE-EXT-MIB: 1169 lines.
APS-MIB: 1659 lines.
MALLOC-MIB: 1364 lines.
SNMP-COMMUNITY-MIB: 505 lines.
OPT-IF-MIB: 6616 lines.
SONET-MIB: 2360 lines.
PerfHist-TC-MIB: 178 lines.
IPV6-FLOW-LABEL-MIB: 58 lines.
ATM2-MIB: 3220 lines.
POWER-ETHERNET-MIB: 621 lines.
EtherLike-MIB: 1862 lines.
HC-PerfHist-TC-MIB: 222 lines.
VDSL-LINE-MIB: 2844 lines.
APM-MIB: 2127 lines.
DIFFSERV-CONFIG-MIB: 243 lines.
NOTE: IANA-PRINTER-MIB: ignored.
Printer-MIB: 4389 lines.
NOTE: IANA-FINISHER-MIB: ignored.
Finisher-MIB: 869 lines.
MPLS-TC-STD-MIB: 635 lines.
MPLS-TE-STD-MIB: 2483 lines.
MPLS-LSR-STD-MIB: 2106 lines.
MPLS-FTN-STD-MIB: 1030 lines.
MPLS-LDP-STD-MIB: 2408 lines.
MPLS-LDP-ATM-STD-MIB: 757 lines.
MPLS-LDP-FRAME-RELAY-STD-MIB: 641 lines.
MPLS-LDP-GENERIC-STD-MIB: 321 lines.
ROHC-MIB: 1133 lines.
ROHC-UNCOMPRESSED-MIB: 197 lines.
ROHC-RTP-MIB: 636 lines.
SNMP-USM-AES-MIB: 62 lines.
TRIP-TC-MIB: 132 lines.
TRIP-MIB: 2007 lines.
SCTP-MIB: 1342 lines.
ALARM-MIB: 1127 lines.
NOTE: IANA-ITU-ALARM-TC-MIB: ignored.
ITU-ALARM-TC-MIB: 86 lines.
ITU-ALARM-MIB: 486 lines.
ARC-MIB: 396 lines.
DS3-MIB: 1786 lines.
TE-MIB: 1679 lines.
INET-ADDRESS-MIB: 402 lines.
NAT-MIB: 2391 lines.
POLICY-BASED-MANAGEMENT-MIB: 2060 lines.
TCP-MIB: 785 lines.
DOCS-IETF-SUBMGT-MIB: 672 lines.
FC-MGMT-MIB: 2205 lines.
VDSL-LINE-EXT-SCM-MIB: 420 lines.
VDSL-LINE-EXT-MCM-MIB: 662 lines.
TUNNEL-MIB: 738 lines.
UDP-MIB: 549 lines.
DOCS-IETF-BPI2-MIB: 3451 lines.
ENTITY-MIB: 1411 lines.
SSPM-MIB: 1029 lines.
TPM-MIB: 1916 lines.
BRIDGE-MIB: 1472 lines.
TE-LINK-STD-MIB: 1745 lines.
VPN-TC-STD-MIB: 72 lines.
ENTITY-STATE-TC-MIB: 169 lines.
ENTITY-STATE-MIB: 332 lines.
BGP4-MIB: 1232 lines.
IP-FORWARD-MIB: 1277 lines.
IP-MIB: 4993 lines.
MOBILEIPV6-MIB: 3984 lines.
RSTP-MIB: 306 lines.
HDSL2-SHDSL-LINE-MIB: 2503 lines.
DOCS-IETF-QOS-MIB: 3060 lines.
P-BRIDGE-MIB: 1157 lines.
Q-BRIDGE-MIB: 2367 lines.
MPLS-LC-ATM-STD-MIB: 336 lines.
MPLS-LC-FR-STD-MIB: 263 lines.
IFCP-MGMT-MIB: 1015 lines.
MPLS-L3VPN-STD-MIB: 1588 lines.
FCIP-MGMT-MIB: 1037 lines.
T11-FC-NAME-SERVER-MIB: 1136 lines.
T11-TC-MIB: 67 lines.
T11-FC-FABRIC-ADDR-MGR-MIB: 1241 lines.
ISIS-MIB: 4317 lines.
SCSI-MIB: 2758 lines.
AGGREGATE-MIB: 477 lines.
TIME-AGGREGATE-MIB: 375 lines.
RMON2-MIB: 5711 lines.
ISCSI-MIB: 3097 lines.
IPS-AUTH-MIB: 1156 lines.
DOCS-IF-MIB: 5291 lines.
DOCS-IETF-CABLE-DEVICE-NOTIFICATION-MIB: 1453 lines.
DISMAN-PING-MIB: 1561 lines.
DISMAN-TRACEROUTE-MIB: 1850 lines.
DISMAN-NSLOOKUP-MIB: 509 lines.
MSDP-MIB: 1182 lines.
T11-FC-ROUTE-MIB: 448 lines.
T11-FC-FSPF-MIB: 1170 lines.
LMP-MIB: 3185 lines.
DOCS-CABLE-DEVICE-MIB: 3141 lines.
RADIUS-AUTH-CLIENT-MIB: 710 lines.
RADIUS-AUTH-SERVER-MIB: 774 lines.
RADIUS-ACC-CLIENT-MIB: 638 lines.
RADIUS-ACC-SERVER-MIB: 727 lines.
RADIUS-DYNAUTH-CLIENT-MIB: 767 lines.
RADIUS-DYNAUTH-SERVER-MIB: 699 lines.
PKTC-IETF-MTA-MIB: 2081 lines.
ADSL2-LINE-TC-MIB: 729 lines.
ADSL2-LINE-MIB: 5476 lines.
RAQMON-MIB: 1417 lines.
RAQMON-RDS-MIB: 672 lines.
T11-FC-VIRTUAL-FABRIC-MIB: 523 lines.
OSPF-MIB: 4164 lines.
OSPF-TRAP-MIB: 584 lines.
SIP-TC-MIB: 177 lines.
SIP-COMMON-MIB: 1913 lines.
SIP-UA-MIB: 200 lines.
SIP-SERVER-MIB: 869 lines.
SNMP-IEEE802-TM-MIB: 40 lines.
GMPLS-TC-STD-MIB: 124 lines.
GMPLS-TE-STD-MIB: 1749 lines.
NOTE: IANA-GMPLS-TC-MIB: ignored.
GMPLS-LSR-STD-MIB: 503 lines.
GMPLS-LABEL-STD-MIB: 689 lines.
DS1-MIB: 3015 lines.
IPSEC-SPD-MIB: 2682 lines.
MAU-MIB: 1740 lines.
NOTE: IANA-MAU-MIB: ignored.
DOT3-EPON-MIB: 2532 lines.
DOT3-OAM-MIB: 2115 lines.
TCP-ESTATS-MIB: 2941 lines.
T11-FC-FABRIC-CONFIG-SERVER-MIB: 1717 lines.
T11-FC-FABRIC-LOCK-MIB: 490 lines.
T11-FC-ZONE-SERVER-MIB: 2638 lines.
ISNS-MIB: 3243 lines.
T11-FC-RSCN-MIB: 751 lines.
URI-TC-MIB: 133 lines.
PIM-STD-MIB: 3746 lines.
IF-CAP-STACK-MIB: 284 lines.
EFM-CU-MIB: 2995 lines.
UDPLITE-MIB: 513 lines.
PKTC-IETF-SIG-MIB: 3021 lines.
LANGTAG-TC-MIB: 56 lines.
IPMCAST-MIB: 2391 lines.
MIDCOM-MIB: 2260 lines.
PIM-BSR-MIB: 699 lines.
T11-FC-SP-TC-MIB: 637 lines.
T11-FC-SP-AUTHENTICATION-MIB: 920 lines.
T11-FC-SP-ZONING-MIB: 550 lines.
T11-FC-SP-POLICY-MIB: 4274 lines.
T11-FC-SP-SA-MIB: 2483 lines.
SYSLOG-TC-MIB: 202 lines.
PKTC-IETF-EVENT-MIB: 1163 lines.
NEMO-MIB: 1739 lines.
MGMD-STD-MIB: 1524 lines.
RSERPOOL-MIB: 1439 lines.
PW-TC-STD-MIB: 288 lines.
SNMP-TSM-MIB: 234 lines.
SNMP-SSH-TM-MIB: 329 lines.
NOTE: IANA-PWE3-MIB: ignored.
PW-STD-MIB: 2438 lines.
PW-MPLS-STD-MIB: 914 lines.
PW-ENET-STD-MIB: 491 lines.
PW-TDM-MIB: 1336 lines.
PW-ATM-MIB: 1205 lines.
OSPFV3-MIB: 3951 lines.
VDSL2-LINE-TC-MIB: 1479 lines.
VDSL2-LINE-MIB: 7189 lines.
SYSLOG-MSG-MIB: 598 lines.
DVB-RCS-MIB: 3329 lines.
FORCES-MIB: 391 lines.
IPFIX-MIB: 1677 lines.
NOTE: IPFIX-SELECTOR-MIB: ignored.
CAPWAP-BASE-MIB: 2618 lines.
CAPWAP-DOT11-MIB: 369 lines.
patching file ADSL-LINE-MIB
patching file DLSW-MIB
patching file DSA-MIB
patching file FDDI-SMT73-MIB
patching file HPR-MIB
patching file MIP-MIB
patching file Modem-MIB
patching file PPP-LCP-MIB
patching file RDBMS-MIB
patching file RFC1414-MIB
patching file SNA-NAU-MIB
patching file TCPIPX-MIB
patching file UPS-MIB
patching file SMUX-MIB
patching file IPATM-IPMC-MIB
IANA-PWE3-MIB: 137 lines.
NOTE: PW-STD-MIB: ignored.
NOTE: IPFIX-MIB: ignored.
IPFIX-SELECTOR-MIB: 173 lines.
IANAifType-MIB: 685 lines.
IANA-LANGUAGE-MIB: 126 lines.
IANA-ADDRESS-FAMILY-NUMBERS-MIB: 170 lines.
IANA-RTPROTO-MIB: 102 lines.
IANATn3270eTC-MIB: 303 lines.
IANA-MALLOC-MIB: 69 lines.
IANA-CHARSET-MIB: 361 lines.
IANA-PRINTER-MIB: 2111 lines.
IANA-FINISHER-MIB: 286 lines.
IANA-ITU-ALARM-TC-MIB: 335 lines.
IANA-GMPLS-TC-MIB: 359 lines.
IANA-IPPM-METRICS-REGISTRY-MIB: 818 lines.
IANA-MAU-MIB: 984 lines.
Setting up libgdbm-compat4:amd64 (1.18.1-4) ...
Setting up libgcc-8-dev:amd64 (8.3.0-6) ...
Setting up libperl5.28:amd64 (5.28.1-6) ...
Setting up cpp (4:8.3.0-1) ...
Setting up libc6-dev:amd64 (2.28-10) ...
Setting up libstdc++-8-dev:amd64 (8.3.0-6) ...
Setting up gcc-8 (8.3.0-6) ...
Setting up gcc (4:8.3.0-1) ...
Setting up libsnmp30:amd64 (5.7.3+dfsg-5) ...
Setting up perl (5.28.1-6) ...
Setting up libdpkg-perl (1.19.7) ...
Setting up g++-8 (8.3.0-6) ...
Setting up snmp (5.7.3+dfsg-5) ...
Setting up dpkg-dev (1.19.7) ...
Setting up g++ (4:8.3.0-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.6) ...
Processing triggers for libc-bin (2.28-10) ...
make: Entering directory '/usr/src/rootfs_prefix'
cc -Wall -Werror -fPIC -shared -o rootfs_prefix.so rootfs_prefix.c -ldl
make: Leaving directory '/usr/src/rootfs_prefix'
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  binutils binutils-common binutils-x86-64-linux-gnu bzip2 cpp cpp-8 dpkg-dev
  g++ g++-8 gcc gcc-8 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev
  libcc1-0 libdpkg-perl libgcc-8-dev libgomp1 libisl19 libitm1 liblsan0
  libmpc3 libmpfr6 libmpx2 libquadmath0 libstdc++-8-dev libtsan0 libubsan1
  linux-libc-dev make xz-utils
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  build-essential*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 20.5 kB disk space will be freed.
(Reading database ... 13039 files and directories currently installed.)
Removing build-essential (12.6) ...
 ---> 5a3a4fc16f3f
Removing intermediate container b9f0c573788a
Step 12/14 : ENV LD_PRELOAD /usr/src/rootfs_prefix/rootfs_prefix.so
 ---> Running in 846ebb3156a0
 ---> 3f8eeac9d97a
Removing intermediate container 846ebb3156a0
Step 13/14 : ENTRYPOINT /usr/sbin/collectd
 ---> Running in bec7c825b8b7
 ---> 66f151df34d2
Removing intermediate container bec7c825b8b7
Step 14/14 : CMD -f
 ---> Running in 4bfb11cc2e08
 ---> 06de02182633
Removing intermediate container 4bfb11cc2e08
Successfully built 06de02182633
Successfully tagged qnap-collectd:latest
Pulling grafana (grafana/grafana:6.7.1)...
6.7.1: Pulling from grafana/grafana
4167d3e14976: Pull complete
0d5a9cc58f0e: Pull complete
e1aa5e237303: Pull complete
127239e864ea: Pull complete
1087e9836d13: Pull complete
e8bc58ab1ed1: Pull complete
097892888aa6: Pull complete
03acbc89622c: Pull complete
Digest: sha256:1ff3999e0fc08a3909e9a3ecdf6e74b4789db9b67c8297c44fdee1e167b9375f
Status: Downloaded newer image for grafana/grafana:6.7.1
Creating qnap-collectd ... done
Creating influxdb      ... done
Creating grafana       ... done
[/share/Container/QNAP-collectdinfluxdbgrafana-master] #

Same 502 error after that completed though.

reformstudios commented 4 years ago

I think the initial build had the same error, but it went through ok after a second attempt without having to fix the system time.... if that's useful information for you.

reformstudios commented 4 years ago

Oh! It seems to be working after I restarted the dockers. I also disabled my "All/Deny List" at this time, but I've re-enabled it and it still seems to be working, so perhaps unrelated. Woohoo! Thank you so much for the help. It's also helped me understand quite a bit more how docker works, which is an added bonus. Much appreciated.

zottelbeyer commented 4 years ago

Okay then, here is what I assume happend:

I will update the readme to include a section on system time and waiting for influxdb to become ready. Glad we could figure this out!

reformstudios commented 4 years ago

Just an update to confirm that the problem was my QNAP security settings. I hadn't added my new laptop ip to the list of accepted connections, thus preventing the browser from communicating with the docker containers on the QNAP server! My connection had stopped again, and only after disabling the security (allow all connections) did the connection work again.

I also installed the Influxdb module for python on my laptop. This failed to connect also, until I added my laptop to accepted IPs. I imagine this is a nice way to debug problems with the db. Thanks again.

reformstudios commented 4 years ago

Yea something weird is going on. Even with my security disabled, I'm getting periods where the datasource test is failing, but I am happily able to access the influxdb via python api on the same machine. I can even see the logs on the container console on the qnap gui update live when I make the queries. The grafana test just isn't able to connect.

What is the path that the grafana datasource test takes between the browser and the container? Something is getting in the way. Browser plugin perhaps? odd routing? Any suggestions on what to test? Where can I see the logs that the grafana datasource test should be creating in the destination service? I assume that should be the same log that I'm seeing the request from the python api call?

One other thing to note. My container station is now very crashy. It wasn't before. It completely dies.

zottelbeyer commented 4 years ago

Okay, so to answer a few questions

On the network side:

On Grafana querying influxdb:

reformstudios commented 4 years ago

Nothing clashing, but no sign of anything assigned to 26826... which might mean something.

zottelbeyer commented 4 years ago

as you can probably guess this is kind of hard to debug given I can not reproduce it locally. You could try different versions of influxdb by modifying the docker-compose.yml:

replace image: influxdb:1.7 with image: influxdb:1.7-alpine or image: influxdb:1.6 for example. 1.7-alpine is the recommended image (but does not support arm64, which is why I didn't use it). I'm sorry I can't be more of help at the moment.

zottelbeyer commented 4 years ago

@reformstudios : You might want to try the newly released influxdb 1.8 if you are still trying to get this running.

zottelbeyer commented 4 years ago

closing as I can't reproduce this issue and user is no longer responding.