https://github.com/cmur2/munin-pcsensor
Munin graphs for TEMPer USB Thermometer
https://github.com/cmur2/munin-pcsensor
munin-plugins pcsensor shell temperature
Last synced: over 1 year ago
JSON representation
Munin graphs for TEMPer USB Thermometer
- Host: GitHub
- URL: https://github.com/cmur2/munin-pcsensor
- Owner: cmur2
- Created: 2013-06-02T21:14:31.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2020-12-30T12:48:21.000Z (over 5 years ago)
- Last Synced: 2025-01-23T01:31:20.523Z (over 1 year ago)
- Topics: munin-plugins, pcsensor, shell, temperature
- Language: Shell
- Homepage: https://www.mycrobase.de/mirror-redirect/munin-pcsensor
- Size: 2.93 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
munin-pcsensor
==============
Creates Munin graphs from the data delivered from an attached TEMPer USB Thermometer.
For data collection the `pcsensor` utility is needed (by default it resides in */usr/local/bin/*), it can be obtained in source or binary form from different places like [here](https://github.com/jeroensteenhuis/pcsensor).
Script was tested with pcsensor version 1.0.1.
"USB disconnect, device number X"
---------------------------------
If you are querying your TEMPerV1.4 device periodically every 5 minutes (I assume), it disconnects from USB bus every 85 minutes (or every ~17 queries) and is instantly reconnected and detected by the kernel. This script compensates this by a retry after a second after a failed invocation of `pcsensor`.
Install
-------
Clone this repository or download the pcsensor file and create a
symlink as *root* in /etc/munin/plugins by using e.g.:
cd /etc/munin/plugins; ln -s /path/to/pcsensor
**Don't forget to restart your munin-node deamon.**