mon/MonCap: handle any whitespace (not just space)

Backport: emperor, dumpling Reported-by: Dmitry Borodaenko
<dborodaenko@mirantis.com> Signed-off-by: Sage Weil <sage@inktank.com>