bind: add bind stats
This commit is contained in:
parent
3e7ebcdbd9
commit
3b1f9606d1
|
@ -30,8 +30,23 @@ in
|
|||
enable = true;
|
||||
extraConfig = ''
|
||||
include "${config.users.users.c3d2-dns.home}/c3d2-dns/zones.conf";
|
||||
|
||||
# for collectd
|
||||
statistics-channels {
|
||||
inet 127.0.0.1 port 8053;
|
||||
};
|
||||
'';
|
||||
};
|
||||
services.collectd.plugins.bind = ''
|
||||
URL "http://127.0.0.1:8053/";
|
||||
ParseTime false
|
||||
OpCodes true
|
||||
QTypes true
|
||||
ServerStats true
|
||||
ZoneMaintStats true
|
||||
ResolverStats false
|
||||
MemoryStats true
|
||||
'';
|
||||
|
||||
# Web server
|
||||
services.nginx = {
|
||||
|
|
Loading…
Reference in New Issue