Sys-ctl-hlth-journalctl Role¶
Description: No description available
Variables¶
author: Kevin Veen-Birkenbach
description: Searches the systemd journal for errors over the past day and alerts if any are found.
company: Kevin Veen-Birkenbach
Consulting & Coaching Solutions https://www.veen.world
license: Infinito.Nexus NonCommercial License
license_url: https://s.infinito.nexus/license
min_ansible_version: 2.9
platforms: [{‘name’: ‘Archlinux’, ‘versions’: [‘rolling’]}]
galaxy_tags: [‘monitor’, ‘journalctl’, ‘logs’, ‘health’, ‘systemd’]
repository: https://s.infinito.nexus/code
documentation: https://docs.infinito.nexus
README¶
sys-ctl-hlth-journalctl¶
Description¶
Scans journalctl over the last day for “error” entries and alerts if
any are found.
Features¶
Runs
journalctl --since '1 day ago' | grep -i error.Exits non-zero on matches.
Scheduled via systemd timer.
Alerts via
sys-ctl-alm-composeon detection.
Usage¶
Include the role; set on_calendar_health_journalctl for your
preferred schedule.