summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoretienne2007-12-27 15:34:28 +0000
committeretienne2007-12-27 15:34:28 +0000
commit4781e37094f00e0c549273403c1bec301579deec (patch)
tree3b51c770a1bd611f3d6bad7cb17d106df4b7e3c0
parent4df04911e0c1bb4abc7a816e4292ffa8b184e17b (diff)
downloadivycontrolpanel-4781e37094f00e0c549273403c1bec301579deec.zip
ivycontrolpanel-4781e37094f00e0c549273403c1bec301579deec.tar.gz
ivycontrolpanel-4781e37094f00e0c549273403c1bec301579deec.tar.bz2
ivycontrolpanel-4781e37094f00e0c549273403c1bec301579deec.tar.xz
-rwxr-xr-xsrc/ivycontrolpanel5
1 files 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