Closed pratikp09 closed 7 years ago
New config lines are the cause just comment them.
#prefix_m20_rates = ""
#prefix_m20_counters = ""
#prefix_m20_timers = ""
#prefix_m20_gauges = ""
So the issue seems to be the numbers in the key.
put this in the ini file
prefix_m20 = "dasf"
../build/statsdaemon -config_file statsdaemon.ini -debug
Could not read config file: **prefix_m** is not a valid config setting
So for some reason the numbers are getting lopped off.
looks like there was a bug in the toml library we're using. As per commit above, it should be fixed now. please confirm.
confirmed solved.
Hi
I had a statsdaemon running on my server 2 days back. It was having issues sending metrics so I decided to reinstall it. But ever since I trying to assign a config file to it, I am getting the below error
Could not read config file: /tmp/statsdaemon/statsdaemon.ini is not a valid TOML file. See https://github.com/mojombo/toml
I see a couple of commits made yesterday. Is anyone seeing the same issue