• Icon: New Feature Request New Feature Request
    • Resolution: Fixed
    • Icon: Major Major
    • 4.4.1rc1, 4.4 (plan)
    • None
    • None
    • None
    • Sprint 56 (Sep 2019), Sprint 55 (Aug 2019), Sprint 57 (Oct 2019), Sprint 58 (Nov 2019), Sprint 60 (Jan 2020), Sprint 61 (Feb 2020)
    • 7

      Currently the only way to extend alerting is to use external scripts. It would be great to extend media types by supporting ability to make HTTP calls using custom JavaScript code for straightforward integration with external systems like helpdesk systems, chats or messengers. In addition to that ability to retrieve additional information and reuse it in Zabbix UI would be an extremely nice way of one-click integration of Zabbix with 3rd party systems.

          [ZBXNEXT-5386] Support of webhooks for actions

          Andris Zeila added a comment - - edited

          Released ZBXNEXT-5386 in:

          • pre-4.4.0rc1 5706516e05

          Andris Zeila added a comment - - edited Released ZBXNEXT-5386 in: pre-4.4.0rc1 5706516e05

          Hi have tested the new feature but how i can use the JS "method" Zabbix.Log that i have found on Zabbix documentation? This method is writing something on Zabbix Server Logs? If yes, is not working during the "Test" mode of the "Media Types" web page.
          Cuold i have some more details?
          Thanks

          Dimitri Bellini added a comment - Hi have tested the new feature but how i can use the JS "method" Zabbix.Log that i have found on Zabbix documentation? This method is writing something on Zabbix Server Logs? If yes, is not working during the "Test" mode of the "Media Types" web page. Cuold i have some more details? Thanks

          Andris Zeila added a comment -

          It should be working. The syntax is Zabbix.Log(<log level>, <text>), where <log level> is the log severity level: 4 - debug, 3 - warning etc (the same value as DebugLevel configuration parameter).

          Andris Zeila added a comment - It should be working. The syntax is Zabbix.Log(<log level>, <text>), where <log level> is the log severity level: 4 - debug, 3 - warning etc (the same value as DebugLevel configuration parameter).

          Ok good to know, probably my fault is related to the "Debug Level".
          As you suggest i have changed the "Debug level" and it works! Very good
          Thanks

          PS: Please add this very useful info on the Zabbix Documentation

          Dimitri Bellini added a comment - Ok good to know, probably my fault is related to the "Debug Level". As you suggest i have changed the "Debug level" and it works! Very good Thanks PS: Please add this very useful info on the Zabbix Documentation

            wiper Andris Zeila
            alarionovs Aleksandrs Larionovs (Inactive)
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: