mvonthron / munin-influxdb

Munin to InfluxDB/Grafana gateway
BSD 2-Clause "Simplified" License
86 stars 32 forks source link

Handling munin subdomains #8

Open jschaeff opened 8 years ago

jschaeff commented 8 years ago

Hi,

thanks for this awesome program, It's realy helpfull.

Munin allows to define an arbitrary long subdomain. For instance: acadis.org;physical;tesla:memory.swap.label swap

This is not handled correctly by the program, resulting in data not exported. As a workaroud, I'll set domain as "acadis.org-physical" to match my needs. As a matter of facts, this is as if we flattened all the subdomains tree. It works well for finding the statefile too. Maybe this is acceptable as a general solution ?