mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-06 02:11:42 +02:00
Renamed alert-bot to alert-compose
This commit is contained in:
@@ -7,7 +7,7 @@ Scans `journalctl` over the last day for “error” entries and alerts if any a
|
||||
- Runs `journalctl --since '1 day ago' | grep -i error`.
|
||||
- Exits non-zero on matches.
|
||||
- Scheduled via systemd timer.
|
||||
- Alerts via `alert-core` on detection.
|
||||
- Alerts via `alert-compose` on detection.
|
||||
|
||||
## Usage
|
||||
Include the role; set `on_calendar_health_journalctl` for your preferred schedule.
|
||||
|
@@ -21,4 +21,4 @@ galaxy_info:
|
||||
repository: "https://s.veen.world/cymais"
|
||||
documentation: "https://s.veen.world/cymais"
|
||||
dependencies:
|
||||
- alert-core
|
||||
- alert-compose
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=checking journalctl health
|
||||
OnFailure=alert-core.cymais@%n.service
|
||||
OnFailure=alert-compose.cymais@%n.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
Reference in New Issue
Block a user