Zabbix Documentation 2.2

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

User Tools

Site Tools


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
manual:config:notifications:action:operation:macros [2014/09/26 11:32]
sasha Links adapted because of a move operation
manual:config:notifications:action:operation:macros [2014/12/03 07:56] (current)
martins-v removing unnecessary '0' from function parameters in trigger expression examples
Line 21: Line 21:
 == Example 2 == == Example 2 ==
 Message: Message:
-  Processor load is: {zabbix.zabbix.com:​system.cpu.load[,​avg1].last(0)}+  Processor load is: {zabbix.zabbix.com:​system.cpu.load[,​avg1].last()}
  
 When you receive the message, the message will be replaced by something like: When you receive the message, the message will be replaced by something like:
Line 29: Line 29:
 == Example 3 == == Example 3 ==
 Message: Message:
-  Latest value: {{HOST.HOST}:​{ITEM.KEY}.last(0)}+  Latest value: {{HOST.HOST}:​{ITEM.KEY}.last()}
   MAX for 15 minutes: {{HOST.HOST}:​{ITEM.KEY}.max(900)}   MAX for 15 minutes: {{HOST.HOST}:​{ITEM.KEY}.max(900)}
   MIN for 15 minutes: {{HOST.HOST}:​{ITEM.KEY}.min(900)}   MIN for 15 minutes: {{HOST.HOST}:​{ITEM.KEY}.min(900)}
Line 54: Line 54:
  
   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(0)}>5 | {Myotherhost:​system.cpu.load[percpu,​avg1].last(0)}>5+  Trigger expression: {Myhost:​system.cpu.load[percpu,​avg1].last()}>​5 | {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))