summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/node/defaults/main.yml
blob: 9e8bcf8b024ae520d27ee4e27114cedf198d57ec (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
_prometheus_exporter_node_time_collector_map_:
  "": timex
  systemd-timesyncd: timex
  chrony: timex
  openntpd: ntp

prometheus_exporter_node_timesync_collector: "{{ _prometheus_exporter_node_time_collector_map_[ntp_variant | default('')] }}"

prometheus_exporter_node_disable_collectors: []
prometheus_exporter_node_extra_collectors:
  - "{{ prometheus_exporter_node_timesync_collector }}"
  - systemd

prometheus_exporter_node_textfile_collector_scripts:
  - deleted-libraries
#  - smartmon
#  - chrony
#  - sensors

# prometheus_exporter_node_textfile_collector__sensors:
#   i2c:
#   - number: 1
#     devices:
#     - name: blub
#       address: 0x5c
#       type: am2315
#     - address: 0x18
#       type: ds2482
#   - name: "10000900.i2c"
#     devices:
#     - address: 0x70
#       type: pca9548
#       channels:
#       - number: 0
#         devices:
#         - name: foo
#           address: 0x76
#           type: bme280
#       - number: 1
#         devices:
#         - name: bar
#           address: 0x77
#           type: bmp280
#   w1:
#   - name: temp1
#     address: 28-987654321098
#   - name: temp2
#     address: 28-012345678901
#   gpio:
#   - name: everything-is-fine-and-dandy
#     number: 0
#   - name: something-went-horribly-wrong
#     number: 1