Internal Health check task hanging up

The health Check task that is triggered internally in octopus is hanging up.
I get below exception on one of the tentacle.

Running As: Domain\SYSTEM (Local Administrator: True)
Get-WmiObject : Invalid query “select * from win32_LogicalDisk”
At D:\Octopus\Work\20201117123159-195\Bootstrap.ps1:34 char:3

  •     Get-WmiObject win32_LogicalDisk -ErrorAction Stop  | ? {  ($_.DriveType -eq 3)  ...
    
    + CategoryInfo          : InvalidArgument: (:) [Get-WmiObject], Management 
    + FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.
   Commands.GetWmiObjectCommand
The remote script failed with exit code 1

* what does the above error mean?
* when does the health check trigger for all the tentacles?
* How to control the frequency of internal checks?


Thanks,
Sarada

Hi Sarada,

Thank you for contacting Octopus Support.

To answer your questions:

  • This error typically points to a Windows issue
  • Health Check frequency depends on your Machine Policies
  • You may do this via Infrastructure -> Machine Policies -> Time Between Checks

Regarding the error. I would suggest running through Microsoft’s WMI Troubleshooting guide:

Let me know if you have any additional questions.

Regards,
Donny

Our VERSION is 3.3.2 and there is no such machine policies. is there any other way to change this setting in the version we are using?

Hi Sarada,

Thank you for getting back to me.

Unfortunately, we are limited in our ability to support Octopus versions prior to 2018.X as we no longer keep support documentation for those versions. However, according to our blog, it looks like the machine policies were introduced in version 3.4:

If this is functionality you need, I would suggest considering upgrading to a more recent version of Octopus.

Let me know if you have any additional questions.

Regards,
Donny

ok, thanks Donny.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.