summaryrefslogtreecommitdiffstats
path: root/tests/template_dimension/system_cpu.conf.unique_alarm
blob: 0f38b6e12d03e378dfc5b3d3253961cac84b9a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 alarm: dev_dim_template_system
    on: system.cpu
    os: linux
lookup: sum -3s at 0 every 3 percentage of system
 units: %
 every: 1s
  warn: $this > 1
  crit: $this > 4

 alarm: dev_dim_template_user
    on: system.cpu
    os: linux
lookup: sum -3s at 0 every 3 percentage of user
 units: %
 every: 1s
  warn: $this > 1
  crit: $this > 4

 alarm: dev_dim_template_nice
    on: system.cpu
    os: linux
lookup: sum -3s at 0 every 3 percentage of nice
 units: %
 every: 1s
  warn: $this > 1
  crit: $this > 4