master
yaml 70 lines 2.1 KB
Raw
1 version: v1
2 context_namespace: nagios
3 engine:
4 autogen:
5 enabled: true
6 expire_after_success_cycles: 50
7 groups:
8 - family: Job
9 context_namespace: job
10 groups:
11 - family: Execution
12 metrics:
13 - job.execution_state
14 - job.perfdata.threshold_state
15 - job.execution_duration
16 - job.execution_cpu_total
17 - job.execution_max_rss
18 charts:
19 - id: job_execution_state
20 title: Job Execution State
21 context: execution_state
22 units: state
23 priority: 90000
24 instances:
25 by_labels: [nagios_job]
26 dimensions:
27 - selector: job.execution_state
28 - id: job_perfdata_threshold_state
29 title: Job Perfdata Threshold State
30 context: perfdata_threshold_state
31 units: state
32 priority: 90001
33 instances:
34 by_labels: [nagios_job, perfdata_value]
35 dimensions:
36 - selector: job.perfdata.threshold_state
37 - id: job_execution_duration
38 title: Execution Duration
39 context: execution_duration
40 units: seconds
41 priority: 90002
42 instances:
43 by_labels: [nagios_job]
44 dimensions:
45 - selector: job.execution_duration
46 name: duration
47 options:
48 float: true
49 - id: job_execution_cpu
50 title: Execution CPU Time
51 context: execution_cpu
52 units: seconds
53 priority: 90003
54 instances:
55 by_labels: [nagios_job]
56 dimensions:
57 - selector: job.execution_cpu_total
58 name: total
59 options:
60 float: true
61 - id: job_execution_memory
62 title: Execution Peak RSS
63 context: execution_memory
64 units: bytes
65 priority: 90004
66 instances:
67 by_labels: [nagios_job]
68 dimensions:
69 - selector: job.execution_max_rss
70 name: rss