summaryrefslogtreecommitdiffstats
path: root/conf.d/python.d
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@tsaousis.gr>2017-09-26 22:07:32 +0300
committerGitHub <noreply@github.com>2017-09-26 22:07:32 +0300
commitdf7e934ca7d79752bab5371e6900bf2a8299b406 (patch)
tree951ffcf8262a6df4225b93962fa8f1fc3958e39a /conf.d/python.d
parent5e9324bd5a8590a50d7456778c0335d3136af596 (diff)
parentbf3cf244a173a6e2564dcc93964e2391e7575ac3 (diff)
Merge pull request #2703 from l2isbad/powerdns_plugin_init
Powerdns plugin init
Diffstat (limited to 'conf.d/python.d')
-rw-r--r--conf.d/python.d/powerdns.conf71
1 files changed, 71 insertions, 0 deletions
diff --git a/conf.d/python.d/powerdns.conf b/conf.d/python.d/powerdns.conf
new file mode 100644
index 0000000000..330ff16e46
--- /dev/null
+++ b/conf.d/python.d/powerdns.conf
@@ -0,0 +1,71 @@
+# netdata python.d.plugin configuration for powerdns
+#
+# This file is in YaML format. Generally the format is:
+#
+# name: value
+#
+# There are 2 sections:
+# - global variables
+# - one or more JOBS
+#
+# JOBS allow you to collect values from multiple sources.
+# Each source will have its own set of charts.
+#
+# JOB parameters have to be indented (using spaces only, example below).
+
+# ----------------------------------------------------------------------
+# Global Variables
+# These variables set the defaults for all JOBs, however each JOB
+# may define its own, overriding the defaults.
+
+# update_every sets the default data collection frequency.
+# If unset, the python.d.plugin default is used.
+# update_every: 1
+
+# priority controls the order of charts at the netdata dashboard.
+# Lower numbers move the charts towards the top of the page.
+# If unset, the default for python.d.plugin is used.
+# priority: 60000
+
+# retries sets the number of retries to be made in case of failures.
+# 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
+
+# ----------------------------------------------------------------------
+# JOBS (data collection sources)
+#
+# The default JOBS share the same *name*. JOBS with the same name
+# are mutually exclusive. Only one of them will be allowed running at
+# any time. This allows autodetection to try several alternatives and
+# pick the one that works.
+#
+# Any number of jobs is supported.
+#
+# All python.d.plugin JOBS (for all its modules) support a set of
+# 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
+#
+# Additionally to the above, apache also supports the following:
+#
+# 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)
+
+localhost:
+ name : 'local'
+ url : 'http://127.0.0.1:8081/api/v1/servers/localhost/statistics'
+ header:
+ X-API-Key: 'changeme'