X-Git-Url: https://git.cweiske.de/usb-wde1-tools.git/blobdiff_plain/86ce4bf61aba21124eab2e405f39283e0d7fc591..e6c166f53f76da3d5700bad559c1f7efabd21baf:/munin/README diff --git a/munin/README b/munin/README index c0ba522..a2b5c15 100644 --- a/munin/README +++ b/munin/README @@ -13,7 +13,7 @@ Setup ----- 0. Checkout the munin plugin code: $ cd /usr/local/src - $ git clone ssh://git.cweiske.de/~/git/usb-wde1-tools.git + $ git clone git://git.cweiske.de/usb-wde1-tools.git $ cd usb-wde1-tools 1. A process needs to watch the USB interface and log the last @@ -71,4 +71,15 @@ $ cd .. Running the munin plugin for development purposes is also relatively easy since you can pass the environment configuration variables from the munin configuration on the command line: -$ MUNIN_LIBDIR=/usr/share/munin/ logfile=test.log sensors="0 1 7" ./munin/usb-wde1_temperature +$ logfile=test.log sensors="0 1 7" ./munin/usb-wde1_temperature + + +Permission errors +................. + + cu: open (/dev/ttyUSB0): Permission denied + cu: /dev/ttyUSB0: Line in use + +Only way that I found to fix this was change ownership of `/dev/ttyUSB0` to uucp:: + + $ chown uucp /dev/ttyUSB0