@cryptotaxi247 / netdata-1 / commits / 0e4342ba7

add sensors to charts.d.conf and add a note how to enable it (#11715)

Co-authored-by: David Shreve, Jr. <david@netdata.cloud>

Ilya Mashchenko committed Oct 26, 2021 at 15:56 UTC 0e4342ba751d3876b309cc626ab0985b0d573280
2 files changed +27 -9
collectors/charts.d.plugin/charts.d.conf
+1
@@ -45,3 +45,4 @@
45 # Nothing useful.
46 # Just an example charts.d plugin you can use as a template.
47 # example=force
48 +# sensors=force
collectors/charts.d.plugin/sensors/README.md
+26 -9
@@ -19,20 +19,37 @@ The plugin will provide charts for all configured system sensors
19
20 The plugin will create Netdata charts for:
21
22 -1. **Temperature**
23 -2. **Voltage**
24 -3. **Current**
25 -4. **Power**
26 -5. **Fans Speed**
27 -6. **Energy**
28 -7. **Humidity**
22 +1. **Temperature**
23 +2. **Voltage**
24 +3. **Current**
25 +4. **Power**
26 +5. **Fans Speed**
27 +6. **Energy**
28 +7. **Humidity**
29
30 One chart for every sensor chip found and each of the above will be created.
31
32 +## Enable the collector
33 +
34 +The `sensors` collector is disabled by default. To enable it, edit the `charts.d.conf` file using `edit-config` from the
35 +Netdata [config directory](/docs/configure/nodes.md), which is typically at `/etc/netdata`.
36 +
37 +```bash
38 +cd /etc/netdata # Replace this path with your Netdata config directory, if different
39 +sudo ./edit-config charts.d.conf
40 +```
41 +
42 +It also needs to be set to "force" to be enabled:
43 +
44 +```shell
45 +# example=force
46 +sensors=force
47 +```
48 +
49 ## Configuration
50
34 -Edit the `charts.d/sensors.conf` configuration file using `edit-config` from the Netdata [config
35 -directory](/docs/configure/nodes.md), which is typically at `/etc/netdata`.
51 +Edit the `charts.d/sensors.conf` configuration file using `edit-config` from the
52 +Netdata [config directory](/docs/configure/nodes.md), which is typically at `/etc/netdata`.
53
54 ```bash
55 cd /etc/netdata # Replace this path with your Netdata config directory, if different