[ZBXNEXT-3496] Allow to add own links to Host context menu (with interface mock) Created: 2016 Oct 12 Updated: 2023 Feb 23 Resolved: 2022 Oct 19 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F) |
Affects Version/s: | 3.2.1 |
Fix Version/s: | 6.4.0alpha1, 6.4 (plan) |
Type: | Change Request | Priority: | Major |
Reporter: | Vitaly Zhuravlev | Assignee: | Ivo Kurzemnieks |
Resolution: | Fixed | Votes: | 77 |
Labels: | None | ||
Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
Attachments: | CControllerMenuPopup.php Screenshot 2022-08-18 at 13.43.56.png Screenshot 2022-08-18 at 13.45.14.png configuring on template host level.png custom_graph_link.PNG hostmenu-patch-example.png output3.gif trigger-menu-graphs.png z11111111111111111111111.png z5-1.png | ||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||
Sub-Tasks: |
|
||||||||||||||||||||||||
Team: | Team B | ||||||||||||||||||||||||
Sprint: | Sprint 90 (Jul 2022), Sprint 91 (Aug 2022), Sprint 92 (Sep 2022), Sprint 93 (Oct 2022) | ||||||||||||||||||||||||
Story Points: | 5 |
Description |
As almost everything Web now these context links are really useful with nearly any company has some other systems such as:
As well as hosts that you monitor also have local web page which you might decide want to visit to check or reconfigure something. So, In host menu that appears when you click on host name it would be really useful if you can configure and add your own links, To be useful and easy to implement this feature should probably have the following traits:
The example of Template level configuration is below: P.S. Would be cool if Global scripts also can be assigned to Hosts on Template/Host level. Scripts could be choosen from the list of existing in current Zabbix installation. As there is no reason to assign some SNMP checks on Zabbix agent host without snmp interface P.P.S. Custom internal links could also be helfpul here. For example, you might have a link in context menu that leads to the most important metric(item) graph of the device. And you can add it on a template level to make sure link would only appear for a host that actually has this graph/item: P.P.P.S. URI like ssh:// or vnc:// could be probably utilized in some way here |
Comments |
Comment by richlv [ 2016 Oct 12 ] |
this seems to match well with the map links feature, where functionality, similar to the requested, is already implemented. |
Comment by Vitaly Zhuravlev [ 2016 Oct 12 ] |
It is more similar to Global scripts actualy. Since scripts are available everywhere(Latest 20, Triggers, Maps etc), when map links - only on a single map. |
Comment by richlv [ 2016 Oct 12 ] |
right, i meant "map links should be available everywhere", as they are pretty much what you are asking for. while global scripts are available everywhere, they aren't functionally satisfying currently. |
Comment by Vitaly Zhuravlev [ 2016 Oct 12 ] |
Yes, in other words functionality that is available in maps only should be made available everywhere just like Global scripts and on Template/Host level. |
Comment by Vitaly Zhuravlev [ 2016 Dec 12 ] |
Here is the patch I made to implement this feature (sort of) |
Comment by Vitaly Zhuravlev [ 2017 Feb 06 ] |
Updated my patch to include new feature (sort of internal links I mentioned but automatically created this time): Automatically add direct links to related and in-context graphs in trigger popup menu if any |
Comment by Petr Vyhlidal [ 2017 Nov 13 ] |
Thank you for Great Functionality - Patch works well and it would be great if it was incorporated at regular release in way which is mentioned in description of this case!!! |
Comment by Vitaly Zhuravlev [ 2017 Nov 14 ] |
Petr, thanks for the feedback to palivoda, btw, this feature not only would help incorporate Zabbix into enterprise/similar complex IT landscapes providing links to other systems used (CMDBs, Service Desks, Reporting engines, other NMS used) but would also add weight to out of the box solutions, since out of the box templates could have for example:
|
Comment by Petr Vyhlidal [ 2017 Nov 14 ] |
P.P.P.S. URI like ssh:// or vnc:// could be probably utilized in some way here...and
|
Comment by Markus Fischbacher [ 2018 Feb 08 ] |
Any forthcoming of this request? As 4.0 is incoming it would be great to see that feature implemented! |
Comment by Alexei Vladishev [ 2018 Jul 12 ] |
Actually I see a serious security risk if it is implemented this way on template level. Alice may share a malicious template having links to internal resources accessible only in Bob secure environment. Bob will deploy this template, therefore all users will have a chance to click on the links. Not good. |
Comment by Fernando Lucio [ 2018 Aug 01 ] |
Ok, drop to internal resources, but please follow the other dev requested. Like Vitaly, i need put links to operator use, like global scripts. At least a new type of global script, a "link" one, just with a input to url that interpret simple macros, like hostname and ip address.
Thanks in advance. |
Comment by Ray Holtz [ 2019 Nov 11 ] |
I was looking in ZBXNEXT to see if anyone had asked for a link to the host's configuration page in the monitoring context menu, but this would be just as good. +1 for this! |
Comment by Kim Alexander Hansen [ 2021 Dec 20 ] |
Has this issue been forgotten? |
Comment by Alexei Vladishev [ 2021 Dec 21 ] |
kah , this feature request hasn't been forgotten. In fact it is already part of the preliminary Zabbix 6.2 roadmap, which will be finalized and published in January. |
Comment by Verde [ 2022 Jun 08 ] |
Since these URLs mainly will link to external systems, it's good to consider opening them in a new tab, or at least have a setting to choose if the URL opens in the same or new tab.
|
Comment by licg [ 2022 Jul 19 ] |
6.2 done? I have change some code in 5.4.7, by tags to do this work! if tag's value contain '//', the tag will render as menuitem! CControllerMenuPopup.php |
Comment by Alexei Vladishev [ 2022 Jul 20 ] |
This functionality was moved to Zabbix 6.4, it is part of the official roadmap now. |
Comment by Andrejs Griščenko [ 2022 Sep 09 ] |
Implemented in:
|
Comment by Marina Generalova (Inactive) [ 2022 Sep 29 ] |
Documentation updated:
|