[ZBX-8364] Calculated item become not supported when host switch to disable status Created: 2014 Jun 17  Updated: 2017 May 30  Resolved: 2014 Jun 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 2.2.3
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Kodai Terashima Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: items
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-7887 calculated item referencing an unsupp... Closed

 Description   

Calculated item become not supported when host switch to disable status because of configuration cache.

How to reproduce:

  • create calculated item using items on a host
  • disable the host
  • the host become disabled status but server try to calculate the item until configuration cache will be updated
  • the item become not supported status with this log

item [localhost:system.swap.size.calc] became not supported: Cannot evaluate function [last()]: item [localhost:system.swap.size[,free]] not found



 Comments   
Comment by Aleksandrs Saveljevs [ 2014 Jun 17 ]

That should have been fixed already either in ZBX-7887 or ZBX-8092. Could you please try with the latest pre-2.2.4?

Comment by Kodai Terashima [ 2014 Jun 17 ]

Aleksandrs,

Thanks for the info. I will check.

Comment by Alexander Vladishev [ 2014 Jun 18 ]

Now, the error message is:

Cannot evaluate function "last()": item "Zabbix server:system.cpu.load" belongs to a disabled host.

This is zabbix_server 2.2.4rc3.

Can we close the issue?

Comment by Aleksandrs Saveljevs [ 2014 Jun 18 ]

My understanding is that in case the calculated item only references items from the same host, it should continue calculating properly until the configuration cache is updated. sasha, in your example you probably tried disabling a different host.

Comment by Kodai Terashima [ 2014 Jun 18 ]

My understanding is that in case the calculated item only references items from the same host, it should continue calculating properly until the configuration cache is updated.

Yes, it is.

I checked it on 2.2.4rc3. I confirmed that the error message is not appeared and the calculated item doesn't become not supported status.

I think we can close this issue.

Thanks!

Generated at Fri Mar 14 17:58:55 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.