05 Apr 2024 10:42 AM
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.
Solved! Go to Solution.
05 Apr 2024 12:02 PM
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
07 Apr 2024 09:07 PM
Hi,
You can check here how to check OneAgent version from UI and command line.
Best regards
08 Apr 2024 02:24 AM
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)
2.- From Host
Looking for the particular host, in properties
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
I hope to see it has been of help 💪.
08 Apr 2024 09:19 AM
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.
08 Apr 2024 09:30 AM
Hi,
Are they configured to be auto-updated? Are you using some maintenance window for that?
Best regards
08 Apr 2024 09:34 AM
Hi Anton,
The required server was set to no automatic updates.
08 Apr 2024 10:16 AM
Hi,
I am not sure if that information is found in Dynatrace. You can check audit logs but I am not sure.
Best regards
08 Apr 2024 01:23 PM
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.
08 Apr 2024 04:11 PM
Yes, I was able to see the last updated date in the Oneagent diagonstics data. Thanks!!! 🤝