[ZBX-2764] Not received "database monitor" from proxy Created: 2010 Jul 26  Updated: 2017 May 30  Resolved: 2010 Jul 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 1.8.3
Fix Version/s: 1.8.3, 1.9.0 (alpha)

Type: Incident report Priority: Blocker
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

for trunk version items with type "database monitor" received to zabbix_server from zabbix_proxy, but data not writes into DB



 Comments   
Comment by Alexey Pustovalov [ 2010 Jul 26 ]

i found in libs/zbxdbhigh/proxy.c in function process_mass_data():

if (item.type != ITEM_TYPE_TRAPPER && item.type != ITEM_TYPE_ZABBIX_ACTIVE)
if (0 != proxy_hostid && (item.type == ITEM_TYPE_INTERNAL ||
item.type == ITEM_TYPE_AGGREGATE ||
item.type == ITEM_TYPE_DB_MONITOR))
continue;

why if proxy_hostid != 0 for item with type db monitor not processed values? oO

Comment by Alexey Pustovalov [ 2010 Jul 27 ]

tested with:
if (item.type != ITEM_TYPE_TRAPPER && item.type != ITEM_TYPE_ZABBIX_ACTIVE)
if (0 != proxy_hostid && (item.type == ITEM_TYPE_INTERNAL ||
item.type == ITEM_TYPE_AGGREGATE))
continue;

items with type DB information via proxy working for me now)

Comment by Aleksandrs Saveljevs [ 2010 Jul 27 ]

Fixed in pre-1.8.3 in r13647.

Generated at Wed Apr 24 01:35:07 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.