Support for monitoring multiple instances by one agent