@cryptotaxi247 / netdata-1 / commits / 3c4f299a2

python.d configuration files updated

Costa Tsaousis (ktsaou) committed Jul 14, 2016 at 01:47 UTC 3c4f299a25948d3f28ddf8426ad53ba4b49ffcfe
14 files changed +1098 -98
conf.d/python.d.conf
+27 -18
@@ -1,22 +1,31 @@
1 -# This is the configuration for python.d.plugin
1 +# netdata python.d.plugin configuration
2 +#
3 +# This file is in YaML format.
4 +# Generally the format is:
5 +#
6 +# name: value
7 +#
8
3 -# Disable all python modules
9 +# Enable / disable the whole python.d.plugin (all its modules)
10 enabled: no
11
6 -# By default python.d.plugin enables all modules stored in python.d
7 -# Modules can be disabled with setting "module_name = no"
8 -apache: yes
9 -apache_cache: yes
10 -cpufreq: yes
11 -example: yes
12 -exim: yes
13 -hddtemp: yes
14 -mysql: yes
15 -nginx: yes
16 -phpfpm: yes
17 -postfix: yes
18 -redis: yes
19 -sensors: yes
20 -squid: yes
21 -tomcat: yes
12 +# ----------------------------------------------------------------------
13 +# Enable / Disable python.d.plugin modules
14 +#
15 +# The default for all modules is enabled (yes).
16 +# Setting any of these to no will disable it.
17
18 +# apache: yes
19 +# apache_cache: yes
20 +# cpufreq: yes
21 +example: no
22 +# exim: yes
23 +# hddtemp: yes
24 +# mysql: yes
25 +# nginx: yes
26 +# phpfpm: yes
27 +# postfix: yes
28 +# redis: yes
29 +# sensors: yes
30 +# squid: yes
31 +# tomcat: yes
conf.d/python.d/apache.conf
+79 -5
@@ -1,6 +1,80 @@
1 -# Example configuration of apache.chart.py
2 -# YAML format
1 +# netdata python.d.plugin configuration for apache
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
4 -local:
5 - url: "http://localhost/server-status?auto"
6 - retries: 10
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 +# retries sets the number of retries to be made in case of failures.
31 +# If unset, the default for python.d.plugin is used.
32 +# Attempts to restore the service are made once every update_every
33 +# and only if the module has collected values in the past.
34 +# retries: 5
35 +
36 +# ----------------------------------------------------------------------
37 +# JOBS (data collection sources)
38 +#
39 +# The default JOBS share the same *name*. JOBS with the same name
40 +# are mutually exclusive. Only one of them will be allowed running at
41 +# any time. This allows autodetection to try several alternatives and
42 +# pick the one that works.
43 +#
44 +# Any number of jobs is supported.
45 +#
46 +# All python.d.plugin JOBS (for all its modules) support a set of
47 +# predefined parameters. These are:
48 +#
49 +# job_name:
50 +# name: myname # the JOB's name as it will appear at the
51 +# # dashboard (by default is the job_name)
52 +# # JOBs sharing a name are mutually exclusive
53 +# update_every: 1 # the JOB's data collection frequency
54 +# priority: 60000 # the JOB's order on the dashboard
55 +# retries: 5 # the JOB's number of restoration attempts
56 +#
57 +# Additionally to the above, apache also supports the following:
58 +#
59 +# url: 'URL' # the URL to fetch apache's mod_status stats
60 +#
61 +# if the URL is password protected, the following are supported:
62 +#
63 +# user: 'username'
64 +# pass: 'password'
65 +
66 +# ----------------------------------------------------------------------
67 +# AUTO-DETECTION JOBS
68 +# only one of them will run (they have the same name)
69 +
70 +localhost:
71 + name : 'local'
72 + url : 'http://localhost/server-status?auto'
73 +
74 +localipv4:
75 + name : 'local'
76 + url : 'http://127.0.0.1/server-status?auto'
77 +
78 +localipv6:
79 + name : 'local'
80 + url : 'http://::1/server-status?auto'
conf.d/python.d/apache_cache.conf
+75 -3
@@ -1,4 +1,76 @@
1 -# Example configuration of apache_cache.chart.py
2 -# YAML format
1 +# netdata python.d.plugin configuration for apache cache
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
4 -path: "/var/log/apache2/cache.log"
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 +# retries sets the number of retries to be made in case of failures.
31 +# If unset, the default for python.d.plugin is used.
32 +# Attempts to restore the service are made once every update_every
33 +# and only if the module has collected values in the past.
34 +# retries: 5
35 +
36 +# ----------------------------------------------------------------------
37 +# JOBS (data collection sources)
38 +#
39 +# The default JOBS share the same *name*. JOBS with the same name
40 +# are mutually exclusive. Only one of them will be allowed running at
41 +# any time. This allows autodetection to try several alternatives and
42 +# pick the one that works.
43 +#
44 +# Any number of jobs is supported.
45 +#
46 +# All python.d.plugin JOBS (for all its modules) support a set of
47 +# predefined parameters. These are:
48 +#
49 +# job_name:
50 +# name: myname # the JOB's name as it will appear at the
51 +# # dashboard (by default is the job_name)
52 +# # JOBs sharing a name are mutually exclusive
53 +# update_every: 1 # the JOB's data collection frequency
54 +# priority: 60000 # the JOB's order on the dashboard
55 +# retries: 5 # the JOB's number of restoration attempts
56 +#
57 +# Additionally to the above, apache_cache also supports the following:
58 +#
59 +# path: 'PATH' # the path to apache's cache.log
60 +#
61 +
62 +# ----------------------------------------------------------------------
63 +# AUTO-DETECTION JOBS
64 +# only one of them will run (they have the same name)
65 +
66 +apache:
67 + name: 'local'
68 + path: '/var/log/apache/cache.log'
69 +
70 +apache2:
71 + name: 'local'
72 + path: '/var/log/apache2/cache.log'
73 +
74 +httpd:
75 + name: 'local'
76 + path: '/var/log/httpd/cache.log'
conf.d/python.d/example.conf
+63 -1
@@ -1 +1,63 @@
1 -update_every : 2
1 +# netdata python.d.plugin configuration for example
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 +# retries sets the number of retries to be made in case of failures.
31 +# If unset, the default for python.d.plugin is used.
32 +# Attempts to restore the service are made once every update_every
33 +# and only if the module has collected values in the past.
34 +# retries: 5
35 +
36 +# ----------------------------------------------------------------------
37 +# JOBS (data collection sources)
38 +#
39 +# The default JOBS share the same *name*. JOBS with the same name
40 +# are mutually exclusive. Only one of them will be allowed running at
41 +# any time. This allows autodetection to try several alternatives and
42 +# pick the one that works.
43 +#
44 +# Any number of jobs is supported.
45 +#
46 +# All python.d.plugin JOBS (for all its modules) support a set of
47 +# predefined parameters. These are:
48 +#
49 +# job_name:
50 +# name: myname # the JOB's name as it will appear at the
51 +# # dashboard (by default is the job_name)
52 +# # JOBs sharing a name are mutually exclusive
53 +# update_every: 1 # the JOB's data collection frequency
54 +# priority: 60000 # the JOB's order on the dashboard
55 +# retries: 5 # the JOB's number of restoration attempts
56 +#
57 +# Additionally to the above, example also supports the following:
58 +#
59 +# - none
60 +#
61 +# ----------------------------------------------------------------------
62 +# AUTO-DETECTION JOBS
63 +# only one of them will run (they have the same name)
conf.d/python.d/exim.conf
+66 -3
@@ -1,4 +1,67 @@
1 -# Example configuration of exim.chart.py
2 -# YAML format
1 +# netdata python.d.plugin configuration for postfix
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
4 -update_every : 8 # executing `exim -bpc` can be very slow
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 +# exim is slow, so once every 10 seconds
24 +update_every: 10
25 +
26 +# priority controls the order of charts at the netdata dashboard.
27 +# Lower numbers move the charts towards the top of the page.
28 +# If unset, the default for python.d.plugin is used.
29 +# priority: 60000
30 +
31 +# retries sets the number of retries to be made in case of failures.
32 +# If unset, the default for python.d.plugin is used.
33 +# Attempts to restore the service are made once every update_every
34 +# and only if the module has collected values in the past.
35 +# retries: 5
36 +
37 +# ----------------------------------------------------------------------
38 +# JOBS (data collection sources)
39 +#
40 +# The default JOBS share the same *name*. JOBS with the same name
41 +# are mutually exclusive. Only one of them will be allowed running at
42 +# any time. This allows autodetection to try several alternatives and
43 +# pick the one that works.
44 +#
45 +# Any number of jobs is supported.
46 +#
47 +# All python.d.plugin JOBS (for all its modules) support a set of
48 +# predefined parameters. These are:
49 +#
50 +# job_name:
51 +# name: myname # the JOB's name as it will appear at the
52 +# # dashboard (by default is the job_name)
53 +# # JOBs sharing a name are mutually exclusive
54 +# update_every: 1 # the JOB's data collection frequency
55 +# priority: 60000 # the JOB's order on the dashboard
56 +# retries: 5 # the JOB's number of restoration attempts
57 +#
58 +# Additionally to the above, postfix also supports the following:
59 +#
60 +# command: 'exim -bpc' # the command to run
61 +#
62 +
63 +# ----------------------------------------------------------------------
64 +# AUTO-DETECTION JOBS
65 +
66 +local:
67 + command: 'exim -bpc'
conf.d/python.d/hddtemp.conf
+78 -6
@@ -1,8 +1,80 @@
1 -# Example configuration of hddtemp.chart.py
2 -# YAML format
1 +# netdata python.d.plugin configuration for hddtemp
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
4 -update_every: 1
5 -retries: 10
6 -host: 'localhost'
7 -port: 7634
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 +# retries sets the number of retries to be made in case of failures.
31 +# If unset, the default for python.d.plugin is used.
32 +# Attempts to restore the service are made once every update_every
33 +# and only if the module has collected values in the past.
34 +# retries: 5
35 +
36 +# ----------------------------------------------------------------------
37 +# JOBS (data collection sources)
38 +#
39 +# The default JOBS share the same *name*. JOBS with the same name
40 +# are mutually exclusive. Only one of them will be allowed running at
41 +# any time. This allows autodetection to try several alternatives and
42 +# pick the one that works.
43 +#
44 +# Any number of jobs is supported.
45 +#
46 +# All python.d.plugin JOBS (for all its modules) support a set of
47 +# predefined parameters. These are:
48 +#
49 +# job_name:
50 +# name: myname # the JOB's name as it will appear at the
51 +# # dashboard (by default is the job_name)
52 +# # JOBs sharing a name are mutually exclusive
53 +# update_every: 1 # the JOB's data collection frequency
54 +# priority: 60000 # the JOB's order on the dashboard
55 +# retries: 5 # the JOB's number of restoration attempts
56 +#
57 +# Additionally to the above, hddtemp also supports the following:
58 +#
59 +# host: 'IP or HOSTNAME' # the host to connect to
60 +# port: PORT # the port to connect to
61 +#
62 +
63 +# ----------------------------------------------------------------------
64 +# AUTO-DETECTION JOBS
65 +# only one of them will run (they have the same name)
66 +
67 +localhost:
68 + name: 'local'
69 + host: 'localhost'
70 + port: 7634
71 +
72 +localipv4:
73 + name: 'local'
74 + host: '127.0.0.1'
75 + port: 7634
76 +
77 +localipv6:
78 + name: 'local'
79 + host: '127.0.0.1'
80 + port: 7634
conf.d/python.d/mysql.conf
+143 -15
@@ -1,47 +1,175 @@
1 -# Example configuration of mysql.chart.py
2 -# YAML format
1 +# netdata python.d.plugin configuration for mysql
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
4 -update_every: 1
5 -retries: 10
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
7 -mycnf:
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 +# retries sets the number of retries to be made in case of failures.
31 +# If unset, the default for python.d.plugin is used.
32 +# Attempts to restore the service are made once every update_every
33 +# and only if the module has collected values in the past.
34 +# retries: 5
35 +
36 +# ----------------------------------------------------------------------
37 +# JOBS (data collection sources)
38 +#
39 +# The default JOBS share the same *name*. JOBS with the same name
40 +# are mutually exclusive. Only one of them will be allowed running at
41 +# any time. This allows autodetection to try several alternatives and
42 +# pick the one that works.
43 +#
44 +# Any number of jobs is supported.
45 +#
46 +# All python.d.plugin JOBS (for all its modules) support a set of
47 +# predefined parameters. These are:
48 +#
49 +# job_name:
50 +# name: myname # the JOB's name as it will appear at the
51 +# # dashboard (by default is the job_name)
52 +# # JOBs sharing a name are mutually exclusive
53 +# update_every: 1 # the JOB's data collection frequency
54 +# priority: 60000 # the JOB's order on the dashboard
55 +# retries: 5 # the JOB's number of restoration attempts
56 +#
57 +# Additionally to the above, mysql also supports the following:
58 +#
59 +# socket: 'path/to/mysql.sock'
60 +#
61 +# or
62 +# host: 'IP or HOSTNAME' # the host to connect to
63 +# port: PORT # the port to connect to
64 +#
65 +# in all cases, the following can also be set:
66 +#
67 +# user: 'username' # the mysql username to use
68 +# pass: 'password' # the mysql password to use
69 +#
70 +
71 +# ----------------------------------------------------------------------
72 +# AUTO-DETECTION JOBS
73 +# only one of them will run (they have the same name)
74 +
75 +mycnf1:
76 + name : 'local'
77 + 'my.cnf' : '/etc/my.cnf'
78 +
79 +mycnf2:
80 name : 'local'
81 'my.cnf' : '/etc/mysql/my.cnf'
82
83 socket1:
84 name : 'local'
13 - #user : 'root'
14 - #password : ''
85 + # user : ''
86 + # pass : ''
87 socket : '/var/run/mysqld/mysqld.sock'
88
89 socket2:
90 name : 'local'
19 - #user : 'root'
20 - #password : ''
91 + # user : ''
92 + # pass : ''
93 socket : '/var/lib/mysql/mysql.sock'
94
95 +socket3:
96 + name : 'local'
97 + # user : ''
98 + # pass : ''
99 + socket : '/tmp/mysql.sock'
100 +
101 tcp:
102 name : 'local'
25 - #user : 'root'
26 - #password : ''
103 + # user : ''
104 + # pass : ''
105 host : 'localhost'
106 port : '3306'
107
108 +tcpipv4:
109 + name : 'local'
110 + # user : ''
111 + # pass : ''
112 + host : '127.0.0.1'
113 + port : '3306'
114 +
115 +tcpipv6:
116 + name : 'local'
117 + # user : ''
118 + # pass : ''
119 + host : '::1'
120 + port : '3306'
121 +
122 +
123 +# Now we try the same as above with user: root
124 +# A few systems configure mysql to accept passwordless
125 +# root access.
126 +
127 +mycnf1_root:
128 + name : 'local'
129 + user : 'root'
130 + 'my.cnf' : '/etc/my.cnf'
131 +
132 +mycnf2_root:
133 + name : 'local'
134 + user : 'root'
135 + 'my.cnf' : '/etc/mysql/my.cnf'
136 +
137 socket1_root:
138 name : 'local'
139 user : 'root'
33 - #password : ''
140 + # pass : ''
141 socket : '/var/run/mysqld/mysqld.sock'
142
143 socket2_root:
144 name : 'local'
145 user : 'root'
39 - #password : ''
146 + # pass : ''
147 socket : '/var/lib/mysql/mysql.sock'
148
149 +socket3_root:
150 + name : 'local'
151 + user : 'root'
152 + # pass : ''
153 + socket : '/tmp/mysql.sock'
154 +
155 tcp_root:
156 name : 'local'
157 user : 'root'
45 - #password : ''
158 + # pass : ''
159 host : 'localhost'
47 - port : '3306'
\ No newline at end of file
160 + port : '3306'
161 +
162 +tcpipv4_root:
163 + name : 'local'
164 + user : 'root'
165 + # pass : ''
166 + host : '127.0.0.1'
167 + port : '3306'
168 +
169 +tcpipv6_root:
170 + name : 'local'
171 + user : 'root'
172 + # pass : ''
173 + host : '::1'
174 + port : '3306'
175 +
conf.d/python.d/nginx.conf
+80 -5
@@ -1,7 +1,82 @@
1 -# Example configuration of nginx.chart.py
2 -# YAML format
1 +# netdata python.d.plugin configuration for nginx
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
4 -retries: 10
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 +# retries sets the number of retries to be made in case of failures.
31 +# If unset, the default for python.d.plugin is used.
32 +# Attempts to restore the service are made once every update_every
33 +# and only if the module has collected values in the past.
34 +# retries: 5
35 +
36 +# ----------------------------------------------------------------------
37 +# JOBS (data collection sources)
38 +#
39 +# The default JOBS share the same *name*. JOBS with the same name
40 +# are mutually exclusive. Only one of them will be allowed running at
41 +# any time. This allows autodetection to try several alternatives and
42 +# pick the one that works.
43 +#
44 +# Any number of jobs is supported.
45 +#
46 +# All python.d.plugin JOBS (for all its modules) support a set of
47 +# predefined parameters. These are:
48 +#
49 +# job_name:
50 +# name: myname # the JOB's name as it will appear at the
51 +# # dashboard (by default is the job_name)
52 +# # JOBs sharing a name are mutually exclusive
53 +# update_every: 1 # the JOB's data collection frequency
54 +# priority: 60000 # the JOB's order on the dashboard
55 +# retries: 5 # the JOB's number of restoration attempts
56 +#
57 +# Additionally to the above, nginx also supports the following:
58 +#
59 +# url: 'URL' # the URL to fetch nginx's status stats
60 +#
61 +# if the URL is password protected, the following are supported:
62 +#
63 +# user: 'username'
64 +# pass: 'password'
65 +#
66 +
67 +# ----------------------------------------------------------------------
68 +# AUTO-DETECTION JOBS
69 +# only one of them will run (they have the same name)
70 +
71 +localhost:
72 + name : 'local'
73 + url : 'http://localhost/stub_status'
74 +
75 +localipv4:
76 + name : 'local'
77 + url : 'http://127.0.0.1/stub_status'
78 +
79 +localipv6:
80 + name : 'local'
81 + url : 'http://::1/stub_status'
82
6 -local:
7 - url: "http://localhost/stub_status"
conf.d/python.d/phpfpm.conf
+80 -5
@@ -1,7 +1,82 @@
1 -# Example configuration of phpfpm.chart.py
2 -# YAML format
1 +# netdata python.d.plugin configuration for PHP-FPM
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
4 -retries: 10
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 +# retries sets the number of retries to be made in case of failures.
31 +# If unset, the default for python.d.plugin is used.
32 +# Attempts to restore the service are made once every update_every
33 +# and only if the module has collected values in the past.
34 +# retries: 5
35 +
36 +# ----------------------------------------------------------------------
37 +# JOBS (data collection sources)
38 +#
39 +# The default JOBS share the same *name*. JOBS with the same name
40 +# are mutually exclusive. Only one of them will be allowed running at
41 +# any time. This allows autodetection to try several alternatives and
42 +# pick the one that works.
43 +#
44 +# Any number of jobs is supported.
45 +#
46 +# All python.d.plugin JOBS (for all its modules) support a set of
47 +# predefined parameters. These are:
48 +#
49 +# job_name:
50 +# name: myname # the JOB's name as it will appear at the
51 +# # dashboard (by default is the job_name)
52 +# # JOBs sharing a name are mutually exclusive
53 +# update_every: 1 # the JOB's data collection frequency
54 +# priority: 60000 # the JOB's order on the dashboard
55 +# retries: 5 # the JOB's number of restoration attempts
56 +#
57 +# Additionally to the above, PHP-FPM also supports the following:
58 +#
59 +# url: 'URL' # the URL to fetch nginx's status stats
60 +#
61 +# if the URL is password protected, the following are supported:
62 +#
63 +# user: 'username'
64 +# pass: 'password'
65 +#
66 +
67 +# ----------------------------------------------------------------------
68 +# AUTO-DETECTION JOBS
69 +# only one of them will run (they have the same name)
70 +
71 +localhost:
72 + name : 'local'
73 + url : "http://localhost/status"
74 +
75 +localipv4:
76 + name : 'local'
77 + url : "http://127.0.0.1/status"
78 +
79 +localipv6:
80 + name : 'local'
81 + url : "http://::1/status"
82
6 -local:
7 - url: "http://localhost/status"
conf.d/python.d/postfix.conf
+66 -3
@@ -1,4 +1,67 @@
1 -# Example configuration of postfix.chart.py
2 -# YAML format
1 +# netdata python.d.plugin configuration for postfix
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
4 -update_every : 2
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 +# postfix is slow, so once every 10 seconds
24 +update_every: 10
25 +
26 +# priority controls the order of charts at the netdata dashboard.
27 +# Lower numbers move the charts towards the top of the page.
28 +# If unset, the default for python.d.plugin is used.
29 +# priority: 60000
30 +
31 +# retries sets the number of retries to be made in case of failures.
32 +# If unset, the default for python.d.plugin is used.
33 +# Attempts to restore the service are made once every update_every
34 +# and only if the module has collected values in the past.
35 +# retries: 5
36 +
37 +# ----------------------------------------------------------------------
38 +# JOBS (data collection sources)
39 +#
40 +# The default JOBS share the same *name*. JOBS with the same name
41 +# are mutually exclusive. Only one of them will be allowed running at
42 +# any time. This allows autodetection to try several alternatives and
43 +# pick the one that works.
44 +#
45 +# Any number of jobs is supported.
46 +#
47 +# All python.d.plugin JOBS (for all its modules) support a set of
48 +# predefined parameters. These are:
49 +#
50 +# job_name:
51 +# name: myname # the JOB's name as it will appear at the
52 +# # dashboard (by default is the job_name)
53 +# # JOBs sharing a name are mutually exclusive
54 +# update_every: 1 # the JOB's data collection frequency
55 +# priority: 60000 # the JOB's order on the dashboard
56 +# retries: 5 # the JOB's number of restoration attempts
57 +#
58 +# Additionally to the above, postfix also supports the following:
59 +#
60 +# command: 'postqueue -p' # the command to run
61 +#
62 +
63 +# ----------------------------------------------------------------------
64 +# AUTO-DETECTION JOBS
65 +
66 +local:
67 + command: 'postqueue -p'
conf.d/python.d/redis.conf
+89 -7
@@ -1,14 +1,96 @@
1 -# Example configuration of redis.chart.py
2 -# YAML format
1 +# netdata python.d.plugin configuration for redis
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
4 -update_every: 1
5 -retries: 10
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
7 -socket:
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 +# retries sets the number of retries to be made in case of failures.
31 +# If unset, the default for python.d.plugin is used.
32 +# Attempts to restore the service are made once every update_every
33 +# and only if the module has collected values in the past.
34 +# retries: 5
35 +
36 +# ----------------------------------------------------------------------
37 +# JOBS (data collection sources)
38 +#
39 +# The default JOBS share the same *name*. JOBS with the same name
40 +# are mutually exclusive. Only one of them will be allowed running at
41 +# any time. This allows autodetection to try several alternatives and
42 +# pick the one that works.
43 +#
44 +# Any number of jobs is supported.
45 +#
46 +# All python.d.plugin JOBS (for all its modules) support a set of
47 +# predefined parameters. These are:
48 +#
49 +# job_name:
50 +# name: myname # the JOB's name as it will appear at the
51 +# # dashboard (by default is the job_name)
52 +# # JOBs sharing a name are mutually exclusive
53 +# update_every: 1 # the JOB's data collection frequency
54 +# priority: 60000 # the JOB's order on the dashboard
55 +# retries: 5 # the JOB's number of restoration attempts
56 +#
57 +# Additionally to the above, redis also supports the following:
58 +#
59 +# socket: 'path/to/mysql.sock'
60 +#
61 +# or
62 +# host: 'IP or HOSTNAME' # the host to connect to
63 +# port: PORT # the port to connect to
64 +#
65 +#
66 +
67 +# ----------------------------------------------------------------------
68 +# AUTO-DETECTION JOBS
69 +# only one of them will run (they have the same name)
70 +
71 +socket1:
72 name : 'local'
73 socket : '/tmp/redis.sock'
74
11 -tcp:
75 +socket2:
76 + name : 'local'
77 + socket : '/var/run/redis/redis.sock'
78 +
79 +socket3:
80 + name : 'local'
81 + socket : '/var/lib/redis/redis.sock'
82 +
83 +localhost:
84 name : 'local'
85 host : 'localhost'
14 - port : '6379'
\ No newline at end of file
86 + port : 6379
87 +
88 +localipv4:
89 + name : 'local'
90 + host : '127.0.0.1'
91 + port : 6379
92 +
93 +localipv6:
94 + name : 'local'
95 + host : '::1'
96 + port : 6379
conf.d/python.d/sensors.conf
+52 -12
@@ -1,14 +1,54 @@
1 -# Example configuration of sensors.chart.py
2 -# YAML format
3 -
4 -#update_every: 2
5 -#types:
6 -# - temperature
7 -# - fan
8 -# - voltage
9 -# - current
10 -# - power
11 -# - energy
12 -# - humidity
1 +# netdata python.d.plugin configuration for sensors
2 +#
3 +# This file is in YaML format. Generally the format is:
4 +#
5 +# name: value
6 +#
7 +
8 +# ----------------------------------------------------------------------
9 +# Global Variables
10 +# These variables set the defaults for all JOBs, however each JOB
11 +# may define its own, overriding the defaults.
12 +
13 +# update_every sets the default data collection frequency.
14 +# If unset, the python.d.plugin default is used.
15 +# update_every: 1
16 +
17 +# priority controls the order of charts at the netdata dashboard.
18 +# Lower numbers move the charts towards the top of the page.
19 +# If unset, the default for python.d.plugin is used.
20 +# priority: 60000
21 +
22 +# retries sets the number of retries to be made in case of failures.
23 +# If unset, the default for python.d.plugin is used.
24 +# Attempts to restore the service are made once every update_every
25 +# and only if the module has collected values in the past.
26 +# retries: 5
27 +
28 +# ----------------------------------------------------------------------
29 +# Limit the number of sensors types.
30 +# Comment the ones you want to disable.
31 +# Also, re-arranging this list controls the order of the charts at the
32 +# netdata dashboard.
33 +
34 +types:
35 + - temperature
36 + - fan
37 + - voltage
38 + - current
39 + - power
40 + - energy
41 + - humidity
42 +
43 +# ----------------------------------------------------------------------
44 +# Limit the number of sensors chips.
45 +# Uncomment the first line (chips:) and add chip names below it.
46 +# The chip names that start with like that will be matched.
47 +# You can find the chip names using the sensors command.
48 +
49 #chips:
50 # - i8k
51 +# - coretemp
52 +#
53 +# chip names can be found using the sensors shell command
54 +# the prefix is matched (anything that starts like that)
conf.d/python.d/squid.conf
+121 -8
@@ -1,30 +1,143 @@
1 -# Example configuration of squid.chart.py
2 -# YAML format
1 +# netdata python.d.plugin configuration for squid
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
4 -update_every: 1
5 -retries: 10
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
7 -tcp1:
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 +# retries sets the number of retries to be made in case of failures.
31 +# If unset, the default for python.d.plugin is used.
32 +# Attempts to restore the service are made once every update_every
33 +# and only if the module has collected values in the past.
34 +# retries: 5
35 +
36 +# ----------------------------------------------------------------------
37 +# JOBS (data collection sources)
38 +#
39 +# The default JOBS share the same *name*. JOBS with the same name
40 +# are mutually exclusive. Only one of them will be allowed running at
41 +# any time. This allows autodetection to try several alternatives and
42 +# pick the one that works.
43 +#
44 +# Any number of jobs is supported.
45 +#
46 +# All python.d.plugin JOBS (for all its modules) support a set of
47 +# predefined parameters. These are:
48 +#
49 +# job_name:
50 +# name: myname # the JOB's name as it will appear at the
51 +# # dashboard (by default is the job_name)
52 +# # JOBs sharing a name are mutually exclusive
53 +# update_every: 1 # the JOB's data collection frequency
54 +# priority: 60000 # the JOB's order on the dashboard
55 +# retries: 5 # the JOB's number of restoration attempts
56 +#
57 +# Additionally to the above, squid also supports the following:
58 +#
59 +# host : 'IP or HOSTNAME' # the host to connect to
60 +# port : PORT # the port to connect to
61 +# request: 'URL' # the URL to request from squid
62 +#
63 +
64 +# ----------------------------------------------------------------------
65 +# AUTO-DETECTION JOBS
66 +# only one of them will run (they have the same name)
67 +
68 +tcp3128new:
69 name : 'local'
70 host : 'localhost'
71 port : 3128
72 request : 'cache_object://localhost:3128/counters'
73
13 -tcp2:
74 +tcp8080new:
75 name : 'local'
76 host : 'localhost'
77 port : 8080
78 request : 'cache_object://localhost:3128/counters'
79
19 -tcp3:
80 +tcp3128old:
81 name : 'local'
82 host : 'localhost'
83 port : 3128
84 request : '/squid-internal-mgr/counters'
85
25 -tcp4:
86 +tcp8080old:
87 name : 'local'
88 host : 'localhost'
89 port : 8080
90 request : '/squid-internal-mgr/counters'
91
92 +# IPv4
93 +
94 +tcp3128newipv4:
95 + name : 'local'
96 + host : '127.0.0.1'
97 + port : 3128
98 + request : 'cache_object://127.0.0.1:3128/counters'
99 +
100 +tcp8080newipv4:
101 + name : 'local'
102 + host : '127.0.0.1'
103 + port : 8080
104 + request : 'cache_object://127.0.0.1:3128/counters'
105 +
106 +tcp3128oldipv4:
107 + name : 'local'
108 + host : '127.0.0.1'
109 + port : 3128
110 + request : '/squid-internal-mgr/counters'
111 +
112 +tcp8080oldipv4:
113 + name : 'local'
114 + host : '127.0.0.1'
115 + port : 8080
116 + request : '/squid-internal-mgr/counters'
117 +
118 +# IPv6
119 +
120 +tcp3128newipv6:
121 + name : 'local'
122 + host : '::1'
123 + port : 3128
124 + request : 'cache_object://[::1]:3128/counters'
125 +
126 +tcp8080newipv6:
127 + name : 'local'
128 + host : '::1'
129 + port : 8080
130 + request : 'cache_object://[::1]:3128/counters'
131 +
132 +tcp3128oldipv6:
133 + name : 'local'
134 + host : '::1'
135 + port : 3128
136 + request : '/squid-internal-mgr/counters'
137 +
138 +tcp8080oldipv6:
139 + name : 'local'
140 + host : '::1'
141 + port : 8080
142 + request : '/squid-internal-mgr/counters'
143 +
conf.d/python.d/tomcat.conf
+79 -7
@@ -1,9 +1,81 @@
1 -# Example configuration of tomcat.chart.py
2 -# YAML format
1 +# netdata python.d.plugin configuration for tomcat
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
4 -retries: 10
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
6 -local:
7 - url: "http://localhost:8080/manager/status?XML=true"
8 - user: ""
9 - password: ""
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 +# retries sets the number of retries to be made in case of failures.
31 +# If unset, the default for python.d.plugin is used.
32 +# Attempts to restore the service are made once every update_every
33 +# and only if the module has collected values in the past.
34 +# retries: 5
35 +
36 +# ----------------------------------------------------------------------
37 +# JOBS (data collection sources)
38 +#
39 +# The default JOBS share the same *name*. JOBS with the same name
40 +# are mutually exclusive. Only one of them will be allowed running at
41 +# any time. This allows autodetection to try several alternatives and
42 +# pick the one that works.
43 +#
44 +# Any number of jobs is supported.
45 +#
46 +# All python.d.plugin JOBS (for all its modules) support a set of
47 +# predefined parameters. These are:
48 +#
49 +# job_name:
50 +# name: myname # the JOB's name as it will appear at the
51 +# # dashboard (by default is the job_name)
52 +# # JOBs sharing a name are mutually exclusive
53 +# update_every: 1 # the JOB's data collection frequency
54 +# priority: 60000 # the JOB's order on the dashboard
55 +# retries: 5 # the JOB's number of restoration attempts
56 +#
57 +# Additionally to the above, tomcat also supports the following:
58 +#
59 +# url: 'URL' # the URL to fetch nginx's status stats
60 +#
61 +# if the URL is password protected, the following are supported:
62 +#
63 +# user: 'username'
64 +# pass: 'password'
65 +#
66 +
67 +# ----------------------------------------------------------------------
68 +# AUTO-DETECTION JOBS
69 +# only one of them will run (they have the same name)
70 +
71 +localhost:
72 + name : 'local'
73 + url : 'http://localhost:8080/manager/status?XML=true'
74 +
75 +localipv4:
76 + name : 'local'
77 + url : 'http://127.0.0.1:8080/manager/status?XML=true'
78 +
79 +localipv6:
80 + name : 'local'
81 + url : 'http://[::1]:8080/manager/status?XML=true'