diff --git a/scripts/check-all-vm-disks.sh b/scripts/check-all-vm-disks.sh index 1b6c4c4..22e8148 100755 --- a/scripts/check-all-vm-disks.sh +++ b/scripts/check-all-vm-disks.sh @@ -5,10 +5,10 @@ set -euo pipefail SEND_NTFY="/usr/local/bin/send-ntfy.sh" # VM configurations: "VMID:NAME:IP" +# Note: VM 100 (haos14.0) excluded - Home Assistant OS doesn't have SSH, monitored via thin pool instead VMS=( "101:debianvm:DEBIANVM" "282:ubuntu-server-xfce:ubuntu-server-xfce" - "100:haos14.0:haos14" ) for vm_config in "${VMS[@]}"; do diff --git a/scripts/check-ceph.sh b/scripts/check-ceph.sh index 5b4c26a..fe320cb 100755 --- a/scripts/check-ceph.sh +++ b/scripts/check-ceph.sh @@ -1,8 +1,9 @@ #!/bin/bash # Monitor Ceph cluster health -set -euo pipefail +# DISABLED: Ceph is not being used for storage (using NFS/CIFS/LVM instead) +# Ceph services are running but unconfigured (0 OSDs), causing false warnings -SEND_NTFY="/usr/local/bin/send-ntfy.sh" +set -euo pipefail # Check if Ceph is installed if ! command -v ceph &>/dev/null; then @@ -10,6 +11,18 @@ if ! command -v ceph &>/dev/null; then exit 0 fi +# Check if Ceph storage is actually being used +CEPH_STORAGE=$(pvesm status 2>/dev/null | grep -i ceph || echo "") + +if [ -z "$CEPH_STORAGE" ]; then + # Ceph is not in use, skip monitoring + logger -t ceph-monitor "Ceph not in use, monitoring disabled" + exit 0 +fi + +# Only monitor if Ceph storage is actually configured +SEND_NTFY="/usr/local/bin/send-ntfy.sh" + # Get Ceph status CEPH_STATUS=$(timeout 10 ceph -s 2>/dev/null || echo "FAILED")