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

invalid ymin_item_key results in useless query and suboptimal error message

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • Frontend (F)

    Description

      have an xml with something like :

      <ymin_item_key>:</ymin_item_key>
      <ymax_item_key>:</ymax_item_key>

      importing it fails with :

      Missing item [:] for host [Template_Windows2]

      also debug shows frontend doing :

      SELECT DISTINCT i.* FROM items i WHERE i.key_=''

      1. reported error should explain which value for which graph is incorrect;
      2. if we know that item key is not valid (neither single colon nor empty key is), we should not do useless sql queries with it

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              richlv richlv
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: