manual:config:notifications:action:operation:macros

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:config:notifications:action:operation:macros [2020/04/28 06:50]
martins-v syntax of logical 'or' fixed (ZBX-17635)
manual:config:notifications:action:operation:macros [2021/01/27 20:27] (current)
Line 12: Line 12:
  
 == Example 1 == == Example 1 ==
 +
 Message subject: Message subject:
   Problem: {TRIGGER.NAME}   Problem: {TRIGGER.NAME}
Line 20: Line 21:
  
 == Example 2 == == Example 2 ==
 +
 Message: Message:
   Processor load is: {zabbix.zabbix.com:​system.cpu.load[,​avg1].last()}   Processor load is: {zabbix.zabbix.com:​system.cpu.load[,​avg1].last()}
Line 28: Line 30:
  
 == Example 3 == == Example 3 ==
 +
 Message: Message:
   Latest value: {{HOST.HOST}:​{ITEM.KEY}.last()}   Latest value: {{HOST.HOST}:​{ITEM.KEY}.last()}
Line 40: Line 43:
  
 == Example 4 == == Example 4 ==
 +
 Message: Message:
   http://<​server_ip_or_name>/​zabbix/​tr_events.php?​triggerid={TRIGGER.ID}&​eventid={EVENT.ID}   http://<​server_ip_or_name>/​zabbix/​tr_events.php?​triggerid={TRIGGER.ID}&​eventid={EVENT.ID}
Line 64: Line 68:
   1. Item value on Myhost: 0.83 (Processor load (1 min average per core))   1. Item value on Myhost: 0.83 (Processor load (1 min average per core))
   2. Item value on Myotherhost:​ 5.125 (Processor load (1 min average per core))   2. Item value on Myotherhost:​ 5.125 (Processor load (1 min average per core))
- 
  
 == Example 6 == == Example 6 ==
Line 80: Line 83:
   Event date: {EVENT.DATE}   Event date: {EVENT.DATE}
   Event age: {EVENT.AGE}   Event age: {EVENT.AGE}
-  Event acknowledgement: {EVENT.ACK.STATUS} ​+  Event acknowledgment: {EVENT.ACK.STATUS} ​
   Event update history: {EVENT.UPDATE.HISTORY}   Event update history: {EVENT.UPDATE.HISTORY}
   ​   ​
Line 102: Line 105:
   Event date: 2018.01.02   Event date: 2018.01.02
   Event age: 5m   Event age: 5m
-  Event acknowledgement: Yes +  Event acknowledgment: Yes 
   Event update history: 2018.01.02 13:05:51 "John Smith (Admin)"​   Event update history: 2018.01.02 13:05:51 "John Smith (Admin)"​
   Actions: acknowledged.   Actions: acknowledged.