...
Info |
---|
If you want to customize The checkmk Checkmk login screen, depending on the edition, there are several ways to do that |
...
For the customers
Go to Setup → Users → Customers and select the color palette for every customer you want to modify.
.Now you can upload a picture. The needed size of that picture is described in the inline help.
.
Your customer will see that icon on the login screen and after the login.
.
For the provider
For the provider, there is no GUI way to do that. So we will need to work on the command line. Inside the checkmk Checkmk instance, we store the icons in the ~/share/check_mk/web/htdocs/themes/ directory.
Code Block language bash theme RDark OMD[mysite]:~$ ls share/check_mk/web/htdocs/themes/
So there is a way to create a local branch and add your custom icon. To achieve that successfully, you must use the same icon names stored in share/check_mk/web/htdocs/themes/. The name of that icon for the log in is mk-logo.png
The easiest way to move the icons to the provider is to copy the paths. Checkmk has two directories for the dark and light themes. In that example, I'm using root to copy both directories. After that, we must change the permissions to the Checkmk instance name.
Code Block language bash theme RDark root@linux# cp -r /omd/sites/mysite/local/share/check_mk/web/htdocs/themes/* /omd/sites/mysite/local/share/check_mk/web/htdocs/themes/ root@linux# chown -R mysite:mysite /omd/sites/mysite/local/share/check_mk/web/htdocs/themes/*
Now you changed the login icon of the provider site successfully:
Note |
---|
In the CME checkmk Checkmk tries to autoscale the icon automatically. In any other addition, that is not done. That's why you see an overlapping. In this case, there is also overlapping in the CME edition because the icon is much taller than wide. |
...