From 4781e37094f00e0c549273403c1bec301579deec Mon Sep 17 00:00:00 2001 From: etienne Date: Thu, 27 Dec 2007 15:34:28 +0000 Subject: --- src/ivycontrolpanel | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ivycontrolpanel b/src/ivycontrolpanel index fbf7325..0ad3bda 100755 --- a/src/ivycontrolpanel +++ b/src/ivycontrolpanel @@ -64,6 +64,7 @@ my $hlbg = '#7CC452'; my $fg = '#FCFAFC'; my $selcolor = 'yellow'; my $pbcolor = '#c9b900000000'; +my $timeoutcolor = '#839400000000'; my $pingThreshold = 20; # traffic rate spec @@ -421,7 +422,7 @@ my $wmax = ($width-2*$x0); my $dy = 64*$coef; my %hosts; -Agent->configure($mw, $bg, $fg, $selcolor, $pbcolor, $hlbg, $darkbg, \@fontspec20, +Agent->configure($mw, $bg, $fg, $selcolor, $pbcolor, $timeoutcolor, $hlbg, $darkbg, \@fontspec20, $x0, $y0, $wmax, $dy, $cmin, $rmax, $opt{b}, $coef, $pingThreshold); for (@fugueconfigdata) { @@ -880,7 +881,7 @@ Specify the window position. =item B<-pingthreshold> duration in ms -Set the ping threshold for detecting performance problems. ivycontrolpanel periodically pings agents and compares the ping/pong duration with the given threshold. If duration exceeds it, the agent's led becomes blinking red. Default is 20 ms. Requires Ivy v4.18 or higher. +Set the ping threshold for detecting performance problems. ivycontrolpanel periodically pings agents and compares the ping/pong duration with the given threshold. If duration exceeds it, the agent's led becomes blinking red. If the agent does not respond (or its response exceeds 1s), the led becomes dark red. The default -pingthreshold value is 20 ms. Requires Ivy v4.18 or higher. =back -- cgit v1.1