From 9889df0d80d4d0f880a5b6c662307faa5d6ff617 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 23 Jul 2008 17:15:51 +0200 Subject: [PATCH] collectd.conf(5): Documented the `onewire' plugin. --- src/collectd.conf.pod | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index faff2ffe..7a5c738a 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -928,6 +928,46 @@ L. =back +=head2 Plugin C + +The C plugin uses the B library from the B project +L to read sensors connected via the onewire bus. + +=over 4 + +=item B I + +Sets the device to read the values from. This can either be a "real" hardware +device, such as a serial port or an USB port, or the address of the +L socket, usually B. + +Though the documentation claims to automatically recognize the given address +format, with versionE2.7p4 we had to specify the type explicitly. So +with that version, the following configuration worked for us: + + + Device "-s localhost:4304" + + +=item B I + +Selects sensors to collect or to ignore, depending on B, see +below. Sensors are specified without the family byte at the beginning, to you'd +use C, and B include the leading C<10.> family byte and +point. + +=item B I|I + +If no configuration if given, the B plugin will collect data from all +sensors found. This may not be practical, especially if sensors are added and +removed regularly. Sometimes, however, it's easier/preferred to collect only +specific sensors or all sensors I a few specified ones. This option +enables you to do that: By setting B to I the effect of +B is inverted: All selected interfaces are ignored and all other +interfaces are collected. + +=back + =head2 Plugin C This plugin embeds a Perl-interpreter into collectd and provides an interface -- 2.11.0