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

No LLD rule error in frontend after creating host with errors

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 28
    • Story Points:
      0.5

      Description

      Using LLD host discovery and SNMP items. Zabbix is configured incorrectly: initial host has only "Zabbix agent" host interface but discovered host items expect "SNMP agent" interface. The problem is that in this case instead of getting an error the discovered host is created without the configured template and the error message is only in Zabbix server log file, no error indication in frontend.

      Steps to reproduce:

      1. Create template "Template SNMP" with at least one SNMP type item.
      2. Create template "Template host discovery" with LLD rule and host prototype.
      3. Link "Template SNMP" to that host prototype.
      4. Create host "host1" with default interface.
      5. Link "Template host discovery" to it.
      6. Using zabbix_sender send data for host discovery rule.
      7. Make sure the host is created.
      8. Now go to Templates of that host.

      Result:
      No templates are linked to discovered host.
      No identification of an error in frontend.
      There is an error message in zabbix server log file:

        2535:20180209:021758.628 cannot link template(s) "Template SNMP" to host "discovered.host": cannot find "SNMP" host interface
      

      Expected:
      The templateless host is not created and host discovery rule displays error in frontend.

        Attachments

          Activity

            People

            • Assignee:
              viktors.tjarve Viktors Tjarve
              Reporter:
              dimir dimir
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: