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
    • Team A
    • 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:

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

              Created:
              Updated:
              Resolved: