github repo for a fairly simple daemon that polls the system's sensors. When enough fail it runs a script in response. Can be used as a dead man's switch. FOSS Written in C. If you can write a sensor of some kind that monitors for something and emits a zero if yes or good, or not-zero if no or fail, you can probably use swatd for it.