Problem
WMI counters visible in Perfmon but not WUG
Offline

I'm trying to add WMI counters for MS AppFabric running on a cluster of servers. If I access Perfmon on the AppFabric servers, or browse to them using Perfmon on the WUG servers, I see the counters and can create graphs. However, when I try to add a Performance Monitor for them, I see nothing.
Any idea why the counters would not show up in WUG?
Perfmon showing AppFabric counters for af1001:
WUG with no AppFabric counters for af1001:
-----
- 2,860 views
- 4 versions
- 25 replies
- 3 followers
Labels:
- Post Date:
- January 23, 2012
- Posted By:
- Marc Bergeron
About this forum
- 142k views
- 2222 topics
- 55 followers
Post questions and find answers for all things related to the Standard and Premium Editions of WhatsUp gold.
Viewed 2,860 times
Page Options
25 Replies
Moved to the appropriate forum.
My immediate guess is that those performance counters were not registered properly by the application when installed and therefore are not available via WMI. Just because you can see the counters using perfmon, doesn't mean that they are available through WMI. Try using the steps below to see if they are in fact registered with WMI.
I found the counters at Win32_PerfRawData_MicrosoftApplicationServerCachingEventDefinitions_AppFabricCachingHost, Win32_PerfRawData_MicrosoftApplicationServerCachingEventDefinitions_AppFabricCachingCache, etc.
What's next?
Hey Marc,
The quickest path to resolution here would be to call into support. I just checked and the queue is pretty empty right now, which means you should get through rather quickly. Their number is 1-678-287-0700.
If that isn't an option, I will do some more research to see what I can come up with. Just let me know either way.
Thanks
I called support, but because this is an Eval, they're having me go through my account rep. I'll post any solution here once I get some help.
Sorry Marc, I didn't realize you were evaluating. I will do some more digging on my end as well.
Have you heard anything back yet? If not, here are a couple more things...
When you found the listings for the counters, did you go through the next couple of steps? Double-clicking the listing and then opening the instances. What were the results in the instances window?
What is the processor architecture on both the WUG machine and the target machine (32bit or 64bit)?
Windows 2008 R2 x64
I'm not very familiar with WBEMTEST, so forgive me if I require very specific steps in order to get the data you're looking for.
What I did was double-clicked Win32_PerfRawData_MicrosoftApplicationServerCachingEventDefinitions_AppFabricCachingHost in the Query Result window. Then, I selected "CacheMissPercentage" in the Properties and clicked the Instances button. This returned 1 object: Win32_PerfRawData_MicrosoftApplicationServerCachingEventDefinitions_AppFabricCachingHost=@.
Are both machines Win 2008 64bit? And no worries about not being familiar with WBEMTEST, I am actually learning a lot more about it as we are going through this.
Yes, 64-bit across the board.
I think that might be the cause of the issue. Although WUG will install and runs just fine on 64bit machines, it is still a 32bit app. I am attaching a Jscript file that I would like for you to run on the WUG machine. This script will basically run the same WMI query used by WUG and output the visible WMI Classes. Lets see what this returns and go from there. After downloading the attachment and putting it on the WUG machine (I recommend at the root of C for easy typing), follow these steps on the WUG machine:
Attachments
Here it is.
Attachments
Ok, so I am learning more and more as we go. Thanks for the challenge Marc. Now back to the issue at hand...
Ok, not sure if you looked or not, but the classes that we are looking for did not show up in the file. This means that those classes are not accessible by 32bit applications. If you were to run the same script, using the 64bit version of cscript.exe you would get different results and would see those counters returned. This is why they show up in Perfmon and when running WBEMTEST. Another way of proving this would be to run Perfmon from a 32bit system and access the target machine. Just like in WUG, you won't see the counters listed.
So what doesa all of this mean? Well, unfortunately, there isn't much we can do from the WUG side of things. This is an issue with the vendor that created the classes, which I think in this case is actually Microsoft. This doesn't mean that you can't monitor these counters in WUG though, but it does mean it will take a little work to actually accomplish it.
Basically you would need 2 components.
Any plans to make WUG a true 64-bit application, or at least have a 64-bit polling engine?
Thanks for taking the time to look into this.
No problem. As I mentioned, I learned some new things as well.
So with the way things are going, we are going to have to eventually convert. That being said, it isn't something that is on the immediate roadmap, as there are not a lot of gains on the applications or users behalf in doing so. That makes it really hard to justify the time expense.
Hope you have a great weekend.
Hello i have a similar problem. Basically, i can see performace monitors for SQL on WhatsUp Server an only another server. However i can´t se the SQL Server counters on 4 Server. I callled the support and they told me that is microsoft issue. However, i can open performance monitors from windows on all machines. I was wondering if you could help me with this issue.
Thanks In advance,
Best Regards
Can you send me the case number from when you contacted support?
Take a look at this thread and see if this is the same issue that you are experiencing: Failed to load - WMI Performance Monitor
Hi, all I have the same problem in my environment. After a long search I found the following hint which I use when I run in this problem. There is no copy/paste error for the wmiadap command. Pls run it several times.
net stop winmgmt /y
del %windir%\system32\Wbem\Repository\*.*
net start winmgmt
Wmiadap /f
Wmiadap /f
Wmiadap /f
Wmiadap /f
Wmiadap /f
Wmiadap /f
I do have a similar issue.
Installed Steelbelted Radius (32bit app) on win2k8 R2. On the local machine it is possible to read WMI values for SBR.
When i setup Whatsup to get the requested perf counter, I only can get the Counter name. The values do always show:
Any ideas?
winmgmt /resyncperf did not solve the issue :(
@Ols - did you follow the steps listed above to run the EnumClasses.js file? These counters may not be accessible to 32bit applications.
This seems similar to a different issue with some Citrix WMI monitors. A fix is being worked on for the Citrix WMI monitors in v16 based on another thread. http://community.whatsupgold.com/forums/whatsupgoldeditionsstandardandpremiumeditions/performance-monitors-not-accessible
Would you like to comment?
You must be a member. Sign In if you are already a member.