summaryrefslogtreecommitdiffstats
path: root/collectors/python.d.plugin/megacli
diff options
context:
space:
mode:
authorJoel Hans <joel@netdata.cloud>2020-02-12 05:11:32 -0700
committerGitHub <noreply@github.com>2020-02-12 05:11:32 -0700
commit8166f8bc2aed417285cf08c2a9b60d2ebc3b872c (patch)
treef67382d28c26a182a7ff9d1667854303834c3e50 /collectors/python.d.plugin/megacli
parent162b78443a0a48bf0c012da094760375b755173e (diff)
Added collector config to relevant READMEs (#8052)
Diffstat (limited to 'collectors/python.d.plugin/megacli')
-rw-r--r--collectors/python.d.plugin/megacli/README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/collectors/python.d.plugin/megacli/README.md b/collectors/python.d.plugin/megacli/README.md
index afc8cbda64..d9300e746b 100644
--- a/collectors/python.d.plugin/megacli/README.md
+++ b/collectors/python.d.plugin/megacli/README.md
@@ -37,7 +37,7 @@ Add to `sudoers`:
netdata ALL=(root) NOPASSWD: /path/to/megacli
```
-### configuration
+### Configuration
**megacli** is disabled by default. Should be explicitly enabled in `python.d.conf`.
@@ -45,7 +45,15 @@ netdata ALL=(root) NOPASSWD: /path/to/megacli
megacli: yes
```
-Battery stats disabled by default. To enable them modify `megacli.conf`.
+Edit the `python.d/megacli.conf` configuration file using `edit-config` from the your agent's [config
+directory](../../../docs/step-by-step/step-04.md#find-your-netdataconf-file), which is typically at `/etc/netdata`.
+
+```bash
+cd /etc/netdata # Replace this path with your Netdata config directory, if different
+sudo ./edit-config python.d/megacli.conf
+```
+
+Battery stats disabled by default. To enable them, modify `megacli.conf`.
```yaml
do_battery: yes