mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Change stats file location (Bind9) (#11439)
The stats file should not be placed in /var/run/named but in /var/cache/bind. In run there will be permissions problems.
This commit is contained in:
parent
d1bdbe2125
commit
ac7ebc065f
@ -237,8 +237,8 @@ Extend` heading top of page.
|
||||
1: Create stats file with appropriate permissions:
|
||||
|
||||
```bash
|
||||
~$ touch /var/run/named/stats
|
||||
~$ chown bind:bind /var/run/named/stats
|
||||
~$ touch /var/cache/bind/stats
|
||||
~$ chown bind:bind /var/cache/bind/stats
|
||||
```
|
||||
|
||||
Change `user:group` to the user and group that's running bind/named.
|
||||
@ -248,7 +248,7 @@ Change `user:group` to the user and group that's running bind/named.
|
||||
```text
|
||||
options {
|
||||
...
|
||||
statistics-file "/var/run/named/stats";
|
||||
statistics-file "/var/cache/bind/stats";
|
||||
zone-statistics yes;
|
||||
...
|
||||
};
|
||||
@ -294,7 +294,7 @@ own settings.
|
||||
rndc = The path to rndc. Default: /usr/bin/env rndc
|
||||
call_rndc = A 0/1 boolean on whether or not to call rndc stats.
|
||||
Suggest to set to 0 if using netdata. Default: 1
|
||||
stats_file = The path to the named stats file. Default: /var/run/named/stats
|
||||
stats_file = The path to the named stats file. Default: /var/cache/bind/stats
|
||||
agent = A 0/1 boolean for if this is being used as a LibreNMS
|
||||
agent or not. Default: 0
|
||||
zero_stats = A 0/1 boolean for if the stats file should be zeroed
|
||||
|
Loading…
Reference in New Issue
Block a user