"Parsing of section ps_lnx failed" on username with blanks (cme 2.1.0p40)

CMK version: 2.1.0p40(CME)
OS version: Ubuntu LTS 22.04

Error message: Parsing of section ps_lnx failed - please submit a crash report

Output of “cmk --debug -vvn hostname”: ValueError: invalid literal for int() with base 10: ‘Authority\anonymous’

Since some weeks there are smbd processes on the monitored server running as user “NT Authority\anonymous logon”. Spaces in a username are legal, yet checkmk does fail.

check_mk_agent shows in <<<ps_lnx>>> section:

0::/system.slice/ssh.service root 8536 516 00:00:00 11-02:13:19 2807538 /bin/bash
0::/system.slice/samba-ad-dc.service NT Authority\anonymous logon 324680 117108 00:00:20 23:11:13 2847896 smbd: client [172.16.6.28]

The server does obviously split fields on whitespace.

Is this a known problem, probably fixed in a newer release of checkmk?
Any other easy workaround (besides defining a local user with same uid and without spaces)?

BR, Louis

Yet they are a very bad idea.

1 Like

Also your Checkmk is ancient and EOL. You want to upgrade or rebuild as soon as possible.