Hi,
On Tue, Aug 20, 2019 at 02:25:41PM +0200, Daniel Salzman wrote:
I don't know knot_exporter, but I guess you have
to configure the module per zone:
template:
- id: default
module: mod-stats
However, such a setup consumes more memory in the case of many zones.
I do have
> template:
> - id: default
> storage: /usr/local/etc/dnsmgmt/data/CA/knot
> disable-any: true
> acl: [ acl_transfer, acl_notify ]
> global-module: mod-stats
so what's the difference between "global-module" and "module"
here?
(The examples for the stats module show "global-modul", which is why
I have it)
But it does the trick! Now the exporter is willing to start, and give
me data :-)
Alas, it's a bit on the heavy side, with 7 metrics for ~9600 zone - and
no global metrics "for the whole server". Mmmh. Does knot have these
stats, and the exporter just doesn't grab them yet? Or does knot truly
only do stats on a per-zone level?
Gert Doering
-- NetMaster
--
have you enabled IPv6 on something today...?
SpaceNet AG Vorstand: Sebastian v. Bomhard, Michael Emmer
Joseph-Dollinger-Bogen 14 Aufsichtsratsvors.: A. Grundner-Culemann
D-80807 Muenchen HRB: 136055 (AG Muenchen)
Tel: +49 (0)89/32356-444 USt-IdNr.: DE813185279