Written on 1. December 2022

Icinga2 agent not loading performance counters on Windows

I had the problem that on some Windows Server 2019 VMs the performance counters could not be loaded. The scripts gave me the information “wrong parameter” or “The resource loader failed to find MUI file”.

To solve this go to the VM and enter the following commands to rebuild all performance counters.

cd C:\windows\system32
lodctr /R
cd C:\windows\sysWOW64
lodctr /R

Now all performance counter should work again and Icinga Agent should be able to get the results.