[Nagiosplug-devel] [PATCH/PULL] New plugin: check_dbi

Sebastian Harl tokkee at debian.org
Fri Apr 8 11:45:11 CEST 2011


Hi again (for the last time today ;-)),

I've got a new plugin which I would like to see included in nagiosplug.
The plugin connects to a (SQL) database using libdbi (thus supporting
all database backends supported by libdbi), executes the specified query
and checks the returned value against the specified threshold ranges.
Optionally, the connection time may be checked as well.

The plugin is available in the sh/check_dbi branch at
git://oss.teamix.org/nagiosplug.git:

      Initial version of the 'check_dbi' plugin.
      check_dbi: Include extra opts in help output.
      check_dbi: Added threshold ranges for the connection time.
      check_dbi: Check and report the time used by the query.
      check_dbi: Fixed/improved perfdata output.

The latest version of the plugin can be found at
<http://oss.teamix.org/projects/nagiosplug/repository/entry/plugins/check_dbi.c?rev=sh%2Fcheck_dbi>.

I'm looking forward to comments, suggestions and (of course) patches :-)

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://nagios-plugins.org/archive/devel/attachments/20110408/8150bc7f/attachment.sig>


More information about the Devel mailing list