Monitoring and detection of security events on a computer or computer network, and the execution of proper responses to those events