Page 2 of 2

Re: WMI Error

Posted: Thu Dec 22, 2016 11:05 am
by chillipepper
CentOS release 6.8 (Final)
LSB_VERSION=base-4.0-ia32:base-4.0-noarch:core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
CentOS release 6.8 (Final)
CentOS release 6.8 (Final)
[root@xxx-monitor ~]# uname -a
Linux xxx-monitor 2.6.32-642.el6.i686 #1 SMP Tue May 10 16:13:51 UTC 2016 i686 i686 i386 GNU/Linux
[root@xxx-monitor ~]# cat /usr/local/nagiosxi/html/includes/configwizards/windowswmi/windowswmi.inc.php | grep "CONFIGWIZARD_VERSION"
CONFIGWIZARD_VERSION => "2.0.7",

Re: WMI Error

Posted: Thu Dec 22, 2016 11:07 am
by chillipepper
CentOS release 6.8 (Final)
LSB_VERSION=base-4.0-ia32:base-4.0-noarch:core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
CentOS release 6.8 (Final)
CentOS release 6.8 (Final)
[root@xxx-monitor ~]# uname -a
Linux xxx-monitor 2.6.32-642.el6.i686 #1 SMP Tue May 10 16:13:51 UTC 2016 i686 i686 i386 GNU/Linux
[root@xxx-monitor ~]# cat /usr/local/nagiosxi/html/includes/configwizards/windowswmi/windowswmi.inc.php | grep "CONFIGWIZARD_VERSION"
CONFIGWIZARD_VERSION => "2.0.7",

Re: WMI Error

Posted: Thu Dec 22, 2016 2:38 pm
by mcapra
The only way i've been able to reproduce this is by submitting service/process checks without the Display Name field filled in:
2016_12_22_13_36_05_Configuration_Nagios_XI.png
I would suggest deleting the existing configuration (via the Core Config Manager), running through the WMI wizard again, and verifying there aren't any missing fields. It could be that a service/process's display name isn't being properly filled in. Can you share a screenshot of the wizard at this stage?

Re: WMI Error

Posted: Fri Dec 23, 2016 12:20 pm
by chillipepper
Here's the screenshot it is populating the display name so that shouldn't be a problem.

Re: WMI Error

Posted: Tue Dec 27, 2016 3:09 pm
by mcapra
Can you run the following command and share the resulting /tmp/wmiwizard_41668.zip file?

Code: Select all

zip -r /tmp/windowswmi_41668.zip /usr/local/nagiosxi/html/includes/configwizards/windowswmi/
As a temporary work-around, you should be able to alter the service_description from the Core Config Manager directly and plug in "DNS Client" into the offending object definition:
2016_12_27_14_08_05_CCM_Nagios_XI.png
2016_12_27_14_07_17_CCM_Nagios_XI.png