1mib: VEL-HOST2-MIB
2modules:
3    os:
4        version: VEL-HOST2-MIB::host2Version.0
5    sensors:
6        pre-cache:
7            data:
8                -
9                    oid:
10                        - host2DevIndex
11        state:
12            data:
13                -
14                    oid: host2DevLanState
15                    num_oid: '.1.3.6.1.4.1.27993.5.6.1.4.{{ $index }}'
16                    descr: "Lan {{ $host2DevIndex }} State"
17                    state_name: host2DevLanState
18                    states:
19                        - { value: 0, generic: 2, graph: 1, descr: 'disconnected' }
20                        - { value: 1, generic: 0, graph: 1, descr: 'connected' }
21        temperature:
22            data:
23                -
24                    oid: host2DevParTable
25                    value: host2DevParValue
26                    num_oid: '.1.3.6.1.4.1.27993.5.9.1.3.{{ $index }}'
27                    descr: host2DevParName
28                    skip_values:
29                        -
30                            oid: host2DevParName
31                            op: '!='
32                            value: Temperature
33        voltage:
34            data:
35                -
36                    oid: host2DevParTable
37                    value: host2DevParValue
38                    num_oid: '.1.3.6.1.4.1.27993.5.9.1.3.{{ $index }}'
39                    descr: host2DevParName
40                    skip_values:
41                        -
42                            oid: host2DevParName
43                            op: '!='
44                            value: Voltage
45        current:
46            data:
47                -
48                    oid: host2DevParTable
49                    value: host2DevParValue
50                    num_oid: '.1.3.6.1.4.1.27993.5.9.1.3.{{ $index }}'
51                    descr: host2DevParName
52                    skip_values:
53                        -
54                            oid: host2DevParUnit
55                            op: '!='
56                            value: A
57        power:
58            data:
59                -
60                    oid: host2DevParTable
61                    value: host2DevParValue
62                    num_oid: '.1.3.6.1.4.1.27993.5.9.1.3.{{ $index }}'
63                    descr: host2DevParName
64                    skip_values:
65                        -
66                            oid: host2DevParUnit
67                            op: '!='
68                            value: W
69                -
70                    oid: host2DevParTable
71                    value: host2DevParValue
72                    num_oid: '.1.3.6.1.4.1.27993.5.9.1.3.{{ $index }}'
73                    descr: host2DevParName
74                    divisor: 1000
75                    skip_values:
76                        -
77                            oid: host2DevParUnit
78                            op: '!='
79                            value: mW
80