-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdraft_config_format.txt
50 lines (38 loc) · 1.38 KB
/
draft_config_format.txt
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
target name: 'LZR.E98.1601A.B83.WA'
target description: 'Room S21 Rack S1 PDU A Power Circuit A'
==================================================
default_interval: 5
default_prefix: 'LZR.E98'
default_objects: ['default_objects']
additional_metric_attributes: ['room', 'rack', 'unit']
snmp_object_collections:
default_objects:
'.1.3.6.1.4.1.476.1.42.3.8.30.40.1.63.1.1.1':
suffix : 'B83.W1'
unit : 'W'
description : 'Power Phase 1'
'.1.3.6.1.4.1.476.1.42.3.8.30.40.1.63.1.1.1':
suffix : 'B83.WA'
unit : 'W'
description : 'Power Circuit A'
multiplier: 0.001
absolute: true
temperature_sensor:
'.1.3.6.1.4.1.476.1.42.3.8.60.15.1.70.1.1.1':
suffix : 'B30'
unit : 'degC'
description : 'Temperature'
interval : 60
hosts:
'172.30.144.11':
name: 'LZR-P70-S21-S1-L'
room: 'S21'
rack: 'S1'
infix: '2101A'
description: 'Room S21 Rack S1 PDU A'
objects: ['default_objects', 'temperature_sensor']
=====================
- target name: "{prefix if set on host else default_prefix}.{infix}.{suffix}"
- description is concatenated from host, object (with space)
- additional_metric_attributes are added to declare dict, object value overwrites host attribute if key is defined at both
- interval can be overwritten on host or object (object level takes precedence)