Thruk::Backend::Provider::Mysql - connection provider for Mysql connections
connection provider for Mysql connections
create new manager
recreate database connection
close database connection
try to connect to database and return database handle
return the peers key
return the peers address
return the peers name
get_logs
returns logfile entries
get_host_totals_stats
returns the host statistics used on the service/host details page
get_host_less_stats
returns the host statistics but with less columns
get_service_totals_stats
returns the services statistics used on the service/host details page
get_service_less_stats
returns the services statistics but with less columns
set_verbose
sets verbose mode for this backend and returns old value
renew_logcache
renew logcache
_add_peer_data
add peer name, addr and key to result array
_get_filter
return Mysql filter
_get_subfilter
return Mysql filter
get_logs_start_end
returns first and last logfile entry
_get_logs_start_end
returns the min/max timestamp for given logs
get_existing_caches
returns list of already created caches
_log_stats
gather log statistics
_logcache_stats_types
gather log type statistics
_log_removeunused
remove logcache tables from backends which do no longer exist
_import_logs
imports logs into Mysql
check_global_lock($c)
returns true if no global lock exists