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

Komponente Checks & agents
Titel mrpe: tolerate performance variable names with spaces
Datum 18.12.2013
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.2.5i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - 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.

Zur Liste aller Werks