dns_query_time plugin: makefiles and python.d.conf update
Ilya committed
Mar 26, 2017 at 03:09 UTC
791f0dfa2b6050b4464800b762e1ac385c789a62
4 files changed
+5
-1
conf.d/Makefile.am
+1
@@ -28,6 +28,7 @@ dist_pythonconfig_DATA = \
28
python.d/apache_cache.conf \
29
python.d/bind_rndc.conf \
30
python.d/cpufreq.conf \
31
+ python.d/dns_query_time.conf \
32
python.d/dovecot.conf \
33
python.d/elasticsearch.conf \
34
python.d/example.conf \
conf.d/python.d.conf
+2
@@ -31,6 +31,7 @@ log_interval: 3600
31
# bind_rndc: yes
32
# cpufreq: yes
33
# cpuidle: yes
34
+# dns_query_time: yes
35
# dovecot: yes
36
# elasticsearch: yes
37
@@ -52,6 +53,7 @@ gunicorn_log: no
53
# memcached: yes
54
# mysql: yes
55
# nginx: yes
56
+# nsd: yes
57
58
# nginx_log has been replaced by web_log
59
nginx_log: no
python.d/Makefile.am
+1
@@ -18,6 +18,7 @@ dist_python_DATA = \
18
bind_rndc.chart.py \
19
cpufreq.chart.py \
20
cpuidle.chart.py \
21
+ dns_query_time.chart.py \
22
dovecot.chart.py \
23
elasticsearch.chart.py \
24
example.chart.py \
python.d/dns_query_time.chart.py
+1
-1
@@ -40,7 +40,7 @@ class Service(SimpleService):
40
41
self.timeout = self.timeout if isinstance(self.timeout, int) else 4
42
self.update_every = self.timeout + 1 if self.update_every <= self.timeout else self.update_every
43
-
43
+
44
if not all([self.domains, self.server_list,
45
isinstance(self.server_list, str), isinstance(self.domains, str)]):
46
self.error('server_list and domain_list can\'t be empty')