Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Can't parse the '{{' s in the config file #3

Open
spacemoose opened this issue Jan 27, 2017 · 0 comments
Open

Can't parse the '{{' s in the config file #3

spacemoose opened this issue Jan 27, 2017 · 0 comments

Comments

@spacemoose
Copy link

spacemoose commented Jan 27, 2017

Hi. Thanks for the dashboard. I'm using collectd version 5.7.0, and when I try start collectd with your configuration file, I get the errorl
Jan 27 10:15:00 localhost.localdomain collectd[7549]: plugin_load: plugin "memcached" successfully loaded. Jan 27 10:15:00 localhost.localdomain collectd[7549]: Error: Reading the config file failed! Jan 27 10:15:00 localhost.localdomain collectd[7549]: Read the syslog for details. Jan 27 10:15:00 localhost.localdomain collectd[7549]: {{|()}}
I'm able to use the dashboard by eliminating what i guess are the environment variable parsing sections of the config file, for example I replace:
#Interval {{ COLLECT_INTERVAL | default("10") }}
with
Interval 5

Can you provide me some guidance? Am I missing a parameter? Using too old a version of collectd?
Does parsing fail if the environment variable is not defined?

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

No branches or pull requests

1 participant