We upgraded our CheckMK site from 2.1.0p20 to 2.1.0p36 to 2.2.0p14 .
Now, the Nagvis snap-in states “LogonMultisite: Not authenticated.”
Moreover, the kiosk system is not able to access https://server.tld/site-name/nagvis/. If I access nagvis directly, I get a browser error with too many redirections. (Nagvis says: not logged in, go to checkmk, checkmk says: you are logged in, Nagvis says: not logged in)
It seems to be that the authentication between checkmk and Nagvis is not working properly.
It might be somehow unsatisfying, but the workaround was this for me:
Taking a working vanilla site (named TEMP), copying the nagvis /etc folder over the target site and renaming TEMP to the target’s site name.
# cp -r /omd/sites/TEMP/etc/nagvis/* /omd/sites/site-name/etc/nagvis/
# find ./ -type f -exec sed -i 's/TEMP/site-name/' {} \;
# grep -ir "TEMP" . <--- should not output something
# omd restart site-name
I compared several files with its content before, but was not able to find the misconfiguration. Must be some legacy, since this site was updated years over years from 1.x to now.