feat(package): sentinel: some changes

This commit is contained in:
2025-10-25 06:48:48 +00:00
parent 9903e83f68
commit 450ba9229b
5 changed files with 70 additions and 18 deletions

View File

@@ -12,6 +12,26 @@
# TIMEOUT=5
# AUTH_FILE="/path/htpasswd-like" # lines: user:pass
# output example
# {
# "checks": [],
# "summary": {
# "total": 0,
# "ok": 0
# }
# "disk": {
# "volumes": [
# {
# "mount": "/dev",
# "size_blocks": 195760,
# "used": 0,
# "avail": 195760,
# "use_percent": "0%"
# }
# ]
# }
# }
: "${TIMEOUT:=5}"
: "${VOLUMES:=$(df -P | awk 'NR>1{print $6}')}"