|
|
@ -83,10 +83,10 @@ sub action |
|
|
|
$lastAgeColor = "Tomato"; |
|
|
|
$lastAgeColor = "Tomato"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Colors statuts |
|
|
|
$reasonHilite = $Conf{CgiStatusHilightColor}{$Status{$host}{reason}} || $Conf{CgiStatusHilightColor}{$Status{$host}{state}}; |
|
|
|
$reasonHilite = $Conf{CgiStatusHilightColor}{$Status{$host}{reason}} || $Conf{CgiStatusHilightColor}{$Status{$host}{state}}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$reasonHilite = " bgcolor=\"$reasonHilite\"" if ( $reasonHilite ne "" ); |
|
|
|
$reasonHilite = " bgcolor=\"$reasonHilite\"" if ( $reasonHilite ne "" ); |
|
|
|
|
|
|
|
|
|
|
|
if ( $tempState ne "Status_backup_in_progress" && $tempState ne "Status_restore_in_progress" && $Conf{BackupsDisable} == 0 && $Status{$host}{error} ne "" ) { |
|
|
|
if ( $tempState ne "Status_backup_in_progress" && $tempState ne "Status_restore_in_progress" && $Conf{BackupsDisable} == 0 && $Status{$host}{error} ne "" ) { |
|
|
|
($shortErr = $Status{$host}{error}) =~ s/(.{48}).*/$1.../; |
|
|
|
($shortErr = $Status{$host}{error}) =~ s/(.{48}).*/$1.../; |
|
|
|
$shortErr = " ($shortErr)"; |
|
|
|
$shortErr = " ($shortErr)"; |
|
|
|