[ZBX-6451] Count of zabbix[items_unsupported] doesn't match with list of unsupported items Created: 2013 Mar 29  Updated: 2017 May 30  Resolved: 2013 Aug 05

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F), Server (S)
Affects Version/s: 2.0.5
Fix Version/s: 2.1.2, 2.2.0

Type: Incident report Priority: Major
Reporter: Nicola Canepa Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: trivial, unsupported
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File items.txt.gz    

 Description   

The number of unsupported items in database, as counted by internal item zabbix[items_unsupported] is not the same (is about 3 times) the number of items listed in unsupported state in Configuration->Hosts, selecting the "items" link of an host and then clearing all the fields and selecting "unsupported" in "Status" dropdown.
The resulting URL is something like http://ZABBIXURL/items.php?filter_hostid=0&filter_group=&filter_type=-1&filter_value_type=-1&filter_status=3&filter_hostname=&filter_delay=&filter_with_triggers=-1&filter_application=&filter_history=&filter_templated_items=-1&filter_name=&filter_trends=&filter_key=&filter_set=1

For example, now I have 395 items in "Status of Zabbix" pane (which corresponds from what zabbix[items_unsupported] reports), while I see a list of 122 items in the above link.



 Comments   
Comment by Andris Zeila [ 2013 Jul 29 ]

Are there any web scenarios defined? That would automatically create http test items which aren't displayed in configuration/host/items, because they are managed by web scenarios and can't be changed manually.

Comment by Nicola Canepa [ 2013 Jul 29 ]

There are 3 web scenarios defined (4 steps in total: they were created for test, but not really used), but even disabling them doesn't change.
Right now, we have:

  • 438 items not supported in "Status" tab
  • 151 item not supported using "items.php"
Comment by Andris Zeila [ 2013 Jul 30 ]

Is it possible for you to provide full or partial (select itemid,hostid,key_,type,flags,status from items) dump of the items table? In both places the unsupported items are taken from database, so there should not be any differences unless something is wrong with the data.

Comment by Andris Zeila [ 2013 Jul 31 ]

Great, thanks.

The problem is because zabbix[items_unsupported] and zabbix status page also counts discovery rules, which is wrong.

Comment by Andris Zeila [ 2013 Jul 31 ]

(1) server side (zabbix[items], zabbix[items_unsupported]) RESOLVED in r37437

sasha TESTED

wiper released in pre-2.1.2 r37478

Comment by Nicola Canepa [ 2013 Jul 31 ]

The list of items found via item.php includes discoveried items (and so it should be).
Are you saying that the count of unsupported items will not include discovered items anymore?

Comment by Andris Zeila [ 2013 Jul 31 ]

Discovered items won't be affected. It's the discovery rules which should not be counted as items. And item.php page is working correctly regarding discovery items/rules.

Comment by Nicola Canepa [ 2013 Aug 01 ]

Will this correction be available in 2.0.8?

Comment by Andris Zeila [ 2013 Aug 05 ]

Nope, it's currently targeted for the 2.2

Comment by Ivo Kurzemnieks [ 2013 Aug 05 ]

The frontend should now display correct item and trigger count.
RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-6451

Comment by Eduards Samersovs (Inactive) [ 2013 Aug 07 ]

Tested!

Comment by Ivo Kurzemnieks [ 2013 Aug 07 ]

Fixed in pre-2.1.2 (trunk) r37629

Generated at Tue Jul 08 09:21:59 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.