summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/modbus/defaults/main.yml
blob: 0c72d08c6e6ad61600877be2d6f02d97376e62c8 (plain) (blame)
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
---
# prometheus_exporter_modbus_version:

# prometheus_exporter_modbus_modules:
#   - name: "fake"
#     protocol: 'tcp/ip'
#     metrics:
#     - name: "power_consumption_total"
#       help: "represents the overall power consumption by phase"
#       labels:
#         phase: "1"
#       address: 300022
#       dataType: int16
#       endianness: big
#       metricType: counter
#       factor: 3.1415926535
#     - name: "some_gauge"
#       help: "some help for some gauge"
#       address: 30023
#       dataType: int16
#       metricType: gauge
#       factor: 2
#     - name: "coil"
#       help: "some help for some coil"
#       address: 124
#       dataType: bool
#       bitOffset: 0
#       metricType: gauge