I have grabbed it (windows permon epagent) from the communities site here, and installed it as a service on my windows VM server, it does report metrics for Memory, I can not get it to report on the logical disk % used, when i drop to DOS on the windows box and type in the command "typeperf "\LogicalDisk(C:)\% Free Space" it does give me values, however when i put it in my epapermon.properties file, it does not report values or appear on the Wily Console, properties file like this:
# If metric is not available it will not show up in the investigator tree
#added the next 2 manually:
Metric=\LogicalDisk(C:)\% Free Space
Metric=\LogicalDisk(D:)\% Free Space
I did also add the id that runs the epagent service intor the "Performance Monitor Users" group as well. any tips are appreciated.
Our environment is running at 9.5.3, and the Windows Perfmon Epagent that I grabbed from communities and created by created by Haruhiko Davis on May 30, 2012 6:47 is at:
Introscope Agent Release 22.214.171.124 (Build 470970)
7/21/15 02:17:49 PM PDT [INFO] [IntroscopeAgent] Using Java VM version "Java HotSpot(TM) Client VM 1.8.0_51" from Oracle Corporation
Any tips are Appreciated.
I used the EPAgent from the link (PerfMonEPA_07-2015.zip) provided by Sergio Morales on my laptop (Win7) and on a Virtual Server (2012 R2) from a client.
Both are reporting the data you wanted as you can see on the attached images.
I just added for my laptop more metrics since I have 4 Partitions.
Have you checked the logs for errors? If there's a colon ':' in the metric name it is an illegal metric name and Introscope won't generate metrics for it. I don't know if Haruhiko Davis's script replaces the ':' in the metric name.
You could also add:
Metric=\LogicalDisk(_Total)\% Free Space
which contains no ':' to test this. If you get metrics for _Total but not for C: then the ':' is most likely the culprit.
support provided me the the windows installer for the Permonagent via the GUI, worked fine and can see the permon metrics on the console.
It is called: IntroscopeDotNetAgentInstall64_126.96.36.199.zip
The Logfile shows no errors although do not have the logging to verbose.
In the epaperfmon.properties file, no “:” colons are in the Metric for logical disk…
Metric=\LogicalDisk(_Total)\% Free Space (not reporting)
Metric=\LogicalDisk(_Total)\Free Megabytes (not reporting)
Metric=\Memory\Available Bytes (reports values in Wily Console)
Metric=\Memory\Commit Limit (reports values in Wily Console)
Metric=\Memory\Pages/sec (reports values in Wily Console)
I can run the command from the DOS prompt with no problem:
C:\>typeperf "\LogicalDisk(C:)\% Free Space"
"(PDH-CSV 4.0)","DCSSDPM\LogicalDisk(C:)\% Free Space"
The command completed successfully.
Systems Performance Unit
Department of Child Support Services
That's fine, as long as you know that it also installed the .NET Agent.
If you don't need the .NET Agent portion, just follow the guide to disable it.
I'll look into this and get back to you.
I did the install from your readme and installed java and in turn then created the service, the Introscope EPagent service is running as “Local System”.
Also, the PerfmonCollector’s properties was originally at Windows XP I believe, made it compatible to Windows Server 2008, as this is the os of the vm box.
What was odd is when I first opened up a DOS prompt on the windows VM box, and typed in the “typeperf” command, it came back and stated that one has to be a member of the “Performance Monitor Users” Group. I added my id to that group and logged off and back on and then I could successfully run the typeperf command. Are there any other permissions that I may have missed? Since the service runs as “LocalSystem” I’d think it would have those rights…?
Thanks much for your time.
Before I get too deep in this, why aren't you using the PerfMonCollectorAgent that comes with the .NET agent? Any version 9.1+ will work.
All you need to do is:
You will get CPU and I/O stats with the default perfmon filter. This solution is completely supported and is not a FieldPack.
I used this one:
I did not know about the .net agent nor familiar with that, I will look in CA/support and see if I can find it to download….
I have the same problem using the mentioned package. I've made some changes, attached the new code, see screenshot,
However, I agree with Haruhiko, whenever possible, you should try to use an official product/tool/extension, in this case the .NET Agent.
I hope this helps,
The .NET Agent is standard with your CA APM maintenance agreement. Just go to CSO and download the agent files.
Since you're only interested in the PerfMon metrics, just follow the bookshelf guide for installing the agent manually and skip the section for setup of the .NET Agent.
You only need to register wily.Agent.dll in the GAC, then install the Windows service for the PerfMonCollectorAgent.
There are the bookshelf instructions for installing the .NET Agent manually.
Installing the .NET Agent - CA Application Performance Management - 9.6 - CA Wiki
I will open a ticket with support…
Thank you both for your Insight, yes, will go with the supported one, will work on it and reply back on my status this week.
Again, I appreciate your FEEDBACK guys!
Good Morning Haruhiko,
1) I have used the DonNetAgentFiles-NoInstaller.x188.8.131.52.zip files.
2) our w2k box did not have the GAC on it, and I ended up opening explorer on the c drive and was able to copy the wily.Agent.dll file to C:windows/assembly
3) successfully created the new service with the "sc" command "CA APM PerfMon Collector Service"
4) edited the IntroscopeAgent profile to point it the the Enterprise Manager.
5) edited the logging.conf file:
<file value="D:/CA/CANetAgent/wily/logs/IntroscopeAgent.log" />
6) started the Service.
7) Do not see it on the EM and also do not see and can not find any agent logfile!