ABOUT
This script will add Monitor-All to Proxmox VE, which will monitor the status of all your instances, both containers and virtual machines, excluding templates and user-defined ones, and automatically restart or reset them if they become unresponsive. This is particularly useful if you're experiencing problems with Home Assistant becoming non-responsive every few days/weeks. Monitor-All also maintains a log of the entire process, which can be helpful for troubleshooting and monitoring purposes.
🛈 Virtual machines without the QEMU guest agent installed must be excluded.
🛈 Prior to generating any new CT/VM not found in this repository, it's necessary to halt Proxmox VE Monitor-All by running systemctl stop ping-instances.
infoExecute within the Proxmox shell
warningVirtual machines without the QEMU guest agent installed must be excluded.
warningPrior to generating any new CT/VM not found in this repository, it's necessary to halt Proxmox VE Monitor-All by running `systemctl stop ping-instances`.
infoTo make setup changes, first stop the service: `systemctl stop ping-instances`
infoTo edit pause time: `nano /usr/local/bin/ping-instances.sh`
infoTo add excluded instances: `nano /etc/systemd/system/ping-instances.service`
infoAfter changes have been saved, `systemctl daemon-reload` and start the service: `systemctl start ping-instances`
infoMonitor-All logs: `cat /var/log/ping-instances.log`
INSTALL
Approved local installer
DefaultDebian 13
Approved locallyRun this command in the Proxmox VE shell. It downloads the immutable approved file, verifies SHA-256, and only then executes it.
( url='https://scripts.francoisvw.com/snapshots/c19711ea1b2526bec67e34be948114e255b5a811/tools/pve/monitor-all.sh'; sha='f0d136b7bc69cc5079978c45aa3f1759042c4312be98bf570e734300a23df9f9'; tmp="$(mktemp)" || exit; curl -fsSL "$url" -o "$tmp" && printf '%s %s\n' "$sha" "$tmp" | sha256sum -c - && bash "$tmp"; rc=$?; rm -f "$tmp"; exit "$rc" )
View approved source ↗Path tools/pve/monitor-all.shSHA-256 f0d136b7bc69cc5079978c45aa3f1759042c4312be98bf570e734300a23df9f9 LOCAL CHANGE REVIEW
Approved vs latest fetched source
Sign in with a passkey to inspect pending source changes. Approved content remains public.