Module: check_mk
Branch: master
Commit: 4c00c754845c2d46003ca016c8cdccad655fb543
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4c00c754845c2d…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Tue Oct 1 18:29:01 2013 +0200
man page for new active sql check
---
checkman/check_sql | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/checkman/check_sql b/checkman/check_sql
index a84def1..e157607 100644
--- a/checkman/check_sql
+++ b/checkman/check_sql
@@ -7,12 +7,12 @@ description:
This is an active check that connects to a database server, sends an SQL
statement to that server, and checks for the following result:
- The query must return three columns, a number, a text, and
+ The query must return three columns, a number, a text, and optional
performance data in the third column.
If upper and lower levels are given, the number is being checked
against these levels and the according state is being computed.
Otherwise the number ist treated as a Nagios state (0,1,2,3).
- State, text and the performance data are being returned
+ State, text and the performance data are being returned.
The check works with MySQL, Postgresql and Oracle databases using the
python drivers MySQLdb, psycopg2 and cx_Oracle. For cx_Oracle the
@@ -20,5 +20,9 @@ description:
LD_LIBRARY_PATH needs to be modified to point to the libclntsh.so of
that package.
+ This check can be configured by WATO.
+
+ See the {usage} page of the check for details about the invocation on the command
line.
+
perfdata:
- One value: the third field of the database response.
+ Optionally, one value: the third field of the database response.