Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

write-graphite module: Invalid configuration option: LogSendErrors #253

Closed
daks opened this issue Apr 22, 2015 · 10 comments
Closed

write-graphite module: Invalid configuration option: LogSendErrors #253

daks opened this issue Apr 22, 2015 · 10 comments

Comments

@daks
Copy link

daks commented Apr 22, 2015

Hello,

I just upgraded this module from 2.1.0 to 3.2.0 and running it on Debian Wheezy. I use the graphite module with a configuration like

class { 'collectd::plugin::write_graphite':
    graphitehost    => 'xxx.xxx.xxx.xxx',
    graphiteport    => '2003',
    graphiteprefix  => 'servers.',
}

This configuration worked before and seems to still work but it raises an error when running collectd:

collectd[3910]: write_graphite plugin: Invalid configuration option: LogSendErrors.

I tried to set this option to true or false and I got the same error, only removing this option resolves it. Collectd version on Debian 7 is 5.1.0

@txaj
Copy link

txaj commented Apr 22, 2015

please give us the output of :

collectd -h

as well as the complete block generated with the LogSendErrors option

@daks
Copy link
Author

daks commented Apr 22, 2015

collectd -h

Usage: collectd [OPTIONS]

Available options:
General:
-C Configuration file.
Default: /etc/collectd/collectd.conf
-t Test config and exit.
-T Test plugin read and exit.
-P PID-file.
Default: /var/run/collectd.pid
-f Don't fork to the background.
-h Display help (this message)

Builtin defaults:
Config file /etc/collectd/collectd.conf
PID file /var/run/collectd.pid
Plugin directory /usr/lib/collectd
Data directory /var/lib/collectd

collectd 5.1.0, http://collectd.org/
by Florian octo Forster octo@verplant.org
for contributions see `AUTHORS'

@daks
Copy link
Author

daks commented Apr 22, 2015

# more 10-write_graphite.conf 
# Generated by Puppet
LoadPlugin write_graphite

<Plugin write_graphite>
  <Carbon>
    Host "xxx"
    Port "2003"
    Prefix "serveurs."
    EscapeCharacter "_"
    StoreRates true
    AlwaysAppendDS false
    SeparateInstances false
    LogSendErrors true
  </Carbon>
</Plugin>

@txaj
Copy link

txaj commented Apr 22, 2015

That was fixed by 3f60606

This fix is not yet in a release but you can checkout master up to this commit if you wish, or cherry-pick it

@daks
Copy link
Author

daks commented Apr 22, 2015

thanks for your quick answer. is next release due soon? i prefer to only use tagged release not master.

@txaj
Copy link

txaj commented Apr 22, 2015

@blkperl ?

@aamerik
Copy link

aamerik commented Apr 22, 2015

Please publish this fix to puppet forge :) thank you 👍

@blkperl
Copy link
Member

blkperl commented Apr 23, 2015

Ok, working on it

@daks
Copy link
Author

daks commented Apr 23, 2015

thank you for you reactivity :)

@daks daks closed this as completed Apr 23, 2015
@blkperl
Copy link
Member

blkperl commented Apr 23, 2015

New release is out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants