Ad Widget

Collapse

Change logo zabbix 5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alescri
    Member
    • May 2019
    • 32

    #1

    Change logo zabbix 5

    Hello everyone,
    I am writing to ask you for information about the change of logo for zabbix 5,
    I have recently upgraded from zabbix 4 to 5 and I can not restore the custom logos,

    thanks for help
  • sancho
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2015
    • 295

    #2
    Hi alescri ,

    You can modify it by editing the file /usr/share/zabbix/assets/image/icon-sprite.svg

    On windows you can modify it with the Inkscape software.

    Remember to make a copy of the original icon-sprite.svg before

    Regards

    Comment

    • alescri
      Member
      • May 2019
      • 32

      #3
      Originally posted by sancho
      Hi alescri ,

      You can modify it by editing the file /usr/share/zabbix/assets/image/icon-sprite.svg

      On windows you can modify it with the Inkscape software.

      Remember to make a copy of the original icon-sprite.svg before

      Regards
      thanks for your reply , i already modified the icon-sprite using illustrator, but doesn't work i will try with inkscape .

      Regards

      Comment

      • sancho
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Mar 2015
        • 295

        #4
        The images you are replacing must have the same X-Y position and size as the original.

        Click image for larger version

Name:	inkscape.jpg
Views:	10769
Size:	106.1 KB
ID:	408875

        Comment

        • alescri
          Member
          • May 2019
          • 32

          #5
          now it works, I had to import the logo in png and not in vector format
          thank you so much
          regards

          Comment

          • peppelauro
            Junior Member
            • Feb 2022
            • 1

            #6
            I think that the better solution is:

            Comment


            • pra838@gmail.com
              [email protected] commented
              Editing a comment


              This is not working for me. Please look into my configuration.


              ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ ++
              [root@zabbix ~]# cat /usr/share/zabbix/local/conf/brand.conf.php
              <?php return [
              'BRAND_LOGO' => '/usr/share/zabbix/assets/zabbix-logos/custom_logo.png',
              'BRAND_LOGO_SIDEBAR' => '/usr/share/zabbix/assets/zabbix-logos/custom_logo_sidebar.png',
              'BRAND_LOGO_SIDEBAR_COMPACT' => '/usr/share/zabbix/assets/zabbix-logos/custom_logo_sidebar_compact.png',
              'BRAND_FOOTER' => '@ Zabbix #SLTiDC',
              'BRAND_HELP_URL' => 'http://zabbix.example.com/help/'
              ];
              [root@zabbix ~]#

              [root@zabbix zabbix-logos]# pwd
              /usr/share/zabbix/assets/zabbix-logos
              [root@zabbix zabbix-logos]#
              [root@zabbix zabbix-logos]#
              [root@zabbix zabbix-logos]# ls -la
              total 16
              drwxr-xr-x. 2 root root 99 Jul 17 20:20 .
              drwxr-xr-x. 6 root root 64 Jul 17 14:05 ..
              -rw-r--r--. 1 root root 4536 Jul 17 13:30 custom_logo.png
              -rw-r--r--. 1 root root 1059 Jul 17 13:30 custom_logo_sidebar_compact.png
              -rw-r--r--. 1 root root 3138 Jul 17 13:30 custom_logo_sidebar.png
              [root@zabbix zabbix-logos]#

              ++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++




              Please advise ...!
          • vladimir_lv
            Senior Member
            • May 2022
            • 240

            #7
            Here is manual

            Comment

          • ggs_admin
            Member
            • Oct 2021
            • 44

            #8
            try to create "images" folder in the /usr/share/zabbix/ and upload the needed logo to there.
            Then make sure that you have corrected the path to following:

            'BRAND_LOGO' => './images/custom_logo.png',
            'BRAND_LOGO_SIDEBAR' => './images/custom_logo_sidebar.png',
            'BRAND_LOGO_SIDEBAR_COMPACT' => './images/custom_logo_sidebar_compact.png',​

            Comment

            • edier88
              Junior Member
              • Jan 2024
              • 2

              #9
              If anyone finds this useful:
              The guide of thie following page gives a better solution on how to change logo and rebranding of our Zabbix: (It works for version 6 as well)


              The thing is that I was a bit confused with the directory where the file "brand.conf.php" has to be created. The correct directory is: /usr/share/zabbix/local/conf
              Do that procedure instead it is an easier way to change logo and rebranding.

              Comment

              Working...