shawn-sterling / graphios

A program to send nagios perf data to graphite (carbon) / statsd / librato / influxdb
289 stars 100 forks source link

Fix Windows hosts perfdata parse #106

Open phsmith opened 8 years ago

phsmith commented 8 years ago

Where I work, we monitor several windows hosts and we need that the perfdata information to make graphics dashboards on Grafana. So I've made a little fix on the code to fix the problem with perfdatas with space on name that coming from check_wmi_plus. The only codes that I've made are on lines 367 and 368.

phsmith commented 8 years ago

I've made new changes to better parse windows perfdata. Now it's parsing perfdatas from NSClient++, check_wmi_plus, and others correctly.