Ad Widget

Collapse

Web scenario - error Undefined offset

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Aberad
    Junior Member
    • Mar 2020
    • 2

    #1

    Web scenario - error Undefined offset

    Hi,

    Iam using since 10 years zabbix for classical infrastructure monitoring with 2 zabbix serveurs et 20 zabbix proxy install on ubuntu 16.04 with zabbix repos, and all works fined.
    Since about 4 months i have created a dedicated zabbix server version 4.4 for web scenario only. I have a script that add by api automatically all of our website into zabbix, i actually have more than 10000 web scenario check activate on it.

    I use template for web scenario contain 1 trigger and 1 web scenario, on the web scenario i use variable "{$WEBSITE_URL}" for the URL.. After that i created 1 host per website_url on this host i set the macro "{$WEBSITE_URL}" and affect to it the url of the website. I have a schedule task that synchronise new/deleted urls every 6 hours.

    My problem occured since 2 weeks i think, the problem is that i cannot display delail of my web scenario, it impacted all of my template.

    To reproduce, monitoring > web > click on the name of one webscenario :
    webscenario



    PHP error :

    Mon Mar 23 21:21:14.380347 2020] [:error] [pid 28812] [client 80.118.9.50:27743] PHP Fatal error: Uncaught TypeError: Argument 2 passed to CMacrosResolverHelper::resolveGraphName() must be of the type array, null given, called in /usr/share/zabbix/include/classes/graphdraw/CGraphDraw.php on line 224 and defined in /usr/share/zabbix/include/classes/macros/CMacrosResolverHelper.php:392\nStack trace:\n#0 /usr/share/zabbix/include/classes/graphdraw/CGraphDraw.php(224): CMacrosResolverHelper::resolveGraphName('healthche ck: Re...', NULL)\n#1 /usr/share/zabbix/include/classes/graphdraw/CLineGraphDraw.php(2568): CGraphDraw->drawHeader()\n#2 /usr/share/zabbix/chart3.php(186): CLineGraphDraw->draw()\n#3 {main}\n thrown in /usr/share/zabbix/include/classes/macros/CMacrosResolverHelper.php on line 392, referer: https://monitoring-app.e-doceo.net/h...tptestid=40371

    Thanks in advance for your help.

    Regards,




  • JSERRAHIMA
    Junior Member
    • May 2021
    • 16

    #2
    Hi Aberad,

    Did you get it working? I'm getting the same error.

    Regards.

    Comment

    Working...