Add configuration file
Chris committed
Feb 20, 2018 at 18:55 UTC
ba11033fb33849b1929df6bfb280153edfe413b1
2 files changed
+72
conf.d/Makefile.am
+1
@@ -44,6 +44,7 @@ dist_pythonconfig_DATA = \
44
python.d/go_expvar.conf \
45
python.d/haproxy.conf \
46
python.d/hddtemp.conf \
47
+ python.d/httpcheck.conf \
48
python.d/ipfs.conf \
49
python.d/isc_dhcpd.conf \
50
python.d/mdstat.conf \
conf.d/python.d/httpcheck.conf
new
+71
@@ -0,0 +1,71 @@
1
+# netdata python.d.plugin configuration for httpcheck
2
+#
3
+# This file is in YaML format. Generally the format is:
4
+#
5
+# name: value
6
+#
7
+# There are 2 sections:
8
+# - global variables
9
+# - one or more JOBS
10
+#
11
+# JOBS allow you to collect values from multiple sources.
12
+# Each source will have its own set of charts.
13
+#
14
+# JOB parameters have to be indented (using spaces only, example below).
15
+
16
+# ----------------------------------------------------------------------
17
+# Global Variables
18
+# These variables set the defaults for all JOBs, however each JOB
19
+# may define its own, overriding the defaults.
20
+
21
+# update_every sets the default data collection frequency.
22
+# If unset, the python.d.plugin default is used.
23
+# update_every: 1
24
+
25
+# priority controls the order of charts at the netdata dashboard.
26
+# Lower numbers move the charts towards the top of the page.
27
+# If unset, the default for python.d.plugin is used.
28
+# priority: 60000
29
+
30
+# Autodetection and retries do not work for this plugin
31
+
32
+# ----------------------------------------------------------------------
33
+# JOBS (data collection sources)
34
+#
35
+# The default JOBS share the same *name*. JOBS with the same name
36
+# are mutually exclusive. Only one of them will be allowed running at
37
+# any time. This allows autodetection to try several alternatives and
38
+# pick the one that works.
39
+#
40
+# Any number of jobs is supported.
41
+#
42
+# -------------------------------
43
+# ATTENTION: Any valid configuration will be accepted, even if initial connection fails!
44
+# -------------------------------
45
+#
46
+# There is intentionally no default config, e.g. for 'localhost'
47
+
48
+# job_name:
49
+# name: myname # [optional] the JOB's name as it will appear at the
50
+# # dashboard (by default is the job_name)
51
+# # JOBs sharing a name are mutually exclusive
52
+# update_every: 1 # [optional] the JOB's data collection frequency
53
+# priority: 60000 # [optional] the JOB's order on the dashboard
54
+# retries: 60 # [optional] the JOB's number of restoration attempts
55
+# request_timeout: 1 # [optional] the timeout when connecting
56
+# url: 'http[s]://host-ip-or-dns[:port][path]'
57
+# # [required] the remote host url to connect to. If [:port] is missing, it defaults to 80
58
+# # for HTTP and 443 for HTTPS. [path] is optional too, defaults to /
59
+# redirect: yes # [optional] If the remote host returns 30x status codes, the redirection url will be
60
+# # followed.
61
+# status_accepted: # [optional] By default, 200 is accepted. Anything else will result in 'error = 1' in the
62
+# # chart, however: The response time will still be > 0, since the host responded with something.
63
+# # If redirect is enabled, the accepted status will be checked against the redirected page.
64
+# - 200 # Multiple status codes are possible. If you specify 'status_accepted', you would still
65
+# # need to add '200'. E.g. 'status_accepted: [301]' will result in 'error = 2' if code is 200.
66
+# # Do specify numerical entries such as 200, not 'OK'.
67
+# regex: '.*' # If the status code is accepted, the content of the response will be searched for this
68
+# # regex. Be aware that you may need to escape the regex string. If redirect is enabled,
69
+# # the regex will be matched to the redirected page, not the initial 30x response.
70
+
71
+# This plugin is intended for simple cases. For monitoring large networks, consider a real service monitoring tool.
\ No newline at end of file