Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Maltech

#1
I'm trying to get statistics from unbound with telegraph. So far I have these lines added to the telegraf config:

[[inputs.unbound]]
  binary = "/usr/local/sbin/unbound-control"
  thread_as_tag = false


But I get the following error:

E! [inputs.unbound] Error in plugin: error gathering metrics: error running unbound-control: exit status 1 (/usr/local/sbin/unbound-control [stats_noreset])

When I execute the command on the shell I also get an error but without the square brackets it works.

/usr/local/sbin/unbound-control stats_noreset


But how can I remove these brackets from the telegraf?