DX Application Performance Management

Expand all | Collapse all

Windows Perfmon EPAgent:

  • 1.  Windows Perfmon EPAgent:

    Posted 07-24-2015 10:20 AM

    Hello,

     

    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

    Metric=\Memory\Available Bytes

    Metric=\Memory\Commit Limit

     

    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 8.0.2.0 (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.

     

    Regards,

    Pat O'Connor



  • 2.  Re: Windows Perfmon EPAgent:

    Posted 07-27-2015 09:36 AM

    Hello Patrick,

    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.

     

    Best regards,

    HaroldWin7-Perfmon.PNG

    Win2012r2-Perfmon.PNG



  • 3.  Re: Windows Perfmon EPAgent:

    Broadcom Employee
    Posted 07-24-2015 12:16 PM

    Hi Patrick,

     

    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.

     

    Ciao,

    Guenter



  • 4.  Re: Windows Perfmon EPAgent:

    Posted 07-29-2015 11:19 AM

    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_9.5.3.0.zip



  • 5.  Re: Windows Perfmon EPAgent:

    Posted 07-24-2015 12:45 PM

    Hello Guenter!

     

    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"

    "07/24/2015 09:36:25.240","8.180519"

    "07/24/2015 09:36:26.240","8.180519"

    "07/24/2015 09:36:27.240","8.180519"

    The command completed successfully.

     

    Regards,

    Pat O’Connor

    Systems Performance Unit

    Department of Child Support Services

    (916) 464-7064



  • 6.  Re: Windows Perfmon EPAgent:

    Broadcom Employee
    Posted 07-29-2015 11:21 AM

    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.



  • 7.  Re: Windows Perfmon EPAgent:

    Broadcom Employee
    Posted 07-24-2015 12:55 PM

    I'll look into this and get back to you.



  • 8.  Re: Windows Perfmon EPAgent:

    Posted 07-29-2015 11:47 AM

    Thank you.

     

    Pat

     

     

    Regards,

    Pat O’Connor

    Systems Performance Unit

    Department of Child Support Services

    (916) 464-7064



  • 9.  Re: Windows Perfmon EPAgent:

    Posted 07-24-2015 02:07 PM
      |   view attached

    Also….

     

    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.

    Pat

     

    Regards,

    Pat O’Connor

    Systems Performance Unit

    Department of Child Support Services

    (916) 464-7064



  • 10.  Re: Windows Perfmon EPAgent:

    Broadcom Employee
    Posted 07-24-2015 02:27 PM

    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:

    1. Register wily.Agent.dll in the GAC utsing GACUTILS.EXE
    2. Register the collector agent service using INSTALLUTIL.EXE
    3. Configure your filterpattern for the service in IntroscopeAgent.profile
    4. Start the service

     

    You will get CPU and I/O stats with the default perfmon filter. This solution is completely supported and is not a FieldPack.



  • 11.  Re: Windows Perfmon EPAgent:

    Posted 07-24-2015 04:21 PM

    Hello,

     

    I used this one:

     

    https://communities.ca.com/docs/DOC-98214462

     

    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….

     

     

     

     

    Regards,

    Pat O’Connor

    Systems Performance Unit

    Department of Child Support Services

    (916) 464-7064



  • 12.  Re: Windows Perfmon EPAgent:

    Broadcom Employee
    Posted 07-27-2015 05:22 AM

    Hi Patrick,

    I have the same problem using the mentioned package. I've made some changes, attached the new code, see screenshot,

    https://communities.ca.com/docs/DOC-231158523

     

    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,

    Regards,

    Sergio



  • 13.  Re: Windows Perfmon EPAgent:

    Broadcom Employee
    Posted 07-27-2015 04:58 AM

    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.



  • 14.  Re: Windows Perfmon EPAgent:

    Broadcom Employee
    Posted 07-27-2015 05:00 AM

    There are the bookshelf instructions for installing the .NET Agent manually.

    Installing the .NET Agent - CA Application Performance Management - 9.6 - CA Wiki



  • 15.  Re: Windows Perfmon EPAgent:

    Posted 07-28-2015 12:52 PM

    I will open a ticket with support…

     

     

    Regards,

    Pat O’Connor

    Systems Performance Unit

    Department of Child Support Services

    (916) 464-7064



  • 16.  Re: Windows Perfmon EPAgent:

    Posted 07-27-2015 10:23 AM

    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!

     

     

    Regards,

    Pat O’Connor

    Systems Performance Unit

    Department of Child Support Services

    (916) 464-7064



  • 17.  Re: Windows Perfmon EPAgent:

    Posted 07-28-2015 11:41 AM

    Good Morning Haruhiko,

     

    1) I have used the DonNetAgentFiles-NoInstaller.x64.9.5.3.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!

     

    thoughts?

     

    Regards,

    Pat