]> arthur.barton.de Git - netdata.git/commitdiff
dns_query_time plugin: makefiles and python.d.conf update
authorIlya <ilyamaschenko@gmail.com>
Sat, 25 Mar 2017 18:09:47 +0000 (03:09 +0900)
committerIlya <ilyamaschenko@gmail.com>
Sat, 25 Mar 2017 18:09:47 +0000 (03:09 +0900)
conf.d/Makefile.am
conf.d/python.d.conf
python.d/Makefile.am
python.d/dns_query_time.chart.py

index efe1f2a6e34d0af98c2153340d809b37f9859543..0df2605370c01f458ebff7055a253b6ce27c5867 100644 (file)
@@ -28,6 +28,7 @@ dist_pythonconfig_DATA = \
     python.d/apache_cache.conf \
     python.d/bind_rndc.conf \
     python.d/cpufreq.conf \
+    python.d/dns_query_time.conf \
     python.d/dovecot.conf \
     python.d/elasticsearch.conf \
     python.d/example.conf \
index 9ed346cdcdf76573191a4c12b5c21dce6267bfd6..22a18efac323af97c35413f7c123f783f3bbd382 100644 (file)
@@ -31,6 +31,7 @@ log_interval: 3600
 # bind_rndc: yes
 # cpufreq: yes
 # cpuidle: yes
+# dns_query_time: yes
 # dovecot: yes
 # elasticsearch: yes
 
@@ -52,6 +53,7 @@ gunicorn_log: no
 # memcached: yes
 # mysql: yes
 # nginx: yes
+# nsd: yes
 
 # nginx_log has been replaced by web_log
 nginx_log: no
index bfe28ff2803bf5526cd09d3d8999fef55917e91b..89ac2b789447e636d49019246a71827cd0534903 100644 (file)
@@ -18,6 +18,7 @@ dist_python_DATA = \
     bind_rndc.chart.py \
     cpufreq.chart.py \
     cpuidle.chart.py \
+    dns_query_time.chart.py \
     dovecot.chart.py \
     elasticsearch.chart.py \
     example.chart.py \
index f391175070a7fb9fa3bc75f3b03588c3fa3c145b..527e5b8ef9f2d63f09abfc33fa5e481d83c46c59 100644 (file)
@@ -40,7 +40,7 @@ class Service(SimpleService):
 
         self.timeout = self.timeout if isinstance(self.timeout, int) else 4
         self.update_every = self.timeout + 1 if self.update_every <= self.timeout else self.update_every
+
         if not all([self.domains, self.server_list,
                     isinstance(self.server_list, str), isinstance(self.domains, str)]):
             self.error('server_list and domain_list can\'t be empty')