Module: check_mk
Branch: master
Commit: ac9536f392b932cc0d6ba602ffb00237ff178a04
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ac9536f392b932…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Jun 30 12:00:42 2011 +0200
windows_updates: Added missing manpage
---
ChangeLog | 1 +
checkman/windows_updates | 33 +++++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index afc861e..010e3eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -19,6 +19,7 @@
* lnx_if: treat interfaces without information from ethtool as
softwareLoopback interface. The will not be found by inventory now.
* vbox_guest: new check for checking guest additions of Linux virtual box hosts
+ * windows_updates: Added missing manpage
Multisite:
* FIX: make non-Ascii characters in services names work again
diff --git a/checkman/windows_updates b/checkman/windows_updates
new file mode 100644
index 0000000..d67a5c5
--- /dev/null
+++ b/checkman/windows_updates
@@ -0,0 +1,33 @@
+title: Checks number of pending windows updates and needed reboot state
+agents: windows
+author: Lars Michelsen <lm(a)mathias-kettner.de>
+license: GPL
+distribution: check_mk
+description:
+ The check uses WMI to fetch the number of pending important and optional updates
+ on a windows system. It also checks if a reboot is needed after installing updates.
+
+ By default the check only fetches the information and never raises WARNING/CRITICAL
+ states. But this can be configured.
+
+ The windows agent needs to be extended with the {windows_updates.vbs} provided
+ in {agents/windows/plugins}.
+
+inventory:
+ One service named {System Updates} is being created for each host.
+
+perfdata:
+ Two values important and optional which contain the number of pending updates.
+
+[parameters]
+imp_warn (int): Number of pending important updates to raise a WARNING state.
+ Can be set to None for disabling the level.
+imp_crit (int): Number of pending important updates to raise a CRITICAL state
+ Can be set to None for disabling the level.
+opt_warn (int): Number of pending optional updates to raise a WARNING state
+ Can be set to None for disabling the level.
+opt_crit (int): Number of pending optional updates to raise a CRITICAL state
+ Can be set to None for disabling the level.
+
+[configuration]
+windows_updates_default_params (tuple of four ints): Default value is set to {(None,
None, None, None)}