Send an alert when a server fails to register with Sophos Central
We were seeing an issue with cloned devices that weren't listed in in Sophos Central. It turns out that there were some servers trying to connect with duplicate endpoint IDs (causing the server to send back a 401 error). We can resolve this with a change to our process for creating and deploying instances so that each one registers with a unique endpoint ID. It would be better, though, if we could also get an alert when this happens. As of now, if any server is not following the process for deploying servers from gold images, we won't know unless we manually look up the server. An alert for this as well as any other issues the server may have registering with Sophos Central would help to identify and resolve the issue more quickly.