[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: |
![]() |
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. 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.
|
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). |
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. |
Comment by Eduards Samersovs (Inactive) [ 2013 Aug 07 ] |
Tested! |
Comment by Ivo Kurzemnieks [ 2013 Aug 07 ] |
Fixed in pre-2.1.2 (trunk) r37629 |