27 May 2025
02:07 PM
- last edited on
30 Dec 2025
04:08 PM
by
GosiaMurawska
Hi all,
is there a way to check in advance whether there is or not sufficient disk space on a host before updating oneagent?
So before scheduling oneagent updates you can well in advance provide additional space if needed and prevent the following message:
Thanks
Paolo
Solved! Go to Solution.
07 Jun 2025 09:51 AM - edited 07 Jun 2025 09:56 AM
You can check the free disk space with metric explorer (builtin:host.disk.free) or DQL (dt.host.disk.free) but IMO in order to be more efficient, you can set up a workflow that will check the free disk space on every host and if there is enough space it will set the the auto update flag to true with OneAgent auto-update API - PUT configuration another workflow can be run later on to check if the OA version is the latest one and switch off the the auto update flag to be ready for the next update.
HTH
Yos
09 Jun 2025 09:07 AM
Hi, thanks for your suggestion, next question for this solution is on which disk should I check it? is "/opt" the right one? According to doc https://docs.dynatrace.com/docs/shortlink/oneagent-disk-requirements-linux#updates
/opt/dynatrace and /var/lib/dynatrace directories are involved.
Thanks
Featured Posts