Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-22514

Monitoring->Discovery page php error

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Workaround proposed
    • Icon: Major Major
    • None
    • 6.0.14
    • Frontend (F)

      Hi,
      we have 2 discovery rules:

      #drules
      (1,13010,'subnet-10.10.10','10.10.10.1-252','1h',1678691131,0),
      (2,13010,'subnet-10.10.11','10.10.11.1-252','1h',1678691125,0);
      

      Each rule has one check defined:

      #dchecks
      (11,1,12,'','','0','',0,'','',0,0,0,'',1,0),
      (22,2,12,'','','0','',0,'','',0,0,0,'',1,0);
      

      For some reasons (in can be because of ZBX-15651 or maybe some configuration changes)
      we have discovered hosts from 10.10.10 (druleid 1) subnet with id check 22 (druleid 2)

      #dservices
      (71,550,'',0,0,1665490992,0,22,'10.10.10.1',''),
      (72,551,'',0,1,0,1660203691,22,'10.10.10.2',''),
      

      That leads to php error:

      and no related data is shown

      - Undefined offset: 27 (zabbix.php:22 -> require_once() -> ZBase->run() -> ZBase-›processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() - include() - CScreenDiscovery->get() in include/classes/screens/CScreenDiscovery.php:95]
      - Undefined offset: 27 (zabbix. php:22 -> require_once() -> ZBase->run() -> ZBase-›processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() - include() - CScreenDiscovery->get() in include/classes/screens/CScreenDiscovery.php:102]
      - Undefined offset: 27 [zabbix.php:22 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() - include() - CScreenDiscovery->get() in include/classes/screens/CScreenDiscovery.php:103]
      - Array to string conversion [zabbix php:22 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase-»processResponseFinal() -> CView->getOutput() -> include() -> CScreenDiscovery->get() in include/classes/screens/CScreenDiscovery.php:103]

      Regards, Elina

            Unassigned Unassigned
            elina.kuzyutkina Elina Kuzyutkina (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: