This is resolved, and I hope this helps someone in the future as it seems like this is a known issue that NagiosXI support has documentation for but does not publish anywhere easy to find and support should have known about right away.
Thank you for your feedback! I haven't been able to recreate the issue in-house. I upgraded Nagios XI 5.4.12 to 5.6.9, and my WMI checks didn't fail.
Before upgrade:
Code: Select all
[root@TEST_XI_CentOS_6 tmp]# cat /usr/local/nagiosxi/var/xiversion
###################################
# DO NOT DELETE THIS FILE!
# Nagios XI version information
###################################
full=5.4.12
major=5
minor=4.12
releasedate=2018-01-16
release=5412
[root@TEST_XI_CentOS_6 tmp]# which wmic
/usr/local/bin/wmic
[root@TEST_XI_CentOS_6 tmp]# ll /usr/bin/wmic
lrwxrwxrwx 1 root root 19 Oct 29 2018 /usr/bin/wmic -> /usr/local/bin/wmic
[root@TEST_XI_CentOS_6 tmp]# /usr/local/nagios/libexec/check_wmi_plus.pl --version
Version: 1.6
Windows WMI wizard ver. 2.2.0
After upgrade:
Code: Select all
[root@TEST_XI_CentOS_6 nagiosxi]# cat /usr/local/nagiosxi/var/xiversion
###################################
# DO NOT DELETE THIS FILE!
# Nagios XI version information
###################################
full=5.6.9
major=5
minor=6.9
releasedate=2019-12-10
release=5609
[root@TEST_XI_CentOS_6 nagiosxi]# which wmic
/usr/local/bin/wmic
[root@TEST_XI_CentOS_6 nagiosxi]# ll /usr/bin/wmic
lrwxrwxrwx 1 root root 19 Oct 29 2018 /usr/bin/wmic -> /usr/local/bin/wmic
[root@TEST_XI_CentOS_6 nagiosxi]# /usr/local/nagios/libexec/check_wmi_plus.pl --version
Version: 1.65
Windows WMI wizard ver. 2.2.0
example01.PNG
Also, I would like to point out that this particular document states:
IMPORTANT
Nagios XI 2012 and newer do not need these steps to be performed, the WMI client is installed by default.
I am not sure why wmic binary was not installed on your system... it should've been. Perhaps, there was an issue with the upgrade, or you were hitting some kind of "edge case" scenario. It is not a very common issue - I can find only a couple of users on the forum, reporting the same error ("This plugin requires the linux implementation of wmic eg from zenoss.") for the last 5 years.
Having said that, we will discuss the issue with our developers, and will do some more digging into it. It is possible that this is a bug. If we determine that it is, I will be filing an internal bug report on the issue, and let our developers fix it.
Again, thanks for your feedback!