Module: check_mk
Branch: master
Commit: 48b4896d2ad73331c02db7aa70f3fc48a7342828
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=48b4896d2ad733…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jun 18 15:10:22 2015 +0200
Better help text for active SQL check
---
web/plugins/wato/active_checks.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/web/plugins/wato/active_checks.py b/web/plugins/wato/active_checks.py
index 9488a31..e0b4253 100644
--- a/web/plugins/wato/active_checks.py
+++ b/web/plugins/wato/active_checks.py
@@ -437,7 +437,13 @@ register_rule(group,
),
( "sql",
TextAscii(title = _("SQL-statement or procedure name"),
allow_empty = False,
- help = _('The SQL-statement or procedure name which is executed
on the DBMS'))
+ help = _('The SQL-statement or procedure name which is executed
on the DBMS. It must return '
+ 'a result table with one row and at least two columns.
The first column must be '
+ 'an integer and is interpreted as the state (0 is OK,
1 is WARN, 2 is CRIT). '
+ 'Alternatively the first column can be interpreted as
number value and you can '
+ 'define levels for this number. The '
+ 'second column is used as check output. The third
column is optional and can '
+ 'contain performance data.'))
),
( "procedure",
Dictionary(