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

Allow to pass event macros to Media type: Script

XMLWordPrintable

    • Icon: New Feature Request New Feature Request
    • Resolution: Fixed
    • Icon: Major Major
    • 6.4.0rc1, 6.4 (plan)
    • 5.0.14
    • Server (S)
    • None
    • Sprint 96 (Jan 2023), Sprint 97 (Feb 2023)
    • 6

      Currently, we have an option to pass these build-in macros to script:

      {ALERT.SENDTO}
      {ALERT.SUBJECT}
      {ALERT.MESSAGE}

      Please allow event macros to be passed too:

      {EVENT.NSEVERITY} 
      {EVENT.VALUE}
      {TRIGGER.ID}
      {EVENT.ID} 
      {EVENT.DATE} 
      {EVENT.TIME} 
      {EVENT.RECOVERY.DATE} 
      {EVENT.RECOVERY.TIME} 
      {EVENT.OPDATA} 
      {EVENT.AGE} 

      In this manner:

        1. image-2021-07-22-17-53-15-776.png
          82 kB
          Aigars Kadikis
        2. image-2021-07-22-17-55-34-553.png
          43 kB
          Aigars Kadikis
        3. screenshot-1.png
          17 kB
          Sergejs Maklakovs
        4. zbx_export_mediatypes.xml
          0.6 kB
          Alexander Vladishev

            dimir dimir
            aigars.kadikis Aigars Kadikis
            Team A
            Votes:
            5 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: