Code

collectd.conf: Added sample modbus configuration.
authorSebastian Harl <sh@teamix.net>
Wed, 28 Nov 2012 11:44:32 +0000 (12:44 +0100)
committerSebastian Harl <sh@teamix.net>
Wed, 28 Nov 2012 11:44:32 +0000 (12:44 +0100)
debian/collectd.conf

index 74770533ff16cd056a8311df3c48489c2e858e61..210eb042d312476d20093a3a29fff9b550df0667 100644 (file)
@@ -69,6 +69,7 @@ LoadPlugin load
 #LoadPlugin memcachec
 #LoadPlugin memcached
 LoadPlugin memory
+#LoadPlugin modbus
 #LoadPlugin multimeter
 #LoadPlugin mysql
 #LoadPlugin netlink
@@ -449,6 +450,26 @@ LoadPlugin users
 #      Port "11211"
 #</Plugin>
 
+#<Plugin modbus>
+#      <Data "data_name">
+#              RegisterBase 1234
+#              RegisterType float
+#              Type gauge
+#              Instance "..."
+#      </Data>
+#
+#      <Host "name">
+#              Address "addr"
+#              Port "1234"
+#              Interval 60
+#
+#              <Slave 1>
+#                      Instance "foobar" # optional
+#                      Collect "data_name"
+#              </Slave>
+#      </Host>
+#</Plugin>
+
 #<Plugin mysql>
 #      <Database db_name>
 #              Host "database.serv.er"