Release of EvoBSD 6.8.0 #37
|
@ -10,23 +10,23 @@ collectd_interval: "300"
|
||||||
|
|
||||||
# exec plugin
|
# exec plugin
|
||||||
|
|
||||||
collectd_plugin_exec: False # Set to true only if one of the exec plugins below is also set to true
|
collectd_plugin_exec: false # Set to true only if one of the exec plugins below is also set to true
|
||||||
collectd_plugin_exec_interval: "{{ collectd_interval }}"
|
collectd_plugin_exec_interval: "{{ collectd_interval }}"
|
||||||
collectd_plugin_exec_ifq_drops: False
|
collectd_plugin_exec_ifq_drops: false
|
||||||
collectd_plugin_exec_dns_stats: False # Based on unbound
|
collectd_plugin_exec_dns_stats: false # Based on unbound
|
||||||
collectd_plugin_exec_dns_stats_interval: "{{ collectd_interval }}"
|
collectd_plugin_exec_dns_stats_interval: "{{ collectd_interval }}"
|
||||||
|
|
||||||
# others plugins
|
# others plugins
|
||||||
|
|
||||||
collectd_plugin_cpu: True
|
collectd_plugin_cpu: true
|
||||||
collectd_plugin_df: True
|
collectd_plugin_df: true
|
||||||
collectd_plugin_disk: True
|
collectd_plugin_disk: true
|
||||||
collectd_plugin_interface: True
|
collectd_plugin_interface: true
|
||||||
collectd_plugin_load: True
|
collectd_plugin_load: true
|
||||||
collectd_plugin_memory: True
|
collectd_plugin_memory: true
|
||||||
collectd_plugin_pf: True
|
collectd_plugin_pf: true
|
||||||
collectd_plugin_processes: True
|
collectd_plugin_processes: true
|
||||||
collectd_plugin_swap: True
|
collectd_plugin_swap: true
|
||||||
collectd_plugin_tcpconns: True
|
collectd_plugin_tcpconns: true
|
||||||
collectd_plugin_uptime: True
|
collectd_plugin_uptime: true
|
||||||
collectd_plugin_users: True
|
collectd_plugin_users: true
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
- name: Enabling Collectd
|
- name: Enabling Collectd
|
||||||
service:
|
service:
|
||||||
name: collectd
|
name: collectd
|
||||||
enabled: yes
|
enabled: true
|
||||||
tags:
|
tags:
|
||||||
- collectd
|
- collectd
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
src: ifq_drops.sh
|
src: ifq_drops.sh
|
||||||
dest: /usr/local/share/collectd/scripts/ifq_drops.sh
|
dest: /usr/local/share/collectd/scripts/ifq_drops.sh
|
||||||
mode: 0755
|
mode: 0755
|
||||||
force: yes
|
force: true
|
||||||
when: collectd_plugin_exec_ifq_drops
|
when: collectd_plugin_exec_ifq_drops
|
||||||
tags:
|
tags:
|
||||||
- collectd
|
- collectd
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
src: dns_stats.sh
|
src: dns_stats.sh
|
||||||
dest: /usr/local/share/collectd/scripts/dns_stats.sh
|
dest: /usr/local/share/collectd/scripts/dns_stats.sh
|
||||||
mode: 0755
|
mode: 0755
|
||||||
force: yes
|
force: true
|
||||||
when: collectd_plugin_exec_dns_stats
|
when: collectd_plugin_exec_dns_stats
|
||||||
tags:
|
tags:
|
||||||
- collectd
|
- collectd
|
||||||
|
@ -60,9 +60,10 @@
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /var/unbound/etc/unbound.conf
|
path: /var/unbound/etc/unbound.conf
|
||||||
regexp: 'statistics-interval'
|
regexp: 'statistics-interval'
|
||||||
line: ' statistics-interval: {{ collectd_plugin_exec_dns_stats_interval }}'
|
line:
|
||||||
|
' statistics-interval: {{ collectd_plugin_exec_dns_stats_interval }}'
|
||||||
insertafter: 'hide-version:'
|
insertafter: 'hide-version:'
|
||||||
backup: yes
|
backup: true
|
||||||
notify: reload unbound
|
notify: reload unbound
|
||||||
when: collectd_plugin_exec_dns_stats
|
when: collectd_plugin_exec_dns_stats
|
||||||
tags:
|
tags:
|
||||||
|
@ -80,7 +81,7 @@
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /var/unbound/etc/unbound.conf
|
path: /var/unbound/etc/unbound.conf
|
||||||
regexp: 'statistics-interval'
|
regexp: 'statistics-interval'
|
||||||
backup: yes
|
backup: true
|
||||||
state: absent
|
state: absent
|
||||||
notify: reload unbound
|
notify: reload unbound
|
||||||
when: not collectd_plugin_exec_dns_stats
|
when: not collectd_plugin_exec_dns_stats
|
||||||
|
|
Loading…
Reference in a new issue