megacli: add configuration file
lgz committed
Jul 6, 2018 at 15:06 UTC
e1d2c6de031f841fb4586436f50dfc975a127c72
2 files changed
+69
conf.d/Makefile.am
+1
@@ -52,6 +52,7 @@ dist_pythonconfig_DATA = \
52
python.d/isc_dhcpd.conf \
53
python.d/litespeed.conf \
54
python.d/logind.conf \
55
+ python.d/megacli.conf \
56
python.d/mdstat.conf \
57
python.d/memcached.conf \
58
python.d/mongodb.conf \
conf.d/python.d/megacli.conf
new
+68
@@ -0,0 +1,68 @@
1
+# netdata python.d.plugin configuration for megacli
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: 60
27
+
28
+# autodetection_retry sets the job re-check interval in seconds.
29
+# The job is not deleted if check fails.
30
+# Attempts to start the job are made once every autodetection_retry.
31
+# This feature is disabled by default.
32
+# autodetection_retry: 0
33
+
34
+# ----------------------------------------------------------------------
35
+# JOBS (data collection sources)
36
+#
37
+# The default JOBS share the same *name*. JOBS with the same name
38
+# are mutually exclusive. Only one of them will be allowed running at
39
+# any time. This allows autodetection to try several alternatives and
40
+# pick the one that works.
41
+#
42
+# Any number of jobs is supported.
43
+#
44
+# All python.d.plugin JOBS (for all its modules) support a set of
45
+# predefined parameters. These are:
46
+#
47
+# job_name:
48
+# name: myname # the JOB's name as it will appear at the
49
+# # dashboard (by default is the job_name)
50
+# # JOBs sharing a name are mutually exclusive
51
+# update_every: 1 # the JOB's data collection frequency
52
+# priority: 60000 # the JOB's order on the dashboard
53
+# retries: 60 # the JOB's number of restoration attempts
54
+# autodetection_retry: 0 # the JOB's re-check interval in seconds
55
+#
56
+# Additionally to the above, megacli also supports the following:
57
+#
58
+# do_battery: yes/no # default is no. Battery stats (adds additional call to megacli `megacli -AdpBbuCmd -a0`).
59
+#
60
+# ----------------------------------------------------------------------
61
+
62
+# IMPORTANT
63
+# The netdata user needs to be able to be able to sudo the megacli program without password:
64
+# netdata ALL=(root) NOPASSWD: /path/to/megacli
65
+
66
+
67
+# uncomment the line below to collect battery statistics
68
+# do_battery: yes