[ZBXNEXT-1311] Modification to the GUI Created: 2012 Jul 13  Updated: 2022 Oct 08  Resolved: 2014 Aug 04

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 2.0.0
Fix Version/s: None

Type: New Feature Request Priority: Trivial
Reporter: Martin Brassard Assignee: Alexei Vladishev
Resolution: Won't fix Votes: 2
Labels: flexibility, frontend, patch, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Installation information:
PHP version 5.1.6
PHP memory limit 256M
PHP post max size 32M
PHP upload max filesize 16M
PHP max execution time 600
PHP max input time 600
PHP time zone America/New_York
PHP databases support MySQL
PHP bcmath yes
PHP mbstring yes
PHP sockets yes
PHP GD 2.0.28
PHP GD PNG support yes
PHP libxml 2.6.26
PHP xmlwriter yes
PHP xmlreader yes
PHP ctype yes
PHP session yes
PHP gettext yes


Attachments: File all.patch     File dashboard_links.patch     PNG File map.php.png     File map_colored_label.patch     File map_connectors_anchors.patch     File map_label_size.patch     File map_rotation.patch    
Issue Links:
Duplicate
is duplicated by ZBXNEXT-2000 Adjustable font size on maps Closed

 Description   

The main reason for the feature request would be to have our in-house modification to the interface included in the Zabbix provided front end. We did some modification to the Zabbix frontend back in 1.8.9 and had to work again to implements them in Zabbix 2.0.0. Therefore, we decided to provide you with patches in case you would think some of our added feature are worth it. We personally thought that those improvements makes the interface more convivial and more flexible. Each modification has it's own patch, which need to be deployed in sequence. We use them in our rpm build to keep the changes between repackaging. The patches does the following (in order of application):

dashboard_links.patch Changes the dashboard to displays Number of items statistics as links instead of simple text. Clicking the link lists the items in the selected state (i.e not supported). We also swapped the red and gray colors as, from our point of view, not supported is a problem while not monitored is more informative.

map_rotation.patch Changes the map generation and edition to allow users to specify a rotation to the labels. This supports 90, 180 and 270 degree.

map_colored_label Add a new label type: Colored. The label will take the color of the most critical status. I.e a problematic host will see it's label displayed in red instead of having the label displayed followed by the status. TODO: Change the color of DISABLED items to Gray when using colored labels, confusing otherwise.

map_connectors_anchors.patch Add the capability to decide where the connectors should be on the elements. The shortest distance is then calculated. Useful for Electrical diagrams where lots of machines ends up connected to the same device.

map_label_size.patch Provides the capability to decide the font_size on a map basis. Font size 8 is great for workstations, but are difficult to read from further than 1.5m-2m.

all.patch Provides all the patches at once (not applied in the rpm, but provided in case).

A cleaner implementation would requires addition of some fields in the database, but we didn't do it to make sure we could run any database script provided by Zabbix. Instead, we used existing label_location and drawtype field to store the information using decimals and hundreds. With the modifications done in the DAO (api/classes/CMap.php), it should be pretty quick to do that change.



 Comments   
Comment by richlv [ 2012 Jul 13 ]

some of these sound really interesting to me. could i convince you to create separate zbxnexts for these, though ?

Comment by richlv [ 2012 Jul 13 ]

...well, except font size in maps (because of ZBXNEXT-380)

Comment by Martin Brassard [ 2012 Jul 13 ]

Done. ZBXNEXT-1312, ZBXNEXT-1313, ZBXNEXT-1314 and ZBXNEXT-1315 created. I redo the patches to make them usable individually, but didn't test them completely (just watch my already created maps modified).

Comment by richlv [ 2012 Jul 20 ]

thanks - i think some patches are extremely interesting, and hopefully they will inspire developers to look into those features at some point

Comment by Igor Ivanov [ 2014 May 28 ]

Please, update font size changing patch for v.2.2

Comment by richlv [ 2014 Aug 04 ]

looks like all of these are now split in subissues, so let's follow status there - closing this one

Generated at Thu Apr 25 02:26:54 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.