Module: check_mk
Branch: master
Commit: bdcc4ac42574f4146d16c4df79ca23fed2a37ad3
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bdcc4ac42574f4…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Mon Sep 16 15:04:53 2013 +0200
text of man page modified
---
checkman/check_sql | 34 ++++++++++++++--------------------
1 file changed, 14 insertions(+), 20 deletions(-)
diff --git a/checkman/check_sql b/checkman/check_sql
index e57b67d..972edab 100644
--- a/checkman/check_sql
+++ b/checkman/check_sql
@@ -4,27 +4,21 @@ catalog: agentless
license: GPL
distribution: check_mk
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:
+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 two columns, a number and a text, plus
- optional performance data.
- 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 optional performance data are being returned
+The query must return three columns, a number, a text, and
+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
- The check works with mysql, postgres and oracle databases using the
- python drivers MySQLdb, psycopg2 and cx_Oracle. For cx_oracle the
- oracle-instantclient needs to be installed as well, and the
- LD_LIBRARY_PATH needs to be modified to point to the libclntsh.so of
- that package.
-
- This check can be configured by Wato.
+The check works with MySQL, Postgresql and Oracle databases using the
+python drivers MySQLdb, psycopg2 and cx_Oracle. For cx_Oracle the
+Oracle instantclient needs to be installed as well, and the
+LD_LIBRARY_PATH needs to be modified to point to the libclntsh.so of
+that package.
perfdata:
- Optionally one value: the third field of the database response..
-
-installation:
-
-
+ One value: the third field of the database response.