Go to All Forums

How to install specific version of APM inisght agent for java?

I am looking for a way to get a list of packages/versions of APM inisght agent for java? because I would like to pin the 
version.

Like (1) Reply
Replies (3)

Hi Saida,

Greetings from Site24x7.
By default, only the latest version of the Java agent is available for download and installation from our servers. However, you can view details of previously released agent versions here.
Additionally, please provide more details about your requirement, I’d be happy to assist.
 
Regards,
Jenzo
Site24x7
Like (0) Reply

To install a specific version of APM Insight Java Agent (commonly used in tools like ManageEngine Applications Manager, Site24x7, or New Relic depending on your context), you need to manually download and configure the agent.

Like (0) Reply

We solved this with a script which is running every day.
It downloads the APM agent, unzip, checks the version, appends the version to the apm zip file and save it on a local server.
we pull the file via an internal webserver in our pipeline.
At the end we have our own repository for all the APM agent versions.
But i think site24x7 should offer such an archive.

Powershell example:

# download
powershell -Command "Invoke-WebRequest -Uri https://staticdownloads.site24x7.eu/apminsight/agents/apminsight-javaagent.zip -OutFile .\apm_temp\apminsight-javaagent.zip"

# unzip
powershell -Command "Expand-Archive -Force -Path .\apm_temp\apminsight-javaagent.zip -DestinationPath .\apm_temp"

# extract Version
for /f "tokens=6" %%i in ('<java_path>java -jar apm_temp\apminsight-javaagent.jar -v ^| findstr "version:"') do set "version=%%i"

echo Downloaded APM Version %version%

if exist <dest>\apminsight-javaagent_%version%.zip (
    # version already exists
 rmdir /Q /S apm_temp
 exit /b 1
) else (
    # copy new version 
 copy /Y apm_temp\apminsight-javaagent.zip <dest>\apminsight-javaagent_%version%.zip
 copy /Y apm_temp\apminsight-javaagent.zip <dest>\apminsight-javaagent_latest.zip
 rmdir /Q /S apm_temp
 exit /b 0
)

Kind regards,
Torsten

Like (0) Reply

Was this post helpful?