summaryrefslogtreecommitdiffstats
path: root/conf.d/python.d/powerdns.conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--conf.d/python.d/powerdns.conf (renamed from conf.d/python.d/apache_cache.conf)46
1 files changed, 24 insertions, 22 deletions
diff --git a/conf.d/python.d/apache_cache.conf b/conf.d/python.d/powerdns.conf
index 98eecd0e8..ca6200df1 100644
--- a/conf.d/python.d/apache_cache.conf
+++ b/conf.d/python.d/powerdns.conf
@@ -1,4 +1,4 @@
-# netdata python.d.plugin configuration for apache cache
+# netdata python.d.plugin configuration for powerdns
#
# This file is in YaML format. Generally the format is:
#
@@ -31,7 +31,13 @@
# If unset, the default for python.d.plugin is used.
# Attempts to restore the service are made once every update_every
# and only if the module has collected values in the past.
-# retries: 5
+# retries: 60
+
+# autodetection_retry sets the job re-check interval in seconds.
+# The job is not deleted if check fails.
+# Attempts to start the job are made once every autodetection_retry.
+# This feature is disabled by default.
+# autodetection_retry: 0
# ----------------------------------------------------------------------
# JOBS (data collection sources)
@@ -47,30 +53,26 @@
# predefined parameters. These are:
#
# job_name:
-# name: myname # the JOB's name as it will appear at the
-# # dashboard (by default is the job_name)
-# # JOBs sharing a name are mutually exclusive
-# update_every: 1 # the JOB's data collection frequency
-# priority: 60000 # the JOB's order on the dashboard
-# retries: 5 # the JOB's number of restoration attempts
+# name: myname # the JOB's name as it will appear at the
+# # dashboard (by default is the job_name)
+# # JOBs sharing a name are mutually exclusive
+# update_every: 1 # the JOB's data collection frequency
+# priority: 60000 # the JOB's order on the dashboard
+# retries: 60 # the JOB's number of restoration attempts
+# autodetection_retry: 0 # the JOB's re-check interval in seconds
#
-# Additionally to the above, apache_cache also supports the following:
+# Additionally to the above, apache also supports the following:
#
-# path: 'PATH' # the path to apache's cache.log
+# url: 'URL' # the URL to fetch powerdns performance statistics
+# header:
+# X-API-Key: 'Key' # API key
#
-
# ----------------------------------------------------------------------
# AUTO-DETECTION JOBS
# only one of them will run (they have the same name)
-apache:
- name: 'local'
- path: '/var/log/apache/cache.log'
-
-apache2:
- name: 'local'
- path: '/var/log/apache2/cache.log'
-
-httpd:
- name: 'local'
- path: '/var/log/httpd/cache.log'
+# localhost:
+# name : 'local'
+# url : 'http://127.0.0.1:8081/api/v1/servers/localhost/statistics'
+# header:
+# X-API-Key: 'change_me'