WMI error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tbs-infrastructure
Posts: 26
Joined: Mon Apr 08, 2019 3:47 pm

WMI error

Post by tbs-infrastructure »

I was moving our current NagiosXI from Centos 6 to Ubuntu 18.04, the all process went without issues. However, after restore I've noticed that all the services that were using WMI do not work, in fact when I try to add a new Asset using WMI I get:

WMI Error Output:

UNKNOWN - The WMI query had problems. The error text from wmic is: [wmi/wmic.c:196:main()] ERROR: Login to remote object.

NTSTATUS: NT_STATUS_NET_WRITE_FAULT - NT_STATUS_NET_WRITE_FAULT

The same credentials were used on the centos 6 without any issues, further, if I run the following command:
wmic -U domain/username%password //njv-ts01 "Select * from Win32_ComputerSystem"

the output is:
CLASS: Win32_ComputerSystem
AdminPasswordStatus|AutomaticManagedPagefile|AutomaticResetBootOption|AutomaticResetCapability|BootOptionOnLimit|BootOptionOnWatchDog|BootROMSupported|BootStatus|BootupState|Caption|ChassisBootupState|ChassisSKUNumber|CreationClassName|CurrentTimeZone|DaylightInEffect|Description|DNSHostName|Domain|DomainRole|EnableDaylightSavingsTime|FrontPanelResetStatus|HypervisorPresent|InfraredSupported|InitialLoadInfo|InstallDate|KeyboardPasswordStatus|LastLoadInfo|Manufacturer|Model|Name|NameFormat|NetworkServerModeEnabled|NumberOfLogicalProcessors|NumberOfProcessors|OEMLogoBitmap|OEMStringArray|PartOfDomain|PauseAfterReset|PCSystemType|PCSystemTypeEx|PowerManagementCapabilities|PowerManagementSupported|PowerOnPasswordStatus|PowerState|PowerSupplyState|PrimaryOwnerContact|PrimaryOwnerName|ResetCapability|ResetCount|ResetLimit|Roles|Status|SupportContactDescription|SystemFamily|SystemSKUNumber|SystemStartupDelay|SystemStartupOptions|SystemStartupSetting|SystemType|ThermalState|TotalPhysicalMemory|UserName|WakeUpType|Workgroup
1|False|True|True|3|3|True|(0,0,0,0,0,0,0,0,0,0)|Normal boot|NJV-TS01|3|(null)|Win32_ComputerSystem|-240|True|AT/AT COMPATIBLE|NJV-TS01|intranet.totalbanksolutions.com|3|True|3|True|False|NULL|(null)|3|(null)|VMware, Inc.|VMware Virtual Platform|NJV-TS01|(null)|True|8|2|NULL|([MS_VM_CERT/SHA1/27d66596a61c48dd3dc7216fd715126e33f59ae7],Welcome to the Virtual Machine)|True|3932100000|1|1|NULL|False|0|0|3|(null)|Windows User|1|-1|-1|(LM_Workstation,LM_Server,NT,Server_NT)|OK|NULL|(null)|(null)|0|NULL|0|x64-based PC|3|17179332608|(null)|6|(null)

I was able to replicate this behavior on another instance of NagiosXI running Ubuntu 18.04.
tbs-infrastructure
Posts: 26
Joined: Mon Apr 08, 2019 3:47 pm

Re: WMI error

Post by tbs-infrastructure »

Issue solved.
You can close this.
Thanks,
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: WMI error

Post by jbrunkow »

Excellent! Thankyou for letting us know.

Please let us know if you have any more questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: WMI error

Post by cdienger »

Glad to hear!

Can you share what the problem and solution were?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked