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

Housekeeper is trying to delete history for item prototypes

    Details

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

      Description

      Steps 1:
      1. Create discovery rule with item prototype

      agent.ping["{#MACRO}"]

      2. Start zabbix server and execute housekeeper:

      zabbix_server -R housekeeper_execute
      

      Actual (when specified history storage period passes)

      query [txnlev:0] [delete from history_uint where itemid=28253 and clock<1535542285]
      

      Expected:
      Zabbix does not try to search itemid that cannot have history.

      Steps 2:
      1. Create discovery rule with item prototype

      agent.ping["{#MACRO}"] with Update interval={#MACRO}
      

      2. Start zabbix server and execute housekeeper

      Actual:
      Error is logged if debug log level is set

      invalid history storage '{#MACRO}' for itemid '28253'
      

      Expected:
      There should be no macro substitution for item prototypes as they can't have history and no such errors should be logged

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wiper Andris Zeila
                Reporter:
                vso Vladislavs Sokurenko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: