X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcollectd.conf.pod;h=7a5c738a6a72531da758f6592ef9249823164923;hb=9889df0d80d4d0f880a5b6c662307faa5d6ff617;hp=faff2ffe35bb30f2818e21ef6a18c695630da464;hpb=11ba6e7c5a57c9bb73f389cfaf79b50b56b7544f;p=collectd.git 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