Knot munin stats
Go to file
2021-12-28 00:16:04 +01:00
.gitignore Initial commit 2021-12-27 18:58:12 +01:00
knot_ code practices 2021-12-28 00:16:04 +01:00
knot_proto Protocols stats 2021-12-28 00:00:53 +01:00
knot_responses Responses codes 2021-12-27 23:32:47 +01:00
LICENSE License 2021-12-27 19:00:04 +01:00
README.md Installation instructions 2021-12-27 23:32:30 +01:00

knot_

Knot munin stats

Install

Knot config

Add a "mod-stats" section, e.g. :

mod-stats:
 - id: custom-stats
   request-protocol: on
   server-operation: on
   request-bytes: on
   response-bytes: on
   edns-presence: on
   flag-presence: on
   response-code: on
   request-edns-option: on
   response-edns-option: on
   reply-nodata: on
   query-type: on
   query-size: on
   reply-size: on

Add a "statistics" section, e.g. :

statistics:
   timer: 60
   file: /tmp/knot-stats.yaml
   append: false

In your zone template, add a "mod-stats", e.g. :

template:
 - id: signed
   storage: "/var/db/knot"
   semantic-checks: on
   dnssec-signing: on
   dnssec-policy: shared
   module: mod-stats/custom-stats

Munin config

Create "knot" in the plugin-conf.d directory and put :

[knot_*]
 user root
 env.stats_file_path /tmp/knot-stats.yaml

Please adapt the path of the stats file, according to knot config, statistics section.