Sync workspace: config, docs, scripts, CI, operator rules, and submodule pointers.
- Update dbis_core, cross-chain-pmm-lps, explorer-monorepo, metamask-integration, pr-workspace/chains - Omit embedded publish git dirs and empty placeholders from index Made-with: Cursor
This commit is contained in:
@@ -37,7 +37,7 @@ log_alert() {
|
||||
}
|
||||
|
||||
# Check all containers
|
||||
for vmid in 1000 1001 1002 1003 1004 1500 1501 1502 1503 2500 2501 2502; do
|
||||
for vmid in 1000 1001 1002 1003 1004 1500 1501 1502 1503 2101 2102 2103 2201 2301 2303 2304 2305 2306 2307 2308 2400 2401 2402 2403 2420 2430 2440 2460 2470 2480; do
|
||||
# Check if container is running
|
||||
if ! pct status "$vmid" 2>/dev/null | grep -q running; then
|
||||
log_alert "Container $vmid is not running"
|
||||
@@ -50,7 +50,7 @@ for vmid in 1000 1001 1002 1003 1004 1500 1501 1502 1503 2500 2501 2502; do
|
||||
service_name="besu-validator"
|
||||
elif [[ $vmid -ge 1500 ]] && [[ $vmid -le 1503 ]]; then
|
||||
service_name="besu-sentry"
|
||||
elif [[ $vmid -ge 2500 ]] && [[ $vmid -le 2502 ]]; then
|
||||
elif [[ $vmid -ge 2101 ]] && [[ $vmid -le 2480 ]]; then
|
||||
service_name="besu-rpc"
|
||||
fi
|
||||
|
||||
@@ -63,7 +63,7 @@ for vmid in 1000 1001 1002 1003 1004 1500 1501 1502 1503 2500 2501 2502; do
|
||||
done
|
||||
|
||||
# Check disk space (alert if < 10% free)
|
||||
for vmid in 1000 1001 1002 1003 1004 1500 1501 1502 1503 2500 2501 2502; do
|
||||
for vmid in 1000 1001 1002 1003 1004 1500 1501 1502 1503 2101 2102 2103 2201 2301 2303 2304 2305 2306 2307 2308 2400 2401 2402 2403 2420 2430 2440 2460 2470 2480; do
|
||||
if pct status "$vmid" 2>/dev/null | grep -q running; then
|
||||
disk_usage=$(pct exec "$vmid" -- df -h / | awk 'NR==2 {print $5}' | sed 's/%//' 2>/dev/null || echo "0")
|
||||
if [[ $disk_usage -gt 90 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user