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

Timeout during wmi connect

rastislav_danis
DynaMight Pro
DynaMight Pro

Hi,

customer has several remote winOS vms for remote wmi monitoring, that responds slowly. Wbemtest utility shows 15+ seconds until connection is made. Remote Windows Extension apparently doesn't wait so long so it treats such devices with "access denied" error message in log. What exactly is time limit of WMI data source in extension 2.0 that needs to be fulfilled? Is there an option to extend this limit?

Thanks

Alanata a.s.
11 REPLIES 11

Peter_Youssef
Champion

Hello @rastislav_danis 

If possible to review the attached resources:

2024-10-16_12h00_31.png

2024-10-16_12h04_27.png

Hoping it adds value.

KR,

Peter.

 

Hi Peter

thanks for sources, i was just wondering if wmi data source in ext 2.0 has some built in timeout limit. As i said wbemtest utility connects well (even from AG vm, that is used for this extension). Problem is probably in some network stuff, wbemtest wait for response, but extension probably not.

Alanata a.s.

Hi @rastislav_danis 

Might be network or FW settings, so kindly join a call with NW or FW team to pinpoint the RC.

  • find a stable configuration and try to simulate and apply the same.

There is  solution should be applied on the target endpoints not on the AG: 

BR,

peter.

Sorry, but i was asking about capability (timeout value) of extensions 2.0 wmi data source. Endpoint is ok obviously. And also i'm not trying to solve customer's reasons of such slow responses.

Alanata a.s.

Peter_Youssef
Champion

Hi @rastislav_danis 

  • If it possible to check the configurations listed in the attached Activegates directories regarding WMI extension.
  • Access denied : check the assigned permissions.
    Linux

2024-10-16_12h07_23.png

Windows

2024-10-16_12h09_21.png

BR,

Peter

p_devulapalli
Champion

Hi @rastislav_danis , I think the default timeout is 10 sec. Can you please try adding timeout attribute under wmiRemote and see if that helps ?

 

"wmiRemote": {
      "devices": [
        {
          "host": "x.x.x.x",
          "user": "DOMAIN\\Administrator",
          "password": "Pass",
          "timeout": 30
        }
      ]
    },

 

Phani Devulapalli

Hi, nice try but unfortunately it's not possible:

rastislav_danis_0-1729077988784.png

 

Alanata a.s.

Hi @rastislav_danis 

You can define the timeout in the schema, so when you perform check it won't fail.

BR,

When i add timeout parameter to schema will it actually work as overrride to default?

Alanata a.s.

Yes, it should.

rastislav_danis
DynaMight Pro
DynaMight Pro

Timeout is probably 10s as @p_devulapalli suggested. I was not able to extend it and in the end it seems ok, that such slow reponsing devices are not included in monitoring.

Alanata a.s.

Featured Posts