Subj : Re: UPS homelab setup To : Mark Hofmann From : Nick Andre Date : Wed Oct 05 2022 19:49:00 On 01 Oct 22 09:37:05, Mark Hofmann said the following to Kurt Weiske: MH> I found doing the manual shutdown if I'm around worked better, but certainl MH> am not opposed to giving it another shot with different software and option MH> There is likely something better these days that would work with my ESXi se MH> and Windows servers/systems. As I run my own Email server... I take the UPS-emails generated from the APC daughtercard when power goes to battery-state and execute a simple DOS batchfile which just creates a dummy file in an SMB share. All of the VM's check every 15 minutes to half-hour for the presence of that dummy file. If it exists, they shutdown. Call it a simple "heartbeat" event. That checking also goes along with an automated disk-space check via a crude commandline utility I wrote. If space falls below a certain threshold, a dummy file is created. If the batchfile sees that dummy, I'm sent an email alert. Same with any processes that suddenly may stop running... ie. BinkD on the BBS etc. I wrote a simple program that checks for any running process I specify. If it doesn't exist, another dummy tells the batchfile to send email alerts. No powershell, WMI, 3rdparty stuff, SNMP or other nonsense in any of this. Just simple DOS commands... thus the CPU/resources are never spiked. Nick --- Renegade vY2Ka2 * Origin: Joey, do you like movies about gladiators? (618:500/24) .