How get a list of all APM agents version in 10.x
search cancel

How get a list of all APM agents version in 10.x


Article ID: 278107


Updated On:


CA Application Performance Management (APM / Wily / Introscope) DX Application Performance Management CA Application Performance Management Agent (APM / Wily / Introscope)


Is there any way to get a list of all the Agents and theirs versions?


APM 10.x


1. Copy the below snippet into the on the MOM and all collectors. This will write the output from the script AgentVersions.js into the file logs/agentVersions.log (instead of the default IntroscopeEnterpriseManager.log). You can change the path according to you environment.

# copythis snippet into your
# on the MOM and every collector

# change the file path according to your environment
log4j.appender.avlogfile1.layout.ConversionPattern=%d{M/dd/yy hh:mm:ss.SSS a z} [%-3p] %m%n

2. Copy the attached AgentVersions.js to EM_HOME/scripts/ on the MOM. The MOM will send it to the collectors.

3. Below is an example of the expected output in the agentVersions.log:

8/04/23 09:29:30.013 AM UTC [INFO] AgentVersions.js started with 3 agents
8/04/23 09:29:30.013 AM UTC [INFO] ,SuperDomain|..| tomcat | agent,Release ( 997200 ) 
8/04/23 09:29:30.014 AM UTC [INFO] ,SuperDomain|..| EPAgentProcess| EPAgent, Release ( 997200 ) 
8/04/23 09:29:30.014 AM UTC [INFO] ,SuperDomain|...| Jbos | agent,Release, ( 997200 ) 
8/04/23 09:29:30.014 AM UTC [INFO] AgentVersions.js finished

4. Delete the script on the MOM after the log file contains the line “AgentVersions.js finished”. Otherwise, it will continue running and writing to the log file.

Additional Information 


AgentVersions.js get_app