Initial backup: 18 monitoring scripts + timers + docs
- 18 comprehensive monitoring checks - 5 systemd timers (5min, 15min, hourly, daily, weekly) - Complete documentation - NTFY secure notification system - Fixed debianvm disk space (91% to 57%) - Fixed CloudReve integration - Date: 2026-01-07
This commit is contained in:
8
timers/homelab-monitor-15min.service
Normal file
8
timers/homelab-monitor-15min.service
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Homelab 15-minute checks
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/check-services.sh
|
||||
ExecStart=/usr/local/bin/check-databases.sh
|
||||
ExecStart=/usr/local/bin/check-docker-restarts.sh
|
||||
10
timers/homelab-monitor-15min.timer
Normal file
10
timers/homelab-monitor-15min.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Homelab monitoring every 15 minutes
|
||||
|
||||
[Timer]
|
||||
OnBootSec=5min
|
||||
OnUnitActiveSec=15min
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
7
timers/homelab-monitor-5min.service
Normal file
7
timers/homelab-monitor-5min.service
Normal file
@@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Homelab 5-minute checks
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/check-containers.sh
|
||||
ExecStart=/usr/local/bin/check-vm-shutdowns.sh
|
||||
10
timers/homelab-monitor-5min.timer
Normal file
10
timers/homelab-monitor-5min.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Homelab monitoring every 5 minutes
|
||||
|
||||
[Timer]
|
||||
OnBootSec=2min
|
||||
OnUnitActiveSec=5min
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
8
timers/homelab-monitor-daily.service
Normal file
8
timers/homelab-monitor-daily.service
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Homelab daily checks
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/check-backups.sh
|
||||
ExecStart=/usr/local/bin/check-ssl-certs.sh
|
||||
ExecStart=/usr/local/bin/check-updates.sh
|
||||
10
timers/homelab-monitor-daily.timer
Normal file
10
timers/homelab-monitor-daily.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Homelab monitoring daily
|
||||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
OnCalendar=03:00
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
15
timers/homelab-monitor-hourly.service
Normal file
15
timers/homelab-monitor-hourly.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=Homelab hourly checks
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/check-pve-host.sh
|
||||
ExecStart=/usr/local/bin/check-all-vm-disks.sh
|
||||
ExecStart=/usr/local/bin/check-network-storage.sh
|
||||
ExecStart=/usr/local/bin/check-thin-pools.sh
|
||||
ExecStart=/usr/local/bin/check-ceph.sh
|
||||
ExecStart=/usr/local/bin/check-tailscale.sh
|
||||
ExecStart=/usr/local/bin/check-oom.sh
|
||||
ExecStart=/usr/local/bin/check-temperature.sh
|
||||
ExecStart=/usr/local/bin/check-network.sh
|
||||
ExecStart=/usr/local/bin/check-failed-logins.sh
|
||||
10
timers/homelab-monitor-hourly.timer
Normal file
10
timers/homelab-monitor-hourly.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Homelab monitoring every hour
|
||||
|
||||
[Timer]
|
||||
OnBootSec=10min
|
||||
OnUnitActiveSec=1h
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
6
timers/homelab-monitor-weekly.service
Normal file
6
timers/homelab-monitor-weekly.service
Normal file
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Homelab weekly checks
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/check-network.sh --speedtest
|
||||
10
timers/homelab-monitor-weekly.timer
Normal file
10
timers/homelab-monitor-weekly.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Homelab monitoring weekly
|
||||
|
||||
[Timer]
|
||||
OnCalendar=weekly
|
||||
OnCalendar=Sun 02:00
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user