Using policy to generate an event log, SNMP trap, IM, or email alert messages