Files
configpolicy/host_vars/chromie.pyrocufflink.blue.yml
Dustin C. Hatch 2d5f9e66c1 chromie: Scrape logs from serial consoles
Now that we have the serial terminal server managing `picocom` processes
for each serial port, and those `picocom` processes are configured to
log console output to files, we can configure Promtail to scrape these
log files and send them to Loki.
2024-11-10 18:34:49 -06:00

30 lines
1.1 KiB
YAML

collectd_plugins:
md: true
thermal: true
nut_monitor_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
64303561383531333663306463383934613634343333326265613063316138663631643738623132
6432396535333763363265366336636166363363323466650a366165656632343730623161363264
31323232383933633134633938643566313464333836323035663632623432333135316336386433
3033303839363835330a383030656531383237303339623835383566383966373437343334353263
39353665653464396164346263343538363930333062383330393165306234633331383630393236
3565376536363936333166356365363566386232326363613236
serterm_static_windows:
- ttyS1
- ttyS2
- ttyS4
serterm_authorized_keys:
- sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAINZCN2cxMDwedJ1Ke23Z3CZRcOYjqW8fFqsooRus7RK0AAAABHNzaDo= dustin@rosalina.pyrocufflink.blue
- sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIAB6xTCSNz+AcQCWcyVKs84tThXN4wpLgCo2Lc48L6EsAAAABHNzaDo= dustin@luma.pyrocufflink.blue
promtail_dac_read_search: true
promtail_scrape_configs:
- '{{ promtail_default_scrape.journal }}'
- job_name: serial
static_configs:
- labels:
__path__: /var/log/serial/*.log
job: serial