Ad Widget

Collapse

Zabbix frontend URL isn't loading

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dorol
    Junior Member
    • Apr 2020
    • 2

    #1

    Zabbix frontend URL isn't loading

    Hello,
    could you help me, please, with deploying Zabbix.
    I deployed Zabbix in distributed mode:
    - Zabbix DB: 2 servers with PostgreSQL (streaming replication) with TimescaleDB
    - pgpool server for PostgreSQL cluster
    - Zabbix Server 1 and 2, HA cluster is up. pgpool is added as DB to the Zabbix Server config file
    - Zabbix frontend with Nginx has been installed according to recommendations below:


    But when I tried to open Zabbix frontend URL in the browser I got:
    This page isn’t working
    xxxxxxxxx.com didn’t send any data.
    ERR_EMPTY_RESPONSE

    telnet from my pc to xxxxxxxxx.com 80 is working. There is no running firewall rules on the server .

    I've already added the information:

    $ZBX_SERVER = 'xxxxxxx.com';

    $ZBX_SERVER_PORT. = '1051'

    and

    $DB['TYPE'] = 'PostgreSQL';

    $DB['SERVER'] = 'xxxxxx.com';

    $DB['PORT'] = '9999';

    $DB['DATABASE'] = 'zabbix';

    $DB['USER'] = 'xxxxxxx';

    $DB['PASSWORD'] = 'xxxxxxx';

    // Schema name. Used for PostgreSQL.

    $DB['SCHEMA'] = 'zabbix';

    to /usr/share/zabbix/conf/zabbix.conf.php

    Could you tell me, please, what else do I have to do.
    Thank you
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    (I take it that 1051 and the dot in the variable name is a typo)

    What do the nginx logs (error.log and access.log) say?

    Markku

    Comment


    • Dorol
      Dorol commented
      Editing a comment
      Hello Marku,
      thank you for comments!
      I checked the config file zabbix.conf.php. There isn't the dot there. It's only in my post.
      That's interesting! There are no any errors in the log files.
  • Dorol
    Junior Member
    • Apr 2020
    • 2

    #3
    I've updated Nginx version to the required v.1.20 but url is still not loaded.
    when I did from my PC:
    curl -v http://xxxxxxx.xxxx.com/

    * Host xxxxxxx.xxxx.com:80 was resolved.

    * IPv6: (none)

    * IPv4: xxx.xx.x.xxx

    * Trying xxx.xx.x.xxx :80...

    * Connected to xxxxxxx.xxxx.com (xxx.xx.x.xxx) port 80

    > GET / HTTP/1.1

    > Host: xxxxxxx.xxxx.com

    > User-Agent: curl/8.6.0

    > Accept: */*

    >

    * Empty reply from server

    * Closing connection

    curl: (52) Empty reply from server

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #4
      I think you will get better answers in some Nginx-specific forums for your Nginx issue. Also search the 'net for "nginx empty reply" if that gets you somewhere. But of course if someone else has ideas, feel free to comment.

      Markku

      Comment

      Working...