Werk #397: mrpe: tolerate performance variable names with spaces

Component Checks & agents
Title mrpe: tolerate performance variable names with spaces
Date Dec 18, 2013
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
1.2.5i1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

Some bizarre legacy check plugins use spaces in the names of their performance variables. Nagios allows this under certain circumstances. The mrpe check would fail with an exception, though.

The fix now tolerates spaces, but uses just the last component of the variable name in that case. All RRD graphs will be created correctly, though with an incomplete name. In most cases that should be OK.

To the list of all Werks