code puce - noun phrase - An IT or ops situation in which the software installed in production is one version and the management system expects a different version. This results in a situation in which everything is running more or less smoothly, and at the same time everything in the monitoring system is going bonkers. Compare with code red, code blue, and so forth.
So, you're probably wondering why I'm posting this, because it's a bit off of my usual fare. The reason is I think it would be useful to make available a fairly simple algorithm for implementing a general purpose dead man's switch in whatever language you want, which is to say a DMS that could conceivably do just about anything if it activated.
But what's a dead man's switch? Ultimately, it's a mechanism that has to be manually engaged at all times if you want something to happen, and if that switch turns off for some reason, something else happens (like …