[ZBX-14778] Housekeeper is trying to delete history for item prototypes Created: 2018 Aug 29  Updated: 2024 Apr 10  Resolved: 2018 Sep 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 3.0.21, 3.4.13, 4.0.0beta2
Fix Version/s: 3.0.22rc1, 3.4.14rc1, 4.0.0beta2, 4.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Vladislavs Sokurenko Assignee: Andris Zeila
Resolution: Fixed Votes: 0
Labels: housekeeper
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
caused by ZBXNEXT-1675 Add macros support for update intervals Closed
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



 Comments   
Comment by Andris Zeila [ 2018 Aug 29 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-14778

Comment by Andris Zeila [ 2018 Aug 30 ]

Released in:

  • pre-3.0.22rc1 r84341
  • pre-3.4.14rc1 r84342
  • pre-4.0.0beta2 r84343
Generated at Wed Apr 24 11:50:58 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.