Why Are Counters Not Responding

Problem

Some or all of the performance counters are not working.  

Capture.JPG

Resolution

Kaseya has developed a diagnostic process that you can run on affected machines. This app will interrogate the machine and inform you why your monitoring is not working and in most cases how to fix it.

Create the "Managed Files" folder of "MDwhyIsMonitoringNotWorking" within the "Shared" folder.

Capture3.JPG

 Upload the attached file "MDwhyIsMonitoringNotWorking.exe" to the above location.

Capture4.JPG

 Import the attached XML which will create an agent procedure with the name of   "MDWhyIsMonitoringNotWorking" 

Capture2.JPG

When executing this script you'll be presented with this screen that asks you 1 question.

Capture5.JPG

The question is "MonitorsetId Number to Test." Is asking you which monitor set assigned to this machine should be tested against the machine.

You can find this Number from the Assign Monitoring"  tab

Capture6.JPG

The results will be written to the kworking directory and the file will be called "MDwhyIsMonitoringNotWorking.txt"

Note: You can execute this script across multiple machines, assuming they all have the monitor set in question 

After running you'll see a detailed file, MDwhyIsMonitoringNotWorking.txt, containing the monitoring debug process.

The debug process and be broken down into two parts

1) The first is machine-specific issues.

Capture7.JPG

2) The second part deals with Object, Counter Instance issues for every row in the monitorset. 

Capture8.JPG

Applies to  

Windows performance counters only ( not services or processes. ) However, some of the issues identified by this application may also be the same reason why they don't work too.

Additional information  

To identify machines that have counters that are not responding ( are having issues ) please see the below KB

https://helpdesk.kaseya.com/hc/en-gb/articles/229034948-How-Can-I-Identify-Unresponsive-Perfmon-Counters-in-Classic-Monitoring- 

To redeploy Lua because Lua has been identified at the issue please see this KB

https://helpdesk.kaseya.com/hc/en-gb/articles/115008573367-How-to-re-deploy-Monitorings-LUA 

If a result is retuned asking you to run "FixPerfmonCounters_Delete" please see this KB

https://helpdesk.kaseya.com/hc/en-gb/articles/229034688-Universal-Delete-of-Perfmon-Counters- 

This application will identify a number of reasons why the monitoring is not working that are not "Kaseya" issues but issues with the machine itself.

I have created this topic for customers to allow customers to share how they have fixed the various "Customer to resolve issues"

http://community.kaseya.com/xsp/f/27/t/21986.aspx

XML Version 2

Added support for EXE version 2.1 

Added support for workingDirs with spaces in them

EXE Version 2.1

Change log

2.1

Added a new Issue and how to resolve

 2.0

Added support for objects with spaces in them.  

Attachments

Have more questions?

Contact us

Was this article helpful?
8 out of 8 found this helpful

Provide feedback for the Documentation team!

Browse this section