Upgrade from 5.29 to 5.32 broke WMI
Posted: Sun Nov 13, 2016 1:03 am
After running upgrade using Admin section of Nagios Xi all my WMI checks show
upgraded from 5.29 to 5.32
end of update logs is
Warnings were for missing contacts that is intentional.
command line
returns
(some spell correction required
)
What is the fastest way to fix this?
Code: Select all
This plugin requires the linux implementation of wmic eg from zenoss.
Once wmic is installed, configure its location by setting the $wmic_command variable in '/usr/local/nagios/libexec/check_wmi_plus.conf'.end of update logs is
Code: Select all
Total Warnings: 1561
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Warning: nagios.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Fixing php-mcrypt bug...
No entry for terminal type "unknown";
using dumb terminal settings.
Nagios XI Upgrade Complete!
---------------------------command line
Code: Select all
/usr/local/nagios/libexec/check_wmi_plus.pl -H xxx.xxx.xxx.xxx -A /usr/local/nagios/etc/myfile.fil -m checkdrivesize -a 'C': -w '80' -c '95'Code: Select all
OK - C: Total=39.90GB, Used=28.31GB (71.0%), Free=11.59GB (29.0%) |'C: Space'=28.31GB; 'C: Utilisation'=71.0%;80;95; (some spell correction required
What is the fastest way to fix this?