[collectd] write plugin in a weired mood

Andreas Schuldei andreas at schuldei.org
Tue Feb 28 17:30:18 CET 2017


oh, and how do i get collectd to put the "name" from the config file (under
<Plugin onewirecltr>) into the rrd file?

On Tue, Feb 28, 2017 at 5:07 PM Andreas Schuldei <andreas at schuldei.org>
wrote:

> 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/6af6111b/attachment-0001.html>


More information about the collectd mailing list