VBTK::RmtServer - Remote server class used by the VBTK::Server daemon
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' );
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.
Brent Henry, vbtoolkit@yahoo.com
Copyright (C) 1996-2002 Brent Henry
This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation available at: http://www.gnu.org/copyleft/gpl.html
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
To install VBTK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VBTK
CPAN shell
perl -MCPAN -e shell install VBTK
For more information on module installation, please visit the detailed CPAN module installation guide.