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 [2014/12/03 07:57]
martins-v removing unnecessary '0' from function parameters in trigger expression examples
manual:config:notifications:action:operation:macros [2020/04/28 06:53]
martins-v syntax of logical 'or' fixed (ZBX-17635)
Line 40: Line 40:
  
 == Example 4 == == Example 4 ==
 +Message:
 +  http://<​server_ip_or_name>/​zabbix/​events.php?​triggerid={TRIGGER.ID}&​filter_set=1
 +
 +When you receive the message, it will contain a link to all events of the problem trigger.
 +
 +== Example 5 ==
  
 Informing about values from several hosts in a trigger expression. Informing about values from several hosts in a trigger expression.
Line 54: Line 60:
  
   Trigger: Processor load is too high on a local host   Trigger: Processor load is too high on a local host
-  Trigger expression: {Myhost:​system.cpu.load[percpu,​avg1].last()}>​5 ​{Myotherhost:​system.cpu.load[percpu,​avg1].last()}>​5+  Trigger expression: {Myhost:​system.cpu.load[percpu,​avg1].last()}>​5 ​or {Myotherhost:​system.cpu.load[percpu,​avg1].last()}>​5
   ​   ​
   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))
Line 60: Line 66:
  
  
-== Example ​==+== Example ​==
  
 Receiving details of both the problem event and recovery event in a [[manual:​config:​notifications:​action#​configuring_an_action|recovery]] message: Receiving details of both the problem event and recovery event in a [[manual:​config:​notifications:​action#​configuring_an_action|recovery]] message: