summaryrefslogtreecommitdiff
path: root/roles/monitoring/prometheus/exporter/node/defaults/main.yml
blob: e06909bf2a28803e310d0f29f0c65d569ae09807 (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
---
# prometheus_exporter_node_version:

prometheus_exporter_node_disable_collectors: []
prometheus_exporter_node_extra_collectors:
  - systemd

prometheus_exporter_node_install_apt_info_textfile_collector_script: "{{ ansible_pkg_mgr == 'apt' }}"
prometheus_exporter_node_textfile_collector_scripts:
  - deleted-libraries
#  - smartmon
#  - 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
#   - name_regex: "^i2c%-tiny%-usb at bus 001 device %d+$"  ## this uses lua pattern maching
#     devices:
#     - 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