Thruk::Backend::Provider::Livestatus - connection provider for livestatus connections
connection provider for livestatus connections
create new manager
recreate database connection
return the peers key
return the peers address
return the peers name
send a raw query to the backend
send a command
return the process info
return the sites list from lmd
returns if this user is allowed to submit commands
get_contactgroups_by_contact
returns a list of contactgroups by contact
$VAR1 = [ { 'peer_addr' => '/omd/sites/devel/tmp/run/live', 'name' => 'omd', 'peer_key' => '78bcd', 'peer_name' => 'devel' }, ... ];
get_hosts
returns a list of hosts
get_hosts_by_servicequery
returns a list of host by a services query
get_host_names
returns a list of host names
get_hostgroups
returns a list of hostgroups
get_hostgroup_names
returns a list of hostgroup names
get_services
returns a list of services
get_service_names
returns a list of service names
get_servicegroups
returns a list of servicegroups
get_servicegroup_names
returns a list of servicegroup names
get_comments
returns a list of comments
get_downtimes
returns a list of downtimes
get_contactgroups
returns a list of contactgroups
get_logs
returns logfile entries
get_timeperiods
returns a list of timeperiods
get_timeperiod_names
returns a list of timeperiod names
get_commands
returns a list of commands
get_contacts
returns a list of contacts
get_contact_names
returns a list of contact names
get_contactgroup_names
returns a list of contactgroup names
get_host_stats
returns the host statistics for the tac page
get_host_totals_stats
returns the host statistics used on the service/host details page
get_host_less_stats
same as get_host_stats but less numbers and therefore faster
get_service_stats
returns the services statistics for the tac page
get_service_totals_stats
returns the services statistics used on the service/host details page
get_service_less_stats
same as get_service_stats but less numbers and therefore faster
get_performance_stats
returns the service /host execution statistics
get_extra_perf_stats
returns the service /host execution statistics
set_verbose
sets verbose mode for this backend and returns old value
_get_class($tablename, $options)
generic function to return a table class
_get_table
generic function to return a table with options
_optimize
return livestatus::lite class with enhanced options
_get_hash_table
generic function to return a hash table with options
_get_query_size
returns the size of a query, used to reduce the amount of transfered data
get_logs_start_end
returns first and last logfile entry
_get_logs_start_end
returns the min/max timestamp for given logs
renew_logcache
renew logcache