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

KomponenteChecks & Agents
Titelmrpe: tolerate performance variable names with spaces
Datum2013-12-18 12:56:40
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.2.5i1
LevelTrivial Change
KlasseBug Fix
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

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.