[ZBX-25020] Invalid scheduling interval "{$ORG.APPNAME.HTTP.INTERVAL}/1-5,09:00-17:00" Created: 2024 Aug 09  Updated: 2024 Nov 19  Resolved: 2024 Aug 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 7.0.2
Fix Version/s: 7.0.4rc1, 7.2.0alpha1

Type: Problem report Priority: Major
Reporter: Richard Ostrochovský Assignee: Sergejs Boidenko
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL 8.10, PostgreSQL 16 + TimescaleDB 2.14.2


Attachments: PNG File image-2024-08-09-16-48-52-099.png    
Issue Links:
Duplicate
Team: Team B
Sprint: Sprint candidates
Story Points: 0.5

 Description   

Steps to reproduce:

  1. Create Zabbix HTTP agent host item with:
    • update interval: 0
    • custom flexible interval: {$ORG.APPNAME.HTTP.INTERVAL} = 600s
    • custom flexible period: 1-5,09:00-17:00
  2. After item updated, check state/error

Result:
item not supported with the error: Invalid scheduling interval "{$ORG.APPNAME.HTTP.INTERVAL}/1-5,09:00-17:00"

Expected:
Working as it worked in Zabbix v5.0 which we upgraded from (5.0.2/3 -> 5.0.42 -> 7.0.2), and as documented:

If macro value (in this case 600s) set on the item directly, it works.



 Comments   
Comment by Richard Ostrochovský [ 2024 Aug 09 ]

zabbix.support , I'm sorry, I forgot to set component, please, do it for me as I'm unable to edit after initial submission:

  • Server (S)
  • Proxy (P) - backend: PostgreSQL 15

Thank you!

Comment by Sergejs Boidenko [ 2024 Aug 27 ]

Fixed in: 

Comment by Mike [ 2024 Sep 24 ]

Upgraded from 6.4.18 to 7.0.3

It actually impacts all kinds of items, not just HTTP (we use it extensively).

The macro will not expand in both interval and period fields.

<sboidenko> Should be fixed in 7.0.4rc1

Generated at Sat Jun 07 11:58:39 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.