Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-06 | check_dbi: Check and report the time used by the query. | Sebastian Harl | 1 | -17/+37 | |
2012-06-06 | check_dbi: Added threshold ranges for the connection time. | Sebastian Harl | 1 | -7/+45 | |
The -W and -C options are used for that. The plugin return value is determined by the worst check result. | |||||
2012-06-06 | check_dbi: Include extra opts in help output. | Sebastian Harl | 1 | -0/+5 | |
2012-06-06 | Initial version of the 'check_dbi' plugin. | Sebastian Harl | 1 | -0/+516 | |
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. |