How to Monitor the Microsoft Dynamics NAV Using eG Enterprise?

eG Enterprise is capable of monitoring the Microsoft Dynamics NAV in bot agent based and agentless manner. To monitor the Microsoft Dynamics NAV in agentless manner, a single eG agent should be deployed on a remote Windows host. The eG agent relies on the Windows Communication Foundation (WCF) to pullout metrics from the Microsoft Dynamics NAV. To enable the eG agent to use the Windows Communication Foundation (WCF) counter, a set of pre-requisites should be fulfilled. These requirements are provided in the below section.

Pre-requisites for Monitoring the Microsoft Dynamics NAV

For collecting metrics on the internal health of the NAV server in real-time, eG’s agent-based/agentless monitor relies on the Windows Communication Foundation (WCF); this includes a number of performance counters that track requests to the NAV server and measure how quickly the server processes these requests. To enable the eG agent to use WCF performance counters, follow the steps below:

  • Edit the Microsoft.Dynamics.Nav.Server.exe.config file in the NAV Service folder (default is C:\Program Files\Microsoft Dynamics NAV\60\Service).
  • Add the section below, marked in Bold:

    <?xml version="1.0" encoding="utf-8" ?> 

    <configuration> 

      <appSettings file="CustomSettings.config" /> 

      <system.diagnostics> 

        <assert assertuienabled="false" /> 

      </system.diagnostics>

    <system.serviceModel> 
          <diagnostics performanceCounters="All" /> 
    </system.serviceModel>

    </configuration>

  • Restart the NAV Server.