File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 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
67For more information, please refer to [ my
78blogpost] ( 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
1418If 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"
You can’t perform that action at this time.
0 commit comments