X-Git-Url: https://git.cweiske.de/usb-wde1-tools.git/blobdiff_plain/35171f9695f54d84d239c20cf3cca095a53ef569..e6c166f53f76da3d5700bad559c1f7efabd21baf:/munin/README diff --git a/munin/README b/munin/README index f8eaf23..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 @@ -68,7 +68,18 @@ $ ln -s usb-wde1_ usb-wde1_humidity $ cd .. -Running the munin plugin is also relatively easy, and you can easily pass -the environment configuration variables from the munin configuration -on the cli: +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: $ 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