Hi CA APM Team,
Is there an agent we can install in a server to measure the memory,disk and cpu usage?
Thanks in advance.
Is this the name of the agent?
You can use the Standalone PP to install EPA, or the individual EPA package available on CSO.
In both cases, it does not come with Tanuki Java wrapper to run it as a Windows service. You can download a free copy from the Tanuki Software's website.
Did you mean here that there is no Window Service included in running the EPA agent ?
Yes that is correct.
You will also be responsible for installing a compatible JRE for EPA to use.
Do a search on the community; I posted about this a while ago about how to setup EPA on Windows.
If you haven't done so, please check out the youtube video about installing/configuring EPAgent. An example in the video to setup a Windows diskStats.pl plugin I think will help you better understand how to go about using EPAgent.
CA APM r9.5: Configuring and Using EP Agent - YouTube
I encountered an error while running the EPA agent..
[EPAgent.EPAgent DISK] Error starting plugin process: Cannot run program "perl": CreateProcess error=2, The system cannot find the file specified
Please let me know what to do
Is the reason why this happening is there is no PERL in the server?
Is that a pre re quisite for monitoring the performance of Windows Server?
That's because the plug-in you're running is a Perl program (.PL).
If you read the EPA guide, it states that you will need to have Perl 5.6 or higher installed to use the default plug-ins.
If you want to use a different language, you will have to write your own plug-ins for EPA to use. EPA does not care what language you use, just that it can be called by the plug-in.
i need to installed that Perl? in what PL script can i have the CPU and Memory Usage of the server?
There is not OOTB Perl program that does all of those things.
You will need to use multiple plug-ins (which is acceptable) or write your own that all of them at once.
CA does not provide a plug-in for Windows other than disk and process monitoring. If installing Perl on your Windows server is not an option, consider using VBScript or PowerShell. In both cases, you will need to write your own.
I don't know how much time I have to help write something, but it's fairly easy task using either language. the biggest thing is getting the output to a format readable by EPA. I would recommend using the XML format for the output since it gives the most flexibility. All of this is documented on the guide.
Apologies for asking those questions as im not that good in programming
If thats the case we need to install the PERL script to be able to run EPAGent.
I will look in the internet if there is any code that i can reuse to fits what ever i need to do,
But i just want to say thank you for your support.
If you can install Perl, I recommend Strawberry Perl.
Perl is an interpreted language so it needs to be compiled before executing.
Let me recheck my plug-ins directory to see if I have any other ones written for Windows.
I have another question for you: are you running Java on Windows or .NET?
If you're running .NET, this agent comes with PerfMonCollectorAgent which can get all of the metrics you need for what you're asking. You could just install the PerfMon agent on its own following the directions in the .NET agent guide for manual installation.
Below java is installed in the server. Can i used the java agent?
Java(TM) SE Development Kit 6 Update 25 22.214.171.124
You cannot use the Java agent to retrieve metrics. You can, however, use Java to write a plug-in for EPA.
Thanks for the advice but as i said im not good in programming i dont know how to create one.
If you have a scratch item there, i can learn from it.
If a server has a .NET framework does it mean that .NET agent is good to used in that server?
You only need to install the .NET to monitor .NET applications on IIS or standalone.
You can manually install the PerfMonCollectorAgent without having to install the .NET agent portion. Please read the guide on how to install the agent.
I installed the PERL strawberry in my server. vmstat.pl is the script to measure the CPU utilization?