TECHZEN Zenoss User Community ARCHIVE  

ZenPacks.zenoss.Microsoft.Windows-2.4.8.egg - Performance counters missing

Subject: ZenPacks.zenoss.Microsoft.Windows-2.4.8.egg - Performance counters missing
Author: [Not Specified]
Posted: 2015-09-02 06:42

Hi All,

I am monitoring few Perfromance Counters using the Microsoft Zenpack. Its working as expected but for few perfromance counters I can see below error in logs.

2015-08-31 19:03:36,539 WARNING 25 missing counters for - see debug for details
2015-08-31 19:03:36,539 DEBUG 25 missing counters for \process(*)\working set, \physicaldisk(*)\% disk time, \process(*)\private bytes, \ applications(*)\requests/sec, \physicaldisk(*)\disk transfers/sec, \web service(*)\bytes received/sec, \process(*)\virtual bytes peak, \logicaldisk(*)\% idle time, \process(*)\virtual bytes, \physicaldisk(*)\avg. disk sec/transfer, \web service(*)\total connection attempts (all instances), \network interface(*)\packets/sec, \paging file(*)\% usage, \network interface(*)\bytes total/sec, \web service(*)\current connections, \processor(*)\% processor time, \process(*)\% processor time, \process(*)\page faults/sec, \process(*)\page file bytes, \process(*)\page file bytes peak, \web service(*)\bytes sent/sec, \process(*)\working set peak, \processor(*)\interrupts/sec, \web service(*)\get requests/sec, \physicaldisk(*)\current disk queue length

But when i do perform on the windows server and check the performance of these counters it exists and has value in it. Please let me know if I am missing something

Thank you

Subject: Performance Counters
Author: Dave Bouchillon
Posted: 2015-09-03 11:28

Hi Gowrish, I also helped Tim answer this on your Zendesk ticket, but it would be good to have this information here as well.

The reason you are seeing missing counters is because you are specifying wildcards in the counter name, which will return the counters for all processes, disks, network interfaces, etc. The way that the Windows Perfmon datasource works is that we are looking for exact names for the counters.

So, when you try to get the counter "\physicaldisk(*)\current disk queue length", what is returned from Windows will be something like this: "\physicaldisk(0 c: q:)\current disk queue length", etc. But, there is no counter returned with the name "\physicaldisk(*)\current disk queue length".

In most instances, you can use a TALES evaluation to pull in the id of the component that you are monitoring, ${here/id}.

We are already polling some of these counters. For instance we are looking at the "working set" of a process. See the wiki on how to monitor a process.


Subject: Thank you heeps Dave. This
Author: [Not Specified]
Posted: 2015-09-04 03:56

Thank you heeps Dave. This helps a lot. I will make the necessary changes.

Thank you,

< Previous
How to add a button to a .pt in a ZenPack which executes device code?
Zenoss 3 -> 4.2.5 ZenPacks : Error with Product.Jobber.status