stichl.at tech at work

17Apr/141

check_mk multisite auto-login

Today I changed the logon mechanism on our OMD based check_mk multisite nagios instance to the cookie-based method.

I ran into the same problem as everybody else - our wall-mounted kiosk monitoring infoscreen refused to do auto-logon like http://user:pass@omdhost/site/check_mk/

After some investigations in the login.py script I tried something and succeeded instantly. The login.py simply does not care if you supply the data via GET or POST, just be sure to set all the variables

Use following Syntax:

http://omdhost/site/check_mk/?_username=user&_password=pass&_login=1

 

Make sure you create a regular user (not an automation account) and set a proper password (no special characters as you want to pass it in a url...)

If you have any questions about that, feel free to ask!

Filed under: Linux Leave comment