- 2 minutes to read

Troubleshooting the Windows Server Monitoring Agent

If you have any issues that you can not solve, contact our Support or send us an email at support@nodinite.com

Access denied

In the diagnostic files, if you get System.UnauthorizedAccessException: Access is denied, on the target server, please review the WMI Access rights.

  1. Run wmimgmt.msc
  2. Connect to target server (or do the operation locally on the target server).
    wmimgmt.msc MMC
  3. Right-Click | Properties.
    Properties
  4. Select the Security tab.
    Security tab
  5. Click on the Security button and make sure the account in use for the Nodinite Windows Server Monitoring Agent is present with appropriate permissions according to your needs and current configuration.
    Assign permissions

IIS Monitoring on Windows 2012 or earlier

To Monitor the IIS, ensure the agent has all the Prerequisites installed.

On Windows Server 2012 or earlier, the system has Microsoft.Web.Administration in Assembly version 7.0.0.0 which in turned uses .NET Framework 2.0. The Agent ship with a much newer version.

In a Monitor View, the IIS resource is in the Unavailable state.

To solve this, follow the steps below:

Note

These steps are Manual and must be applied each time the Agent is updated.

  1. Stop the Agent
  2. Remove the Microsoft.Web.Administration.dll file in the installation folder of the agent.
  3. Copy the Microsoft.Web.Administration.dll from C:\Windows\assembly\GAC_MSIL\Microsoft.Web.Administration\7.0.0.0__31bf3856ad364e35 folder to the installation folder of the Agent
  4. Edit the Nodinite.MonitoringAgent.WindowsServerHost.exe.config file using Notepad++ and add the following section
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
            <assemblyIdentity name="Microsoft.Web.Administration" publicKeyToken="31bf3856ad364e35" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="7.0.0.0" />
        </dependentAssembly>
    </assemblyBinding>
  1. Start the Agent

Important

If you are reading this article, you are most likely no longer supported by Microsoft and must update your run-time environment.

FAQ

How do I add Windows Server to monitor with Nodinite?

Adding an arbitrary number of Windows Servers for Nodinite to monitor is a straightforward process and requires only proper access rights. Simply follow the steps detailed in the Configuration user guide.

Info

You must be part of the Administrators role