DX Application Performance Management

 View Only

How to List your Agent Versions 

Aug 16, 2013 02:46 PM

To use the command line workstation to list the versions of all agents reporting to your cluster.


On the MOM get into the <EM>/lib directory


run the command

java -Xmx128M -Duser=admin -Dhost=localhost -Dport=5001 -jar CLWorkstation.jar get historical data from agents matching (.*) and metrics matching (Agent Stats:Build and Release) for past 1 minute with frequency of 60 seconds > agent_versions.csv


The output is CSV formatted, so just load it up in exel (in this example from the file agent_versions.csv


If you would like to also get the number of metrics reported for each agent...

java -Xmx128M -Duser=admin -Dhost=localhost -Dport=5001 -jar CLWorkstation.jar get historical data from agents matching (.*) and metrics matching (Agent Stats:.*) for past 1 minute with frequency of 60 seconds > agent_versions.csv

Statistics
0 Favorited
4 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Mar 08, 2019 08:57 AM

Just to add a caveat to this thread. Because the Build and Release metric is a string metric it is not persisted in SmartStor and so can only be retrieved for agents that are currently active - hence the need to use "for past 1 minute with frequency of 60 seconds" 

 

thanks

Mike

Mar 06, 2019 11:08 AM

anthonio.raynaldi

its means

wilyadmin@hosname:/opt/CA/APM/10.x.x.x/lib> ls
CLWorkstation.jar IntroscopeJDBC.jar

 

wilyadmin@hosname:/opt/CA/APM/10.x.x.x/lib>JAVA_HOME/jre/bin/java -Xmx128M -Duser=admin -Dhost=localhost -Dport=5001 -jar CLWorkstation.jar get historical data from agents matching (.*) and metrics matching (Agent Stats:Build and Release) for past 1 minute with frequency of 60 seconds > agent_versions.csv

 

make sure you are using correct Java path

Mar 06, 2019 12:02 AM

"On the MOM get into the <EM>/lib directory"

 

can you explain a bit more Specific where it is on?

Aug 16, 2013 07:01 PM

This is a great idea to list some commonly used commands!

-Hiko

Related Entries and Links

No Related Resource entered.