Ad Widget

Collapse

Domain name and frontend widget error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #1

    Domain name and frontend widget error

    Using Zabbix frontend's full domain name (hostname.domain.name.com), whenever I try to edit a dashboard custom graph, it does not open correctly, like the image below.
    Click image for larger versionName:	widget_graph_error.pngViews:	0Size:	115.6 KBID:	434317

    While using just Zabbix server's hostname (hostname), the widget graph opens correctly.
    Click image for larger versionName:	widget_graph_correct.pngViews:	0Size:	168.6 KBID:	434318

    Any idea why that happens?


    I'm using
    Zabbix Server 5.4.7
    PHP 7.3.31
    Last edited by markfree; 06-11-2021, 16:22.
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    I'm not on 5.4.x yet (I'm still on the 4.x series), so this is just a guess, but I would look to see if the $ZBX_SERVER setting in zabbix.conf.php matches the fully qualified domain name, and if it matches what's configured in your web ServerName/ServerAlias or similar config for the web virtual host. I'm just guessing, but I would suspect there's a mismatch somewhere there.

    Comment


    • markfree
      markfree commented
      Editing a comment
      Currently mine is configured as "localhost". I'll change it for testing.
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #3
    Originally posted by tim.mooney
    I'm not on 5.4.x yet (I'm still on the 4.x series), so this is just a guess, but I would look to see if the $ZBX_SERVER setting in zabbix.conf.php matches the fully qualified domain name, and if it matches what's configured in your web ServerName/ServerAlias or similar config for the web virtual host. I'm just guessing, but I would suspect there's a mismatch somewhere there.
    I've set "$ZBX_SERVER" to full domain name but it made no difference.

    Comment

    • markfree
      Senior Member
      • Apr 2019
      • 868

      #4
      I found the culprit.
      It was the ad blocker.

      I'm not sure what it was blocking, since it was reporting 0 blocked items, but after disabling it the graph shown up correctly with full domain name.

      Comment

      Working...