There are several ways in which you can customize and rebrand your Zabbix frontend installation:
First you need to create a PHP file and save it as local/conf/brand.conf.php. The contents of the file should be as follows:
This will hide the links to the Zabbix Support and Zabbix Share pages.
To use a custom logo, add the following line to the array from the previous listing:
Note that the path to the image on the disk should be relative to the Zabbix frontend root directory. So, for example, if the image is located in the same directory as the brand.conf.php file, then the path to the image should be:
There are two additional images of the Zabbix logo that can be overridden:
BRAND_LOGO_SIDEBAR- displayed when the sidebar is expanded;
BRAND_LOGO_SIDEBAR_COMPACT- displayed when the sidebar is collapsed.
Any image format supported by modern browsers can be used: JPG, PNG, SVG, BMP, WebP, and GIF.
Custom logos will not be scaled, resized or modified in any other way, and will be displayed in their original size and proportions, except for the
BRAND_LOGO_SIDEBAR_COMPACT that will be cropped (width: 24px; height: the same as
BRAND_LOGO_SIDEBAR) to fit the collapsed sidebar. For reference, the following dimensions are used for Zabbix logos:
To set a custom copyright notice, add
BRAND_FOOTER to the array from the first listing. Please be aware that HTML is not supported here. Setting
BRAND_FOOTER to an empty string will hide the copyright notice completely (but the footer will stay in place).
To replace the default Help link with a link of your choice, add
BRAND_HELP_URL to the array from the first listing.