.NET Network Monitoring

You must edit the agent instance configuration manually to allow .NET network diagnostic monitoring.

The file can be found under <PROGRAMDATA>\Config\Instances\<INSTANCES>.Exe.Config. It should include the following coding in the corresponding XML section:

...

<system.diagnostics>

<trace autoflush="true"/>

<sharedListeners>

...

<add name="NetworkMonitor"

type="System.Diagnostics.TextWriterTraceListener"

initializeData="NetworkMonitor_trace.log"/>

</sharedListeners>

<sources>

...

<source name="System.Net" maxdatasize="1024">

<listeners>

<add name="NetworkMonitor"/>

</listeners>

</source>

<source name="System.Net.Sockets" maxdatasize="1024">

<listeners>

<add name="NetworkMonitor"/>

</listeners>

</source>

</sources>

<switches>

...

<add name="System.Net" value="Verbose"/>

<add name="System.Net.Sockets" value="Verbose"/>

</switches>

</system.diagnostics>

...

When you start the agent instance the next time, you can find detailed log information in the file NetworkMonitor_trace.log, which is located in the agent instance directory (<PROGRAMDATA>\Config\Instances\).