How can I specify metric names containing blanks in local checks?

The metric value name cannot have spaces. But you can define a metric and graph definition for your check, than it draws the metrics from your check with understandable names.

Some example and a discussion for this you can find here.

2 Likes