Module: check_mk
Branch: master
Commit: 0bb5a839e0380f50803ef44e7546fe7283b9c20c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0bb5a839e0380f…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Fri Sep 27 12:01:40 2013 +0200
check man page for new check "UPS self test"
---
checkman/ups_test | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/checkman/ups_test b/checkman/ups_test
new file mode 100644
index 0000000..789bb9f
--- /dev/null
+++ b/checkman/ups_test
@@ -0,0 +1,28 @@
+title: UPS self test
+agents: snmp
+catalog: hw/power
+license: GPL
+distribution: check_mk
+description:
+ This check monitors parameters related to the self test of UPS devices: The result of
the
+ last self test and the last date of the self test run. The check becomes critical if the
test
+ result is {"doneError"} or {"aborted"}, and warning if the result is
{"doneWarning"} or
+ {"noTestsInitiated"}. It also has a warning or critical state if the date of
the last self
+ test is more than the warning or critical level ago.
+
+examples:
+ # sets the warning and critical levels to 5 and 10 days, respectively
+ ups_test_default = ( 5, 10 )
+
+inventory:
+ The inventory process checks if the device has a system description OIDs
(.1.3.6.1.2.1.1.2.0)
+ and if the name of this OID is known to the test. If this is true the system is
inventorized.
+
+[parameters]
+parameters(tuple): parameters is a tuple of two values
+
+ warn (int): The warning level in days
+ crit (int): The critical level in days
+
+[configuration]
+ups_test_default (tuple): This variable is preset to { (0,0) }