riemann / riemann-dash

An HTTP dashboard for Riemann.
MIT License
248 stars 102 forks source link

config.json issue #83

Open lucidbee opened 10 years ago

lucidbee commented 10 years ago

I am bringing up a riemann monitoring system. I kept losing all the non-default customization for riemann-dash (the definition of the graphs). Eventually I realized what was happening:

If a config.json file exists in the config directory (which in my install is at /var/lib/gems/1.9.1/gems/riemann-dash-0.2.9/config) then when I do 's' in riemann-dash to save the config.json file, the config.json file is overwritten by config.json for the default startup display, which is an empty view with the title RIEMANN and the help menu. If there is NO config.json in this directory, then the config.json that is written defines the graphs as I've customized them in reimann-dash.

The user-group for the config.json file is riemann-riemann.