Ad Widget

Collapse

Can't Access Zabbix Frontend From Host Brower

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • steedoflondon
    Junior Member
    • Feb 2015
    • 2

    #1

    Can't Access Zabbix Frontend From Host Brower

    I'm unable to access the Zabbix frontend from my local host, from either FireFox or IE, through entering the following in the browser address bar:



    I have installed Zabbix Appliance Version 2.4.1 on Virtual Box 4.3.20

    In order to set-up the VM, I've followed the steps on http://www.zbxtutorials.org/2012/10/...lab-setup.html.

    After logging into the zabbix Suse prompt, I get the following warning:
    'Warning: IP address not obtained, Zabbix not accessible.'

    I've also disabled the firewall, and added 'Allow from All' to /etc/apache2/conf.d/zabbix.conf, and then restarted Apache as per https://www.zabbix.com/documentation...rontend_access.

    I've also tried the Network setting on http://blog.zabbix.com/connecting-to...rtualbox/1595/, and still get the error.

    Not sure what I am missing.
  • hrswift
    Junior Member
    • Feb 2015
    • 6

    #2
    In the "/etc/apache2/conf.d/Zabbix.conf" file insert the IP range that you want access to as seen below: Notice the lines 172.0.0.0/8 I inserted in mine...

    <Directory "/usr/share/zabbix/">
    Options Indexes MultiViews
    AllowOverride None
    <IfModule mod_authz_core.c>
    # Apache 2.4
    Require all granted
    Order allow,deny
    Allow from 127.0.0.1
    Allow from 192.168.0.0/16
    Allow from 10.0.0.0/8
    Allow from 172.0.0.0/8
    Allow from ::1
    </IfModule>

    <IfModule !mod_authz_core.c>
    # Apache 2.2
    Order allow,deny
    Allow from 127.0.0.1
    Allow from 192.168.0.0/16
    Allow from 10.0.0.0/8
    Allow from 172.0.0.0/8
    Allow from ::1
    </IfModule>
    </Directory>

    Comment

    • steedoflondon
      Junior Member
      • Feb 2015
      • 2

      #3
      Many thanks hrswift.

      I finally managed to get it to work through modifying my /etc/apache2/conf.d/Zabbix.conf as follows:


      <Directory "/usr/share/zabbix/">
      Options Indexes MultiViews
      AllowOverride None
      <IfModule mod_authz_core.c>
      # Apache 2.4
      #Require all granted
      #Order allow,deny
      Allow from All
      Allow from 127.0.0.1
      Allow from 192.168.0.0/16
      Allow from 10.0.0.0/8
      Allow from 172.0.0.0/8
      Allow from ::1
      </IfModule>

      <IfModule !mod_authz_core.c>
      # Apache 2.2
      #Order allow,deny
      Allow from All
      Allow from 127.0.0.1
      Allow from 192.168.0.0/16
      Allow from 10.0.0.0/8
      Allow from 172.0.0.0/8
      Allow from ::1
      </IfModule>
      </Directory>

      Comment

      • khang
        Junior Member
        • May 2015
        • 2

        #4
        Warning: IP address not obtained, Zabbix not accessible

        Hello,

        I have the same issue and was able to fix it.

        I don't know why but the Zabbix appliance (2.4) was released with fixed IP setting (blank) and this is why it can't get an IP from your DHCP server.

        To fix the issue, log in as root, type "yast", Networking Devices, Network Settings
        Select your Ethernet controller and edit it to use DHCP - You can also assign a static IP here.

        Quit yast
        Run ifup "your ethernet interface" - ifup ens33
        Zabbix should be able to get an IP from your DHCP server now.
        Run ifconfig to see your IP.

        Hope this helps.

        Regards,
        Khang


        Update: I just tried another Zabbix appliance today and looks like this one could obtain DHCP IP no problem. However, if you are having problem, you can still run "yast" to fix it. (Change "network setup method to Traditional with ifup")
        Last edited by khang; 15-05-2015, 20:34. Reason: Update

        Comment

        • bbperer
          Junior Member
          • Mar 2017
          • 13

          #5
          Warning: IP address not obtained, Zabbix not accessible

          I'm having the same issue. But my windows host is in a static IP VLAN. So I have set a static IP on Zabbix appliance 2.2. I tried VMplayer and Virtual box on a Windows Server 2008 64 bit. Can you help? Thanks in advance.

          Comment

          • bbperer
            Junior Member
            • Mar 2017
            • 13

            #6
            I resolved issue by entering the correct subnet address in the zabbix server.conf

            Comment

            Working...