NAME

Thruk::Backend::Manager - Manager of backend connections

DESCRIPTION

Manager of backend connections

METHODS

new

create new peer

peer_key

return peer key

peer_name

return peer name

remotekey

return peer key the backend uses on the remote side

peer_list

return peer address list

is_local

returns true if backend is local

create_backend

create_backend()

return a new backend class

logcache

logcache()

return logcache and create it on demand

get_http_fallback_peer

get_http_fallback_peer()

return http peer from fallback addr

cmd

cmd($c, $cmd, [$background_options])

return result of cmd

rpc

rpc($c, $sub, $args)

return result of sub call

job_data

job_data($c, $jobid)

return job data

is_peer_machine_reachable_by_http

is_peer_machine_reachable_by_http()

returns true if there is a thruk instance reachable by http for this peer

get_remote_thruk_version

get_remote_thruk_version()

returns version of remote thruk instance