doublemarket / grafana-rrd-server

A HTTP server that helps Grafana read RRD files via Grafana Simple JSON Datasource plugin
MIT License
153 stars 38 forks source link

Query fails if path contains white-space #35

Open quazar0 opened 6 years ago

quazar0 commented 6 years ago

I am trying to query data from a 3d party RRD database, so I have no control over the name of the RRD files/paths. Some of the paths contain a space character. The grafana-rrd-server always returns a 500 status. I've tried escaping the space with a backslash '\'. And I've tried using the URL encoding '%20'. And I've tried wrapping the entire name in double-quotes ("). Nothing seems to work.

Example target: $testhost/os/interface/Ethernet 1_1/ifInOctets:ds0