Streaming Infrastructure Monitoring with Grafana (DNS)

statistics-channels {
inet 0.0.0.0 port 8053;
};
eyevinntechnology/docker-collectd:5.6-1.0
LoadPlugin bind
<Plugin "bind">
URL "http://bind:8053/"
OpCodes true
QTypes true
ServerStats true
ZoneMaintStats true
ResolverStats false
MemoryStats true
</Plugin>
LoadPlugin network
<Plugin network>
Server "influxdb" "25826"
</Plugin>
version: '2'services:
dns:
restart: always
image: eyevinntechnology/docker-collectd:5.6-1.0
volumes:
- /private/var/docker/dns-collect/conf.d:/etc/collectd/collectd.conf.d
curl -X POST http://influxdb:8086/query --data-urlencode "q=CREATE DATABASE collectd"
[collectd]
enabled = true
bind-address = ":25826"
database = "collectd"
typesdb = "/usr/share/collectd/types.db"
version: '2'services:
influxdb:
restart: always
image: influxdb:latest
environment:
- INFLUXDB_COLLECTD_ENABLED=true
- INFLUXDB_COLLECTD_BIND_ADDRESS=:25826
- INFLUXDB_COLLECTD_DATABASE=collectd
- INFLUXDB_COLLECTD_TYPESDB=/usr/local/share/collectd/types.db
volumes:
- /private/var/docker/influxdb:/var/lib/influxdb
- /private/var/docker/influxdb/collectd:/usr/local/share/collectd
"SELECT derivative("value", 1m) FROM "bind_value" WHERE ("type" = 'dns_rcode' AND "type_instance" = 'tx-FORMERR' AND "host" =~ /^631b34308072$/) AND time >= now() - 1h;"

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Eyevinn Technology

Eyevinn Technology

We are consultants sharing the passion for the technology for a media consumer of the future.