[ZBX-6675] Host name in graph caption with items from several hosts Created: 2013 Jun 07 Updated: 2017 May 30 Resolved: 2014 Apr 03 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.0.6 |
Fix Version/s: | 2.3.0 |
Type: | Incident report | Priority: | Trivial |
Reporter: | Marc | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 2 |
Labels: | graph, hostname, name, squashable, usability | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Linux, CentOS-6.4, PostgreSQL 9.1.9, Apache HTTPD-2.2.15, PHP-5.3.3 |
Description |
A single host name in the caption of graphs may lead to confution if a graph consists of items from several hosts. |
Comments |
Comment by Oleksii Zagorskyi [ 2013 Jun 08 ] |
Note that hostname used there is from a host which was used to add very first item entry to the graph. |
Comment by Alexei Vladishev [ 2013 Jul 22 ] |
I believe we already have a ZBXNEXT issue about configurable graph caption. |
Comment by Marc [ 2013 Jul 23 ] |
|
Comment by Marc [ 2013 Aug 15 ] |
Another way could be to provide an option to define a custom label. |
Comment by richlv [ 2014 Mar 12 ] |
this is a very old problem, and i was sure there would be an older zbx... but i could not find one |
Comment by Marc [ 2014 Mar 12 ] |
I had spent a lot time to find the mentioned duplicate too - without success. |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Mar 28 ] |
Let's fix it the way Rich suggested, just omit the name if the graph contains items from more than one host. |
Comment by Oleg Egorov (Inactive) [ 2014 Mar 31 ] |
FIXED IN svn://svn.zabbix.com/branches/dev/ZBX-6675 r43874 |
Comment by Oleg Egorov (Inactive) [ 2014 Mar 31 ] |
(1) No translatable strings changed. Eduards CLOSED |
Comment by Eduards Samersovs (Inactive) [ 2014 Apr 02 ] |
(2) Small improvement: foreach ($dbGraph['hosts'] as $gItemHost) { if ($hostName === $gItemHost['name']) { $hostName = ''; break; } else { $hostName = $gItemHost['name']; } } oleg.egorov FIXED IN r44031, r44040 |
Comment by Eduards Samersovs (Inactive) [ 2014 Apr 02 ] |
(3) Also addition code formatting is require as discussed oleg.egorov FIXED IN r44031, r44040 |
Comment by Eduards Samersovs (Inactive) [ 2014 Apr 03 ] |
Tested |
Comment by Oleg Egorov (Inactive) [ 2014 Apr 03 ] |
FIXED IN 2.3.0(trunk) r44047 |