[collectd] write plugin in a weired mood
Andreas Schuldei
andreas at schuldei.org
Tue Feb 28 17:07:10 CET 2017
i just upgraded from collectd 5.4 to 5.7. after i did that, my rrd files
were not updated anymore. now i see this in the logs:
Feb 28 15:07:24 david collectd[18815]: Filter subsystem: Built-in target
`write': Dispatching value to all write plugins failed with status -1.
...
Feb 28 15:07:34 david collectd[18815]: Filter subsystem: Built-in target
`write': Some write plugin is back to normal operation. `write' succeeded.
I found
https://collectd.org/wiki/index.php?title=Target:Write&redirect=no
(which talks about the errorcode 2, not -1 as i get).
this is my condensed collectd.conf file.
FQDNLookup true
WriteQueueLimitHigh 1000000
WriteQueueLimitLow 800000
LoadPlugin syslog
<Plugin syslog>
LogLevel crit
</Plugin>
<LoadPlugin perl>
Globals true
</LoadPlugin>
LoadPlugin rrdtool
<Plugin rrdtool>
DataDir "/var/lib/collectd/rrd"
CacheTimeout 120
CacheFlush 900
WritesPerSecond 30
RandomTimeout 20
RRATimespan 3600
RRATimespan 86400
RRATimespan 604800
RRATimespan 2678400
RRATimespan 31622400
RRATimespan 315576000
</Plugin>
<Plugin perl>
BaseName "Collectd::Plugins"
LoadPlugin "OneWireCtlr"
<Plugin onewirectlr>
host "192.168.178.117"
<0F00000561159F28>
type "temperature"
name "Beschreibung"
</0F00000561159F28>
</Plugin>
<Plugin onewirectlr>
host "192.168.178.116"
<F50000000F93691D_1>
type "counter"
name "Stromzähler Familie"
....
</Plugin>
</Plugin>
<Include "/etc/collectd/collectd.conf.d">
Filter "*.conf"
</Include>
what am i doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20170228/711c0b26/attachment.html>
More information about the collectd
mailing list