References > Template Reference > Microsoft Windows > Windows Update Monitoring

Windows Update Monitoring

This template allows you to check the status of Windows' updates. It monitors how many updates are available and how many updates are installed. It also checks if a reboot is required before or after the installation of updates. It also monitors the number of reboots that have passed since the last update is also monitored.

Prerequisites

WinRM must be installed and properly configured on the target server.

Credentials

Administrator on target server.

Configuring Windows Remote Management (WinRM)

Take the following steps to properly configure Windows Remote Management:

  1. If not already done so, install PowerShell 2.0 and WinRM on the SAM and target servers. PowerShell 2.0 can be found here: http://support.microsoft.com/kb/968930.
  2. On the SAM server, open a command prompt as an Administrator. To do this, go to the Start menu and right-click the cmd.exe and then select Run as Administrator.
  3. Enter the following in the command prompt:
    winrm quickconfig winrm set winrm/config/client @{TrustedHosts="*"}
  4. On the target server, open a command prompt as an Administrator and enter the following:
    winrm quickconfig winrm set winrm/config/client @{TrustedHosts="IP_ADDRESS"}
  5. where IP address is the IP address of your SAM server.

Monitored Components

For details on monitors, see SAM Component Monitor Types.

Available hidden updates

This component monitor returns the number of available hidden updates.

Available critical updates

This component monitor returns the number of available critical updates. This should always be zero.

Available optional updates

This component monitor returns the number of available optional updates.

Installed updates

This component monitor returns the number of installed updates.

Days passed from last Windows Update

This component monitor returns the number of days that have passed from the last Windows update installation. Additionally, this component returns the name of the last installed update.

Windows Updates activity status

This component monitor returns the installation status of Windows update.

Possible values:

  • 0 – Windows currently is not installing updates.
  • 1 – Windows currently is installing updates.

Machine restart status before installing Windows Updates

This component monitor shows the restart status before installing Windows updates.

Possible values:

  • 0 – No reboot requires.
  • 1 – Reboot required before installing updates.

Machine restart status after installing Windows Updates

This component monitor shows the restart status after installing Windows updates.

Possible values:

  • 0 – No reboot requires.
  • 1 – Updates installed. Reboot required.

Service: Windows Updates

This component monitors the Windows update service which enables the detection, download, and installation of updates for Windows and other programs. If this service is disabled, users of this computer will not be able to use Windows update or its automatic updating feature. If this service is down, programs will not be able to use the Windows Update Agent (WUA) API.