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

Oneagent update - check disk space in advance

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:

paolo_fumanelli_0-1748351103015.png

Thanks
Paolo

 

2 REPLIES 2

Yosi_Neuman
DynaMight Guru
DynaMight Guru

Hi @paolo_fumanelli 

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 

dynatrace certificated professional - dynatrace master partner - Matrix Soft Ware Division - Israel

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