summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6c85913)
raw | patch | inline | side by side (parent: 6c85913)
author | Sebastian Harl <sh@teamix.net> | |
Mon, 18 Apr 2011 11:47:26 +0000 (13:47 +0200) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Mon, 18 Apr 2011 11:47:26 +0000 (13:47 +0200) |
plugins/check_dbi.c | patch | blob | history |
diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c
index 1edc2e4429afe209a9a7ea311b3b66fb7f20de0c..03ec9ce50036c5393377e142a3f0315914cac1e7 100644 (file)
--- a/plugins/check_dbi.c
+++ b/plugins/check_dbi.c
printf (" Warning if connecting to the database takes more than half of a second;\n");
printf (" critical if it takes more than 2 seconds.\n\n");
+ printf (" check_dbi -d mysql -H localhost -o username=user \\\n");
+ printf (" -q 'SELECT concat(@@version, \" \", @@version_comment)' \\\n");
+ printf (" -r '^5\\.[01].*MySQL Enterprise Server'\n");
+ printf (" Critical if the database server is not a MySQL enterprise server in either\n");
+ printf (" version 5.0.x or 5.1.x.\n\n");
+
printf (" check_dbi -d pgsql -u username=user -m SERVER_VERSION \\\n");
printf (" -w 090000:090099 -c 090000:090199\n");
printf (" Warn if the PostgreSQL server version is not 9.0.x; critical if the version\n");