I have found in the System Configuration a list of errors that I can have write to the windows event log, but it does not include the Lost Connection to agent/adapter error. I am now looking at looking at taking that system "Event" and attaching an action to it to write to the windows event log. Is this the best/most elegant way to go about it? Is there a way to include the machine location (as opposed to the agent name) in the event?
What I am attempting to do, and this is coming from a thread in the CPO section, is create a windows application event when a connection is lost. CPO would then be monitoring the TES server windows event log for such an event and perform some diagnostic and attempt to recover the agent.
When the master loses the connection we have a system event send a snmp trap back our centralized monitoring. To recover from Windows agent failures we have configured the agent service to auto restart and send a snmp trap back our centralized monitoring when it restarts to close the loop.