summaryrefslogtreecommitdiffstats
path: root/tests/template_dimension/system_cpu.conf.template_alarm
blob: 2bd12a101229e7ac316dd7516d0f3068ebbb0d0f (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
template: 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

template: 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

template: 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