event monitoring
merge agent and event definitions