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

**URL:** <https://community.dynatrace.com/t/how-to-find-when-was-the-oneagent-upgraded-in-dynatrace-ui/45020>\
**Category:** Open Q&A\
**Tags:** dynatrace-saas, oneagent\
**Created:** [April 5, 2024, 9:42am UTC](https://community.dynatrace.com/t/how-to-find-when-was-the-oneagent-upgraded-in-dynatrace-ui/45020 "2024-04-05T09:42:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Godwin](https://avatars.discourse-cdn.com/v4/letter/g/e9bcb4/32.png) [@Godwin](https://community.dynatrace.com/u/Godwin)\
**Post date:** [April 5, 2024, 9:42am UTC](https://community.dynatrace.com/t/how-to-find-when-was-the-oneagent-upgraded-in-dynatrace-ui/45020/1 "2024-04-05T09:42:32Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![MichalOlszewski](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@MichalOlszewski](https://community.dynatrace.com/u/MichalOlszewski)\
**Post date:** [April 5, 2024, 11:02am UTC](https://community.dynatrace.com/t/how-to-find-when-was-the-oneagent-upgraded-in-dynatrace-ui/45020/2 "2024-04-05T11:02:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 7, 2024, 8:07pm UTC](https://community.dynatrace.com/t/how-to-find-when-was-the-oneagent-upgraded-in-dynatrace-ui/45020/3 "2024-04-07T20:07:59Z")

</div>

Hi,

You can check [here](https://docs.dynatrace.com/docs/shortlink/oneagent-update-linux#check-installed-version-of-oneagent) how to check OneAgent version from UI and command line.

Best regards

---

<div class="post-metadata">

**Author:** ![PierreGutierrez](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pierregutierrez/32/5934_2.png) [@PierreGutierrez](https://community.dynatrace.com/u/PierreGutierrez)\
**Post date:** [April 8, 2024, 1:24am UTC](https://community.dynatrace.com/t/how-to-find-when-was-the-oneagent-upgraded-in-dynatrace-ui/45020/4 "2024-04-08T01:24:50Z")

</div>

Hi&nbsp;&nbsp;[@Godwin](https://community.dynatrace.com/user/67213)&nbsp;.  
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:&nbsp;  
&nbsp; &nbsp; &nbsp;Deployment Status / filter by host group or name of host / Look Version OneAgent.&nbsp;  
&nbsp; &nbsp; &nbsp;(Recommended disable check of Show new OneAgent)

 ![PierreGutierrez_0-1712539130574.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/0/60c2780caf52ad476ed157ac6dc507d92d9ad326.png)

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

 ![PierreGutierrez_1-1712539340156.png](https://global.discourse-cdn.com/dynatrace/original/2X/4/4b93e691b2ade37769539a3905ab7bde222d8c6a.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:&nbsp;[Update OneAgent on Linux — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/oneagent-update-linux#oneagent-command-line-interface)

 ![PierreGutierrez_2-1712539452110.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/4/f4255cdc506fae3636f8acdb22e3ae8080f8113c.png)

I hope to see it has been of help&nbsp;💪.

---

<div class="post-metadata">

**Author:** ![Godwin](https://avatars.discourse-cdn.com/v4/letter/g/e9bcb4/32.png) [@Godwin](https://community.dynatrace.com/u/Godwin)\
**Post date:** [April 8, 2024, 8:19am UTC](https://community.dynatrace.com/t/how-to-find-when-was-the-oneagent-upgraded-in-dynatrace-ui/45020/5 "2024-04-08T08:19:51Z")

</div>

Hi,

I run the oneagentctl command&nbsp; **./oneagentctl --version,** &nbsp;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** :&nbsp;./oneagentctl --version

**output** :&nbsp;1.271.196.20231221-140757

Thanks,  
Godwin.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 8, 2024, 8:30am UTC](https://community.dynatrace.com/t/how-to-find-when-was-the-oneagent-upgraded-in-dynatrace-ui/45020/6 "2024-04-08T08:30:27Z")

</div>

Hi,

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

Best regards

---

<div class="post-metadata">

**Author:** ![Godwin](https://avatars.discourse-cdn.com/v4/letter/g/e9bcb4/32.png) [@Godwin](https://community.dynatrace.com/u/Godwin)\
**Post date:** [April 8, 2024, 8:34am UTC](https://community.dynatrace.com/t/how-to-find-when-was-the-oneagent-upgraded-in-dynatrace-ui/45020/7 "2024-04-08T08:34:40Z")

</div>

Hi Anton,

The required server was set to no automatic updates.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [April 8, 2024, 9:16am UTC](https://community.dynatrace.com/t/how-to-find-when-was-the-oneagent-upgraded-in-dynatrace-ui/45020/8 "2024-04-08T09:16:04Z")

</div>

Hi,

I am not sure if that information is found in Dynatrace. You can check [audit logs](https://docs.dynatrace.com/docs/shortlink/audit-logs) but I am not sure.

Best regards

---

<div class="post-metadata">

**Author:** ![MichalOlszewski](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@MichalOlszewski](https://community.dynatrace.com/u/MichalOlszewski)\
**Post date:** [April 8, 2024, 12:23pm UTC](https://community.dynatrace.com/t/how-to-find-when-was-the-oneagent-upgraded-in-dynatrace-ui/45020/9 "2024-04-08T12:23:44Z")

</div>

[@AntonPineiro](https://community.dynatrace.com/user/58682),

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.

---

<div class="post-metadata">

**Author:** ![Godwin](https://avatars.discourse-cdn.com/v4/letter/g/e9bcb4/32.png) [@Godwin](https://community.dynatrace.com/u/Godwin)\
**Post date:** [April 8, 2024, 3:11pm UTC](https://community.dynatrace.com/t/how-to-find-when-was-the-oneagent-upgraded-in-dynatrace-ui/45020/10 "2024-04-08T15:11:10Z")

</div>

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