VBTK::RmtServer - Remote server class used by the VBTK::Server daemon


VBTK documentation  | view source Contained in the VBTK distribution.

Index


NAME

Top

VBTK::RmtServer - Remote server class used by the VBTK::Server daemon

SYNOPSIS

Top

Do not call this class directly. Is is used by the VBTK::Server class.

  $r = new VBTK::RmtServer (
    HeartbeatObject      => '.$host.hrtbt',
    LocalHeartbeatObject => '.$host.hrtbt',
    Interval             => 60,
    RemoteURI            => 'http://myOtherServer:4712',
    LocalURI             => 'http://localServer:4712',
    StatusChangeActions  => {
        Failed   => 'pageMe,emailMe',
        Warning  => 'emailMe' },
    StatusUpgradeRules   => [
        'Upgrade to Failed if Warning occurs 2 times in 5 min',
    ExpireAfter          => 120,
    Description          => 'Heartbeat object'
 );

DESCRIPTION

Top

The VBTK::RmtServer class is used by the VBTK::Server class to manage a list of remove VBTK::Server daemons with which it will maintain a heartbeat and exchange information. Do not call this class directly.

SEE ALSO

Top

VBTK::Server

AUTHOR

Top

Brent Henry, vbtoolkit@yahoo.com

COPYRIGHT

Top


VBTK documentation  | view source Contained in the VBTK distribution.