projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1a938b1
)
collectd.conf(5): Improve the synopsis for the "modbus" plugin.
author
Florian Forster
<octo@noris.net>
Wed, 24 Mar 2010 13:07:48 +0000
(14:07 +0100)
committer
Florian Forster
<octo@noris.net>
Wed, 24 Mar 2010 13:07:48 +0000
(14:07 +0100)
src/collectd.conf.pod
patch
|
blob
|
history
diff --git
a/src/collectd.conf.pod
b/src/collectd.conf.pod
index
2fe8287
..
e85856c
100644
(file)
--- a/
src/collectd.conf.pod
+++ b/
src/collectd.conf.pod
@@
-1697,21
+1697,29
@@
values (two registers interpreted as IEEE floats in big endian notation).
Synopsis:
Synopsis:
- <Data "
data_name
">
- RegisterBase
1234
+ <Data "
voltage-input-1
">
+ RegisterBase
0
RegisterType float
RegisterType float
- Type
gau
ge
- Instance "
...
"
+ Type
volta
ge
+ Instance "
input-1
"
</Data>
</Data>
- <Host "name">
- Address "addr"
- Port "1234"
+ <Data "voltage-input-2">
+ RegisterBase 2
+ RegisterType float
+ Type voltage
+ Instance "input-2"
+ </Data>
+
+ <Host "modbus.example.com">
+ Address "192.168.0.42"
+ Port "502"
Interval 60
Interval 60
-
+
<Slave 1>
<Slave 1>
- Instance "foobar" # optional
- Collect "data_name"
+ Instance "power-supply"
+ Collect "voltage-input-1"
+ Collect "voltage-input-2"
</Slave>
</Host>
</Slave>
</Host>