Module: check_mk
Branch: master
Commit: 224be905641ff522f27194649614e3d9113d6afc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=224be905641ff5…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Mon Jul 22 16:20:22 2013 +0200
initial version of check manpage for ibm_rsa_health and lnx_thermal
---
checkman/ibm_rsa_health | 14 +++++++++++++-
checkman/lnx_thermal | 23 ++++++++++++++++++++++-
2 files changed, 35 insertions(+), 2 deletions(-)
diff --git a/checkman/ibm_rsa_health b/checkman/ibm_rsa_health
index ae4ca9e..200e5ea 100644
--- a/checkman/ibm_rsa_health
+++ b/checkman/ibm_rsa_health
@@ -4,4 +4,16 @@ catalog: hw/server/ibm
license: GPL
distribution: check_mk
description:
- BERND
+ BERND, FIXME: Ask Mathias in which cases WARN and CRIT are issued.
+
+ Checks systems health via IBM Remote Supervisor Adapter (RSA) by SNMP.
+ The system health includes health of fans, power supplys, etc.
+
+ Returns {OK} if all of the included devices report OK status.
+
+ Returns {WARN} if ...
+
+ Returns {CRIT} if ...
+
+inventory:
+ Returns one check per RSA.
diff --git a/checkman/lnx_thermal b/checkman/lnx_thermal
index 0e14d3b..9aed910 100644
--- a/checkman/lnx_thermal
+++ b/checkman/lnx_thermal
@@ -4,4 +4,25 @@ catalog: os/hardware
license: GPL
distribution: check_mk
description:
- BERND: verwendet /proc/sys/wasweisich...
+ This check uses the temperature information provided by the kernel in
+ /sys/class/thermal/thermal_zone* and reports values in °C
+
+ The measured value is matched against levels delivered by the kernel.
+ Returns {CRIT} if the kernel reports {hot} or {critical} state,
+ {WARN} on any other non ok state and {OK} if the temperature is
+ considered to be within normal operation temperature levels.
+
+item:
+ The ID of the thermal zone
+
+examples:
+ # adding a check for /sys/class/thermal/thermal_zone0
+ checks += [
+ ( "localhost", "lnx_thermal", "0", None )
+ ]
+
+perfdata:
+ One value: The current temperature in °C
+
+inventory:
+ Creates one check for earch thermal zone.