A monitoring system based on a multi-agent platform