It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda RMM
formerly Managed Workplace

Create a Performance Counter for a custom WMI class

  • Last updated on

Please follow these steps to create a performance counter for a custom WMI class.

  1. Click Start, then choose RUN and type in “wbemtest.exe”. Then press ENTER.
    PC1.png
  2. Click Connect.
    pc2.png
  3. Connect to the namespace containing your WMI class. This will normally be root\cimv2. If you’re connecting to a remote system, the namespace will look like a UNC path, eg. \\hostname\root\cimv2.
    Enter an Administrator username and password if necessary, then click Connect.
    pc3.png
  4. Click Enum Classes…
    pc4.png
  5. Leave Enter Superclass Name blank, select Recursive and click OK.
    pc5.png
    A Query Result window opens with a full list of WMI classes in that namespace.
  6. Scroll through the list until you find a relevant class. Take note of the class name (eg. Win32_PerfFormattedData_Spooler_PrintQueue)
    pc6.png
  7. Click Instances to find out which instances exist.
    pc7.png
  8. Take note of the available instances, then double-click on one (eg. “_Total”)
    pc8.png
  9. Find the property you want to monitor, and take note of its name.
    pc9.png
  10. Open your Service Center, and go to System Settings under Configuration.
  11. Click the Network Objects tab, and under Performance Counters, click Add.
    pc10.png
  12. Check the Other box for each field, and fill out the form with the information you’ve gathered.
    Performance Object and Instance Counter can be whatever you want to name them and Object Instance is optional, but WMI Class Name and WMI Property Name are required.
    pc11.png
  13. Click Save.