Ad Widget

Collapse

migrating to Zabbix 3.0, mask IP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kpax
    Member
    • Dec 2013
    • 52

    #1

    migrating to Zabbix 3.0, mask IP

    greetings,

    Last weekend I been upgrade system from Zabbix 2.4 => 3.0
    The upgrade went gr8 with no affect to sql DB.

    In Front-End login screen I noticed that I am getting the server IP top right side window.
    I would like to know which file contain 'server-name' that I will be able to hide it, also trying to look at the following files with no success:
    index.php
    layout.htmlpage.menu.php
    general.login.php
    defines.inc.php
    CView.php
    zabbix_server.conf

    From security reasons users who connects from WAN not suppose to see my Zabbix Server local IP


    regrads,
    Kpax
    Attached Files
    Last edited by Kpax; 08-05-2016, 11:07.
  • Kpax
    Member
    • Dec 2013
    • 52

    #2
    ::updte::

    Hello again,
    I found under /usr/share/zabbix/styles/blue-theme.css
    using vi looking for .server-name
    when try removing the function itself, or change the CSS values nothing happens.
    so for temporary solution I changed line .server-name background color
    color: #ececf4; to match the bg.

    from perspective of security who is doing view source page is able to get the external and Internal IP, odd

    regards,
    Kpax
    Last edited by Kpax; 08-05-2016, 14:31.

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      Are displayed in the server-name is the value you entered during setup.
      This step 4 at the following URL.


      You do not need to set the IP address here.
      When you manage multiple Zabbix server, you may be setting a value that can determine which system.

      The current value is, I think that it is set to $ZBX_SERVER_NAME of the following file.
      /etc/zabbix/web/zabbix.conf.php

      Comment

      • Kpax
        Member
        • Dec 2013
        • 52

        #4
        ::update::

        Dear Atsushi,

        thanks for your reply, in related the documentation link you provided,
        its related to fresh install from source and not for upgrading.

        The issue has been solved as soon I wipe the IP from the line $ZBX_SERVER_NAME as you suggested.

        I also changed back the original BG values that I made for the
        /usr/share/zabbix/styles/blue-theme.css

        All works gr8, thanks heaps for the direction.
        Attached Files

        Comment

        Working...