summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 391db29)
raw | patch | inline | side by side (parent: 391db29)
author | Jan Vitek <vitek@vitek-ThinkPad-T500.(none)> | |
Thu, 6 Jun 2013 13:20:04 +0000 (15:20 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Tue, 9 Dec 2014 23:36:43 +0000 (00:36 +0100) |
src/collectd.conf.in | patch | blob | history | |
src/collectd.conf.pod | patch | blob | history |
diff --git a/src/collectd.conf.in b/src/collectd.conf.in
index 2454045d2d6927f951dd3d35ad19116c18bafa55..51914e74caf93ae950ae00a5545758f334834522 100644 (file)
--- a/src/collectd.conf.in
+++ b/src/collectd.conf.in
# <Data "data_name">
# RegisterBase 1234
# RegisterType float
+# ModbusRegisterType holding
# Type gauge
# Instance "..."
# </Data>
diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod
index 1588bf8b38bb24fde4b83f92b16b93480a57938c..1c5d110a7af108df68646313f434ec7850d7c71a 100644 (file)
--- a/src/collectd.conf.pod
+++ b/src/collectd.conf.pod
<Data "voltage-input-1">
RegisterBase 0
RegisterType float
+ ModbusRegisterType holding
Type voltage
Instance "input-1"
</Data>
<Data "voltage-input-2">
RegisterBase 2
RegisterType float
+ ModbusRegisterType holding
Type voltage
Instance "input-2"
</Data>
@@ -2936,6 +2938,11 @@ Specifies what kind of data is returned by the device. If the type is B<Int32>,
B<Uint32> or B<Float>, two 16E<nbsp>bit registers will be read and the data is
combined into one value. Defaults to B<Uint16>.
+=item B<ModbusRegisterType> B<holding>|B<input>
+
+Specifies register type to be collected from device. Works only with libmodbus
+2.9.2 or higher. Defaults to B<holding>.
+
=item B<Type> I<Type>
Specifies the "type" (data set) to use when dispatching the value to