[ZBX-3019] In DM mode enabled template graphs not copied for discovered host Created: 2010 Sep 19 Updated: 2017 May 30 Resolved: 2010 Sep 30 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F), Server (S) |
Affects Version/s: | 1.9.0 (alpha) |
Fix Version/s: | 1.8.4 |
Type: | Incident report | Priority: | Critical |
Reporter: | Alexander Ignatyev | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Linux 2.6.34-gentoo-r1, PostgreSQL 8.4.4, whatever |
Description |
When Distributed Monitoring enabled there are no graphs for autodiscovered hosts. Debug mode helps to find what a problem is. It's all about function DBcopy_graph_to_host in svn/trunk/src/libs/zbxdbhigh/host.c. Function DBget_graphitems takes argument sql, prepared few lines ago like this: In fact sql query was truncated like this: I can't see any "order by dst.key_" which is a part of query and also hostid is truncated: 10010000001035 instead of 100100000010350. I guess 256 is enough for non DM installations but makes a trouble when ids expanded with DM node id. Following modification worked for me [svn/trunk/src/libs/zbxdbhigh]: sql_offset = 0;
|
Comments |
Comment by Aleksandrs Saveljevs [ 2010 Sep 20 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/zbx-3019-discovery-graph. |
Comment by Aleksandrs Saveljevs [ 2010 Sep 30 ] |
Merged into pre-1.8.4 in r14638. |