Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-8121

Input field for frontend scripts

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 7.0.0alpha9, 7.0 (plan)
    • None
    • API (A), Frontend (F)
    • None
    • Zabbix Frontend
    • Sprint 103 (Aug 2023), Sprint 104 (Sep 2023), Sprint 105 (Oct 2023), Sprint 106 (Nov 2023), Sprint 107 (Dec 2023), S2401
    • 3

      I think it would be nice to add new feature to frontend scripts, which will be fimiliar to macros {ALERT.MESSAGE} and {ALERT.SUBJECT}. Because sometimes some frontend scripts requires a few conditions, which cannot be provided by built-in macros. So to do it's required to create few the same frontend scripts, what provides a mess.

      I would provide variables (which can be provided in script by new built-in macro e.g {SCRIPT.INPUT}) in "Confirmation message".

      Example situtation:

      Creating frontend script with type webhook to add new period maintenance in Zabbix. On host menu would be visible action "Create maintenance to this host for X days". After clicking that would be visible popup with text area with custom message eg. : "How long your host should be in maintenance". When intiger value would be provided then this value will be contained in special new built-in macro.

       

        1. zbxnext-8121.yaml
          0.5 kB
        2. trigger_context_menu.gif
          trigger_context_menu.gif
          893 kB
        3. script_execution.gif
          script_execution.gif
          1.42 MB
        4. screenshot-9.png
          screenshot-9.png
          68 kB
        5. screenshot-8.png
          screenshot-8.png
          85 kB
        6. screenshot-7.png
          screenshot-7.png
          98 kB
        7. screenshot-6.png
          screenshot-6.png
          126 kB
        8. screenshot-5.png
          screenshot-5.png
          12 kB
        9. screenshot-4.png
          screenshot-4.png
          9 kB
        10. screenshot-3.png
          screenshot-3.png
          24 kB
        11. Screenshot 2023-12-21 at 11.21.44.png
          Screenshot 2023-12-21 at 11.21.44.png
          92 kB
        12. Screenshot 2023-09-27 at 19.06.51.png
          Screenshot 2023-09-27 at 19.06.51.png
          122 kB
        13. Screenshot 2023-09-27 at 19.03.43.png
          Screenshot 2023-09-27 at 19.03.43.png
          48 kB
        14. Screenshot 2023-09-27 at 19.00.46.png
          Screenshot 2023-09-27 at 19.00.46.png
          12 kB
        15. screenshot-2.png
          screenshot-2.png
          29 kB
        16. screenshot-1.png
          screenshot-1.png
          109 kB
        17. image-2023-12-13-13-47-10-820.png
          image-2023-12-13-13-47-10-820.png
          13 kB
        18. image-2023-11-07-15-16-22-170.png
          image-2023-11-07-15-16-22-170.png
          59 kB
        19. broken_confirm_popup.gif
          broken_confirm_popup.gif
          2.38 MB

            esekace Eliza Sekace
            Godfather Mateusz Dampc
            Team D
            Votes:
            6 Vote for this issue
            Watchers:
            24 Start watching this issue

              Created:
              Updated:
              Resolved: