cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to find when was the OneAgent upgraded in Dynatrace UI?

Godwin
Participant

Hii,

I want to know when was the oneagent on a particular server was upgraded. Please share the steps for how to check both on the UI side and also on the server side. 

 

Thanks,
Godwin.

9 REPLIES 9

Hi,

I don't think there is such property, but You can use Diagnostic (Run OneAgent diagnostics option on either host or process) - and retrieve logs that contain info about Oneagent version, updates as well as when process was restarted and what version was loaded during each restart. This will provide You better info as updating Oneagent (OS service) date might be different than updating oneagent within a process (done at first restart after updating OS agent*)

Bests
Michal

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

You can check here how to check OneAgent version from UI and command line.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

PierreGutierrez
Dynatrace Mentor
Dynatrace Mentor

Hi  @Godwin .
First, a particular server is a host in Dynatrace (local server OR node in Kubernetes).
I think it is only necessary to check the updated version of the UI (because always the version you see in the Dynatrace UI will be the version on the server).

There are several ways to validate the version of a OneAgent on the server. I will share 2 of the fastest and most useful ones.(You first need to identify the version you are looking for)

1.- From Deployment Status: 
     Deployment Status / filter by host group or name of host / Look Version OneAgent. 
     (Recommended disable check of Show new OneAgent)

PierreGutierrez_0-1712539130574.png


2.- From Host 
     Looking for the particular host, in properties

PierreGutierrez_1-1712539340156.png

 






 

If that is not enough and you still want to see it from the server, if necessary run oneagentctl with the --version parameter inside the server you want to see the version: https://docs.dynatrace.com/docs/shortlink/oneagent-update-linux#oneagent-command-line-interface 

PierreGutierrez_2-1712539452110.png

I hope to see it has been of help 💪.

Pierre Gutierrez - LATAM ACE Consultant - Loving Cats! Loving Technology !

Godwin
Participant

Hi,

I run the oneagentctl command ./oneagentctl --version, I got the output like the version number which I was able to look in the host properties in dynatrace UI. I want to know when it was updated can anyone please share If you know any steps to find that?

command: ./oneagentctl --version

output: 1.271.196.20231221-140757


Thanks,
Godwin.

Hi,

Are they configured to be auto-updated? Are you using some maintenance window for that?

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Hi Anton,

The required server was set to no automatic updates.

Hi,

I am not sure if that information is found in Dynatrace. You can check audit logs but I am not sure.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

@AntonPineiro,

Dates are only in logs as far as I know. The easiest way to get them is via Diagnose (as person verifying might not have access to app servers) as You will get OneAgent logs containing loaded version for Host as well as dates of new Lib being loaded into processes.

Yes, I was able to see the last updated date in the Oneagent diagonstics data. Thanks!!! 🤝

Featured Posts