On Mon, Feb 18, 2008 at 01:32:40AM +0100, Krzysztof Oledzki wrote:
> >From 30629cb0d5b7bc20d504ed26e40806af3ee48ac8 Mon Sep 17 00:00:00 2001
> From: Krzysztof Piotr Oledzki <ole#ans.pl>
> Date: Mon, 18 Feb 2008 01:26:35 +0100
> Subject: [MEDIUM] Implement "track [<backend>/]<server>"
>
> This patch implements ability to set the current state of one server
> by tracking another one. It:
> - adds two variables: *tracknext, *tracked to struct server
> - implements findserver(), similar to findproxy()
> - adds "track" keyword accepting both "proxy/server" and "server" (assuming current proxy)
> - verifies if both checks and tracking is not enabled at the same time
> - changes set_server_down() to notify tracking server
> - creates set_server_up(), set_server_disabled(), set_server_enabled() by
> moving the code from process_chk() and adding notifications
> - changes stats to show a name of tracked server instead of Chk/Dwn/Dwntime(html)
> or by adding new variable (csv)
Excellent work Krzysztof! I've just merged it.
Thanks!
Willy
Received on 2008/02/27 11:25
This archive was generated by hypermail 2.2.0 : 2008/02/27 11:30 CET