summaryrefslogtreecommitdiffstats
path: root/conf.d/python.d/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/python.d/nginx.conf')
-rw-r--r--conf.d/python.d/nginx.conf24
1 files changed, 15 insertions, 9 deletions
diff --git a/conf.d/python.d/nginx.conf b/conf.d/python.d/nginx.conf
index 645925a55..71c521066 100644
--- a/conf.d/python.d/nginx.conf
+++ b/conf.d/python.d/nginx.conf
@@ -43,7 +43,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)
@@ -59,13 +65,13 @@
# predefined parameters. These are:
#
# job_name:
-# name: my_name # the JOB's name as it will appear at the
-# # dashboard. If name: is not supplied the
-# # job_name: will be used (use _ for spaces)
-# # 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, this plugin also supports the following:
#
@@ -99,5 +105,5 @@ localipv4:
localipv6:
name : 'local'
- url : 'http://::1/stub_status'
+ url : 'http://[::1]/stub_status'