author | Sebastian Harl <sh@teamix.net> | |
Thu, 7 Apr 2011 15:24:23 +0000 (17:24 +0200) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Thu, 7 Apr 2011 15:31:55 +0000 (17:31 +0200) | ||
commit | b86e5f88e547b20ffdfe8d730161cbaf2fef67d5 | |
tree | 9e4d427fd51d4014309ca26b248729962af1997a | tree | snapshot |
parent | 1bc7a4a198aefde2389c9c1685baed0da7856bf5 | commit | diff |
Initial version of the 'check_dbi' plugin.
This plugin connects to an SQL database using libdbi, thus supporting all
database backends supported by libdbi. It will then issue the specified SQL
query and check the result (the numeric value of the first column of the first
row to be precise) against the specified warning/critical ranges.
The performance data includes the connection time (µs-resolution as provided
by gettimeofday()) and the query result.
This plugin connects to an SQL database using libdbi, thus supporting all
database backends supported by libdbi. It will then issue the specified SQL
query and check the result (the numeric value of the first column of the first
row to be precise) against the specified warning/critical ranges.
The performance data includes the connection time (µs-resolution as provided
by gettimeofday()) and the query result.
.gitignore | diff | blob | history | |
REQUIREMENTS | diff | blob | history | |
configure.in | diff | blob | history | |
plugins/Makefile.am | diff | blob | history | |
plugins/check_dbi.c | [new file with mode: 0644] | blob |