master
conf 57 lines 1.84 KB
Raw
1 # you can disable an alarm notification by setting the 'to' line to: silent
2
3 template: nagios_job_execution_state_warn
4 on: nagios.job.execution_state
5 class: Errors
6 type: Other
7 component: Nagios
8 calc: $warning - $retry
9 units: state
10 every: 10s
11 warn: $this != nan AND $this == 1
12 delay: down 1m multiplier 1.5 max 1h
13 summary: Nagios job ${label:nagios_job} execution state
14 info: Nagios job ${label:nagios_job} is in WARNING state
15 to: sysadmin
16
17 template: nagios_job_execution_state_crit
18 on: nagios.job.execution_state
19 class: Errors
20 type: Other
21 component: Nagios
22 calc: $critical - $retry
23 units: state
24 every: 10s
25 crit: $this != nan AND $this == 1
26 delay: down 1m multiplier 1.5 max 1h
27 summary: Nagios job ${label:nagios_job} execution state
28 info: Nagios job ${label:nagios_job} is in CRITICAL state
29 to: sysadmin
30
31 template: nagios_job_perfdata_threshold_state_warn
32 on: nagios.job.perfdata_threshold_state
33 class: Errors
34 type: Other
35 component: Nagios
36 calc: $warning - $retry
37 units: state
38 every: 10s
39 warn: $this != nan AND $this == 1
40 delay: down 1m multiplier 1.5 max 1h
41 summary: Nagios job ${label:nagios_job} perfdata ${label:perfdata_value} threshold state
42 info: Nagios job ${label:nagios_job} perfdata ${label:perfdata_value} is in WARNING threshold state
43 to: sysadmin
44
45 template: nagios_job_perfdata_threshold_state_crit
46 on: nagios.job.perfdata_threshold_state
47 class: Errors
48 type: Other
49 component: Nagios
50 calc: $critical - $retry
51 units: state
52 every: 10s
53 crit: $this != nan AND $this == 1
54 delay: down 1m multiplier 1.5 max 1h
55 summary: Nagios job ${label:nagios_job} perfdata ${label:perfdata_value} threshold state
56 info: Nagios job ${label:nagios_job} perfdata ${label:perfdata_value} is in CRITICAL threshold state
57 to: sysadmin