Module: check_mk
Branch: master
Commit: 7ed82163bfe99ee0ee9fc9e22ab0075b89b17516
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7ed82163bfe99e…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Mon Dec 22 11:38:39 2014 +0100
etherbox.temp, hwg_temp: Updated Manpage
---
checkman/etherbox.temp | 16 ++++++++++++----
checkman/hwg_temp | 15 +++++++++++++--
2 files changed, 25 insertions(+), 6 deletions(-)
diff --git a/checkman/etherbox.temp b/checkman/etherbox.temp
index e8e47a5..0657738 100644
--- a/checkman/etherbox.temp
+++ b/checkman/etherbox.temp
@@ -18,9 +18,17 @@ inventory:
The inventory creates a service for each temperature sensor found
[parameters]
-warning (int): temperature in degrees at which the check goes warning
-critical (int): level for critical temperature
+This checks parameters are a dictionary with the
+following (optional) keys:
- Please note that the sensor can be configured in Degree, Fahrenheit
- and Kelvin.
+ {"levels"}: A tuple (warn, crit) containing the upper levels. No defaults.
+ {"levels_lower"}: A tuple (warn, crit) containing the lower levels. No
defaults.
+
+ {"output_unit"}: "c", "f" or "k", the check will
output the temperature in the
+specified unit. If this is not set, output is in degrees Celsius.
+
+ {"input_unit"}: "c, "f" or "k". By default, the check
interprets the sensor value
+according to the unit sent by the device. This key allows to override that. Tread
+lightly, as this may lead to a misinterpreted temperature. Should only be used if
+the device reports its unit incorrectly.
diff --git a/checkman/hwg_temp b/checkman/hwg_temp
index 3ae1bb1..baccf9a 100644
--- a/checkman/hwg_temp
+++ b/checkman/hwg_temp
@@ -17,6 +17,17 @@ inventory:
All available temperature sensors are automatically inventorized.
[parameters]
-warn(int): Warning level for the temperature.
-crit(int): Critical level for the temperature.
+This checks parameters are a dictionary with the
+following (optional) keys:
+ {"levels"}: A tuple (warn, crit) containing the upper levels. Default: (30,
35)
+
+ {"levels_lower"}: A tuple (warn, crit) containing the lower levels. No
defaults.
+
+ {"output_unit"}: "c", "f" or "k", the check will
output the temperature in the
+specified unit. If this is not set, output is in degrees Celsius.
+
+ {"input_unit"}: "c, "f" or "k". By default, the check
interprets the sensor value
+according to the unit sent by the device. This key allows to override that. Tread
+lightly, as this may lead to a misinterpreted temperature. Should only be used if
+the device reports its unit incorrectly.