[ZBXNEXT-6368] Move SSH/Telnet/IPMI/Script operations to Global Scripts Created: 2020 Nov 26 Updated: 2024 Apr 10 Resolved: 2021 May 31 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | None |
Fix Version/s: | 5.4.0beta2, 5.4 (plan) |
Type: | Change Request | Priority: | Trivial |
Reporter: | Rostislav Palivoda | Assignee: | Ivo Kurzemnieks |
Resolution: | Fixed | Votes: | 0 |
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: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||||
Issue Links: |
|
||||||||||||
Sub-Tasks: |
|
||||||||||||
Team: | |||||||||||||
Sprint: | Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021) | ||||||||||||
Story Points: | 10 |
Description |
Comments |
Comment by Andris Mednis [ 2020 Dec 02 ] |
Part of script migration from action operations to global scripts is generating unique names for migrated scripts. Here is a proposed algorithm for script name generation.
Most likely, all these generated names will have to be edited by user to reflect their true purpose. Capital letters in names, like CUSTOM, SSH, PUBLICKEY, will turn attention to them as artificially generated and invite renaming. Examples of generated names: ping -c 3 {HOST.CONN} CUSTOM SERVER /usr/bin/traceroute {HOST.CONN} CUSTOM AGENT sudo /usr/bin/nmap -O {HOST.CONN} SSH PASSWORD Comments are welcome. Can you propose a better generation of names? Or improve the proposed one? andris : It was decided to use a simpler naming. |
Comment by Ivo Kurzemnieks [ 2021 Feb 11 ] |
Implemented in development branch feature/ZBXNEXT-6368-5.3-2 |
Comment by Andris Mednis [ 2021 Mar 19 ] |
Available in versions:
|
Comment by Brian van Baekel [ 2021 Apr 03 ] |
Hi! I am a bit confused. I thought 5.4 was working towards a Zabbix that is ready for 'true multi tenancy' and 'all global things' will break that philosophy, thus therefor are bad. Now, stuff is moved into the 'global' part of configuration. Is there a bigger picture / decisions somewhere that I am unaware of, or is this a strange move? I LOVE the webhook part! |
Comment by Alexei Vladishev [ 2021 Apr 06 ] |
brian.baekel, it is also about security. Currently every admin is able to create an action that may execute any command on any host regardless of user permissions. Starting from Zabbix 5.4 we will manage all scripts in one place. Also note that the same script can be reused for automatic actions and manual operations from host- or problem context menus.
I think that now scripts are much easier to configure and use and also they may contain complex logic thanks to support of JavaScript. Instead of creating fake users for integration with Jira (for example) we can just create a script called "Open Jira ticket". Nice! |
Comment by Ivo Kurzemnieks [ 2021 May 27 ] |
Updated user documentation:
Updated API documentation: |