Alarm clustering for intrusion detection systems in computer networks