I just upgraded my mon installation to the Latest and Greatest, and I saw
this error a few times in the downtime log:
Use of uninitialized value at /usr/local/mon/mon.d/phttp.monitor line 685.
The source code in question in phttp.monitor:
679 foreach my $id (sort { $a <=> $b } keys(%goodrace)) {
680 my $rbuf = $client{$id}{'rbuf'};
681 my $host = $client{$id}{'host'};
682 my $timeresponse = $client{$id}{'end'} - $client{$id}{'b
egin'};
683 $debugAnalyse and print "$host response in $timeresponse
s :\n$rbuf";
684
685 if ($rbuf =~ m~$regex~) {
686
I think this at least fixes the symptom of the problem:
680 my $rbuf= $client{$id}{'rbuf'} || undef;
But I'm not sure why it happens in the first place - perhaps the script
sometimes thinks it is getting a zero-length response from the web server?
-- Ed
PS: Frere Gilles, dormez-vous? [EMAIL PROTECTED] bounces.