NAME

App::MonM::Checkit::DBI - Checkit DBI subclass

VIRSION

Version 1.00

SYNOPSIS

<Checkit "foo">
    Enable  yes
    Type    dbi
    DSN         DBI:mysql:database=DBNAME;host=127.0.0.1
    SQL         "SELECT 'OK' AS OK FROM DUAL" # By default
    User        USER
    Password    PASSWORD
    Timeout     15 # Connect and request timeout, secs
    Set RaiseError     0
    Set PrintError     0
    Set mysql_enable_utf8   0

    # . . .

</Checkit>

DESCRIPTION

Checkit DBI subclass

check

Checkit method. This is backend method of "check" in App::MonM::Checkit

Returns:

code

The DBH error code ($dbh->err)

content

The merged response content

message

OK or ERROR value, see "status"

source

DSN of DBI connection

status

0 if error occured; 1 if no errors found

HISTORY

See Changes file

TO DO

See TODO file

BUGS

* none noted

SEE ALSO

App::MonM

AUTHOR

Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>

COPYRIGHT

Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See LICENSE file and https://dev.perl.org/licenses/