A Distributed Monitoring System for Enhancing Security and Dependability at Architectural Level