[ZBX-15612] Zabbix dbconfig ERROR [file:dbconfig.c,line:9730] Created: 2019 Feb 07 Updated: 2024 Apr 10 Resolved: 2019 Feb 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 4.0.3 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Andrzej | Assignee: | Vladislavs Sokurenko |
Resolution: | Won't fix | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Team: | Team A |
Sprint: | Sprint 49 (Feb 2019) |
Story Points: | 0.25 |
Description |
Hi I have a problem after upgrade Zabbix ver. 3.2.3 to 4.0.3. Compilation and Upgrade without errors. Zabbix server and prox start and work. I have 270GB database Oracle. Something impossible has just happened <- What happend? Sample Code on the proxy: |
Comments |
Comment by Vladislavs Sokurenko [ 2019 Feb 07 ] |
Could you please show output of following query ? select status from items where status not in (0,1); |
Comment by Andrzej [ 2019 Feb 07 ] |
The query returned 271 lines in the number 3 |
Comment by Vladislavs Sokurenko [ 2019 Feb 07 ] |
Where do those items come from ? It's invalid status |
Comment by Andrzej [ 2019 Feb 07 ] |
This item from my Zabbix database. Database have 270GB. I have 90k items and 3k host. 790 vps. How do I find the ID of these incorrect items? How to check the condition of the database after upgrade? Thank you for the quick reply. |
Comment by Vladislavs Sokurenko [ 2019 Feb 08 ] |
You can try: select itemid,status from items where status not in (0,1); |
Comment by Andrzej [ 2019 Feb 08 ] |
Oki. I have all Items with status 3 (name, itemid, hostid, key) use API Zabbix. Example for one host. Items 88 => Enabled 63 (Status =>0) In Dashboard I see all items if filter status is all and only 12 items if filter is Disabled. Database Oracle is this same on ver. Zabbix 2.4 - up to Zabbix 3.2 - up to Zabbix 4.0.3 Item have various key on other host with status 3. Maybe it's enough to change (update on the database) the status Item in 3 to 1. I do not know where in the database the status was 3. Item and host add only by dashboard. |
Comment by Vladislavs Sokurenko [ 2019 Feb 08 ] |
Surely you can simply change: update items set status=0 where status=3; It's hard to say why they have such status if created via frontend, can you reproduce the issue ? Some long time ago there was such status in database that indicated unsupported items but it was version 2.0 did you use 2.0 ? |
Comment by Andrzej [ 2019 Feb 08 ] |
In our company we started with zabbix ver. 1.8 and all time we upgrade Zabbix. thx for help. |
Comment by Vladislavs Sokurenko [ 2019 Feb 08 ] |
Thanks ! Closed as Won't Fix, currently it's unclear why they are in unsupported state, I could guess that it's related to |