cesbit / aiowmi

Python WMI Queries
GNU General Public License v3.0
27 stars 8 forks source link

WMIC Server Terminates with [FIN, ACK] on RemoteCreateInstance response #30

Closed jayrajsingh closed 1 year ago

jayrajsingh commented 1 year ago

Describe the bug When trying to make a WMIC call using check_wmi_plus (v1.68) the call is failing continuously with the below copied error message. "UNKNOWN - The WMI query had problems. We're not exactly sure what this error is. There was some kind of problem performing the WMI query on the target host (10.232.xx.xx). Wmic error text on the next line.

Problem with the wmi query on the target host. WBEM_E_UNKNOWN (2147944122)"

To Reproduce Steps to reproduce the behavior:

  1. Setup WMIC server on CentOS 7.6 and install Nagios with check_wmi_plus plug-in
  2. Trigger a check_wmi_plus command to query Windows node system properties (eg. CPU/RAM)
  3. Run the command "check_wmi_plus.pl -H 10.232.xx.xx -m checkmem -u UserName/Password -w 80 -c 90"
  4. See error

Expected behavior Expected to see a reponse with CPU/RAM utilization

Screenshots Error Screen-1

image

Error Screen-2

image

N/W Trace Screen-1 image

N/W Trace Screen-2 image

riklempens commented 1 year ago

@jayrajsingh does this issue still occur? If so can you verify firewall settings on the Windows host are correct? See our InfraSonar documentation on how to configure these: https://docs.infrasonar.com/collectors/probes/wmi/#firewall-requirements

riklempens commented 1 year ago

@jayrajsingh I am closing this issue, feel free to re-open if needed.