Module: check_mk
Branch: master
Commit: 6b47aa048706ab4c4508f745e1ff0e6a24519752
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6b47aa048706ab…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Thu Nov 16 09:54:53 2017 +0100
Add missing manpage for Rittal CMC II Position sensors
Change-Id: I4b40387dca2af88ad62c611e71f111cc91d0d718
---
checkman/cmcii.position_psm | 7 ++++---
checks/cmcii | 1 +
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/checkman/cmcii.position_psm b/checkman/cmcii.position_psm
index eaaace3..87ca966 100644
--- a/checkman/cmcii.position_psm
+++ b/checkman/cmcii.position_psm
@@ -4,10 +4,11 @@ catalog: hw/environment/rittal
license: GPL
distribution: check_mk
description:
- This check monitors foo and bar.
+ This check monitors the status and value of position sensors
+ connected to Rittal CMC-II devices.
item:
- None
+ The description of the connected sensor.
inventory:
- None
+ One item per detected sensor.
diff --git a/checks/cmcii b/checks/cmcii
index a3c476d..6735e4b 100644
--- a/checks/cmcii
+++ b/checks/cmcii
@@ -389,6 +389,7 @@ check_info['cmcii.psm_onoff'] = {
# | |
# '----------------------------------------------------------------------'
+
def inventory_cmcii_position_psm(parsed):
for entry in parsed.get('position_psm', {}):
yield entry, {}