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

Errors in log when using item test form without SNMP agent interface

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.2.0beta2
    • Frontend (F)
    • Team B

      Steps to reproduce:

      1. create a host with out interface;
      2. go to create item form;
      3. choose DB monitoring item type;
      4. leave default values or make sure they are wrong so that error will come from server and click "Test" to open item test form;
      5. click "Get value" or "Get value and test" and make sure to get error from server;
      6. click "Cancel" to close item test popup;
      7. change item type to "SNMP agent" (yes no interface);
      8. click "Test" again to open item test form;
      9. observe errors in log:
        Invalid argument supplied for foreach() [zabbix.php:22 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> CController->run() -> CControllerPopupItemTestEdit->doAction() -> CConfigFile->{closure}() in app\controllers\CControllerPopupItemTestEdit.php:250]
        Illegal string offset 'version' [zabbix.php:22 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() -> include() -> CConfigFile->{closure}() in app\views\popup.itemtestedit.view.php:127]
        

            zabbix.dev Zabbix Development Team
            iivs Ivo Kurzemnieks
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: