Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
onlycrab authored May 18, 2022
1 parent 54fbb36 commit 2c9fda8
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,35 +1,41 @@
# Number of Windows Updates available for installation

## Overview
The template monitors the number of available updates for installation.
To get data about updates, the template calls a custom script `zbx.winupdate.vbs`. The script and a detailed
description of the template connection are located in [this repository](https://github.com/onlycrab/Winupdates_vbs).

## Author
Roman Rynkovich

## Macros used
|Name|Description|Default|Type|
|----|-----------|-------|----|
|{$ZCONF}|<p>Absolute path to zabbix_agentd.conf</p>|``|Text macro|
|{$ZSENDER}|<p>Absolute path to zabbix_sender.exe</p>|``|Text macro|

## Template links
There are no template links in this template.

## Discovery rules
There are no discovery rules in this template.

## Items collected
|Name|Description|Type|Key and additional info|
|----|-----------|----|----|
|WUz - Startup|<p>Windows Update service startup mode: 0 - automatic, 1 - automatic delayed, 2 - manual, 3 - disabled, 4 - unknown, 5 - automatic trigger start, 6 - automatic delayed trigger start, 7 - manual trigger start</p>|`Zabbix trapper`|zbx.winupdate.vbs.all|
|WU - WinupdatesCheckLast|<p>Launch windows update check script</p>|`Zabbix agent`|system.run[c:\zabbix\plugins\zbx.winupdate.vbs "{$ZSENDER}" "{$ZCONF}",nowait]<p>Update: 4h</p>|
|WU - All|<p>All available Windows updates</p>|`Zabbix trapper`|zbx.winupdate.vbs.all|
|WU - Critical|<p>Critical Windows updates</p>|`Zabbix trapper`|zbx.winupdate.vbs.critical|
|WUz - DateTime|<p>Return last check Date and Time</p>|`Zabbix trapper`|zbx.winupdate.vbs.datetime|
|WU - Definition|<p>Definition Windows updates</p>|`Zabbix trapper`|zbx.winupdate.vbs.definition|
|WU reboot - Required now|<p>Is reboot required: 1 - true, 0 - false.</p>|`Zabbix trapper`|zbx.winupdate.vbs.rebootrequired|
|WU - Security|<p>Security Windows updates</p>|`Zabbix trapper`|zbx.winupdate.vbs.security|
|WU - ServicePacks|<p>ServicePacks Windows updates</p>|`Zabbix trapper`|zbx.winupdate.vbs.servicepacks|
|WU - UpdateRollUps|<p>UpdateRollUps Windows updates</p>|`Zabbix trapper`|zbx.winupdate.vbs.updaterollups|
|WU - WSUS availability|<p>WSUS server availability</p>|`Zabbix trapper`|zbx.winupdate.vbs.wsusavailability|
## Triggers
|WU reboot - Required now|<p>Is reboot required: 1 - true, 0 - false.</p>|`Zabbix trapper`|zbx.winupdate.vbs.rebootrequired|
|WUz - DateTime|<p>Return last check Date and Time</p>|`Zabbix trapper`|zbx.winupdate.vbs.datetime|
|WUz - Startup|<p>Windows Update service startup mode: 0 - automatic, 1 - automatic delayed, 2 - manual, 3 - disabled, 4 - unknown, 5 - automatic trigger start, 6 - automatic delayed trigger start, 7 - manual trigger start</p>|`Zabbix trapper`|zbx.winupdate.vbs.all|

## Triggers
|Name|Description|Expression|Priority|
|----|-----------|----------|--------|
|Detected manual startup state of Windows Updates Service on {HOST.NAME}||<p>**Expression**: {windows_updates_vbscript:service.info[wuauserv,startup].last()}=2</p><p>**Recovery expression**: </p>|info|
Expand Down

0 comments on commit 2c9fda8

Please sign in to comment.