Add default config file
Chris committed
Feb 20, 2018 at 12:17 UTC
d3c2e5acbd73965785bccfa497ad9afd2a3a6fb2
2 files changed
+60
conf.d/Makefile.am
+1
@@ -55,6 +55,7 @@ dist_pythonconfig_DATA = \
55
python.d/nsd.conf \
56
python.d/ovpn_status_log.conf \
57
python.d/phpfpm.conf \
58
+ python.d/portcheck.conf \
59
python.d/postfix.conf \
60
python.d/postgres.conf \
61
python.d/powerdns.conf \
conf.d/python.d/portcheck.conf
+59
@@ -0,0 +1,59 @@
1
+# netdata python.d.plugin configuration for portcheck
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 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
+# timeout: 3 # [optional] the socket timeout when connecting
56
+# host: 'dns or ip' # [required] the remote host address in either IPv4, IPv6 or as DNS name
57
+# ports: # [required] the port number(s) to check (list is checked sequentially)
58
+# - 22 # at least one port number is required (do not specify well-known names e.g. 'ssh')
59
+# - 8080 # multiple ports are supported. they will be grouped in one chart.