I have service check for many servers to check if any windows updates are waiting to install.
Service just running powershell script.
After install updates and server restart, Nagios with service check showing that still updates are present to install.
But in fact there is no updates.
Additionally when i run the same script directly from windows machine then script showing that there is no updates.
To sum up running same script from nagios check service and directly from windows machine showing two different results.
But after few days also nagios showing correct info that there is no waiting updates.
Screens in attachment.
Clients are windows server 2012,2016,2019.
Code: Select all
System:
Nagios XI Version : 5.4.13
localhost.localdomain 2.6.32-696.3.2.el6.x86_64 x86_64
CentOS release 6.9 (Final)
Gnome is not installed
Vmware image, no proxy, no ssl