Powershell script to check windows updates using NRPE/NSClient++
Checks:
- how many critical and optional updates are available
- whether the system is waiting for reboot after installed updates
Features: - properly handles NRPE's 1024b limitation in return packet
- hidden updates return OK state
- Performance data in return packet shows titles of available critical updates
- caches updates in file to reduce network traffic, also dramatically increases script execution speed
Return Values for NRPE:
- No updates available - OK (0)
- Hidden Updates only - OK (0)
- Updates already installed, reboot required - WARNING (1)
- Optional updates available - WARNING (1)
- Critial updates available - CRITICAL (2)
- Script errors - UNKNOWN (3)
NSClient is an agent designed originally to work with Nagios but has since evolved into a fully fledged monitoring agent which can be used with numerous monitoring tools (like Icinga, Naemon, OP5, NetEye Opsview etc). If you want more in-depth information see the documentation instead.
The open source monitoring framework.
Mathias Kettner führt ein Team von anerkannten Linux Experten, die Beratung, Linuxschulungen und Linux Projekte durchführen.
Mathias Kettner führt ein Team von anerkannten Linux Experten, die Beratung, Linuxschulungen und Linux Projekte durchführen.
The official Homepage of check_mk - a new general purpose Nagios-plugin for retrieving data.