Ad Widget

Collapse

Zabbix 5.0.2 and URL widgets with Grafana

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skym
    Junior Member
    • Jun 2020
    • 23

    #1

    Zabbix 5.0.2 and URL widgets with Grafana

    I'm having issues with Zabbix 5.0.2 and using URL widgets in the dashboard.
    I want to embed things from Grafana, but the iframe is sandboxed without scripts allowed, so how do I fix it?

    I need to be able to allow scripts, and it's using the same domain as where Zabbix front is accessable.
  • Thug
    Junior Member
    • Apr 2020
    • 5

    #2
    Hi. It's late answer but I've got a similar error today, so that's how I've solved it:
    /usr/share/zabbix/include/defines.inc.php - define('ZBX_IFRAME_SANDBOX', 'allow-scripts');

    Comment

    • svalencia
      Junior Member
      • Jun 2020
      • 11

      #3
      For youtube videos you need the following:

      /usr/share/zabbix/include/defines.inc.php - define('ZBX_IFRAME_SANDBOX', 'allow-scripts allow-same-origin allow-presentation');

      Comment

      • PCalcina
        Junior Member
        • Oct 2023
        • 13

        #4
        Hello All.
        i have the same problem embebbing grafana url into zabbix.
        i tryed adding this parameter on php file, i put embebbing in true on conf file but the problem persist.
        Some other recomendation?

        Regards.
        Pablo

        Comment

        Working...