Skip to content

Commit 25ec5be

Browse files
committed
Update README
1 parent 252ae5f commit 25ec5be

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
1-
# CPU Temperature Plugin for Collectd
1+
# Collectd Python Plugins
22

3-
This is a simply Python plugin for Collectd that can read the CPU temperature.
4-
It has been tested on a Raspberry Pi 3.
3+
This is a collections of Python plugin for Collectd.
4+
5+
- `cpu_temp`: Report the CPU temperature. Tested on a Raspberry Pi 3.
56

67
For more information, please refer to [my
78
blogpost](https://blog.dbrgn.ch/2017/3/10/write-a-collectd-python-plugin/).
89

910
## Configuration
1011

11-
Copy the `cpu_temp.py` file to your target system. Make sure to adjust the
12-
`ModulePath`.
12+
Copy the desired Python files to your target system. Make sure to adjust the
13+
`ModulePath`. The following example assumes they were copied to
14+
`/opt/collectd_plugins`.
15+
16+
### cpu_temp
1317

1418
If your CPU temperature cannot be read from
1519
`/sys/class/thermal/thermal_zone0/temp`, make sure to adjust that variable too.
1620

1721
LoadPlugin python
1822
<Plugin python>
19-
ModulePath "/etc/collectd"
23+
ModulePath "/opt/collectd_plugins"
2024
Import "cpu_temp"
2125
<Module cpu_temp>
2226
Path "/sys/class/thermal/thermal_zone0/temp"

0 commit comments

Comments
 (0)