[Orca-users] gauge_volatile_disk_svct_(( Problems <THE SOLUTION>
Blair Zajac
blair at orcaware.com
Wed May 11 14:41:41 PDT 2005
Fyi, while this works, this is not the solution that went into the Orca
source tree. The solution that went is to simply change the ? to _Q_ in
any HTML or image filenames generated by Orca.
Regards,
blair
Norbert Plasczyk wrote:
> Hi all togehter,
> Thanks all who helped me. Cheers to Michael, who gave me the pointer to
> the solution.
> Here is the link ->
> http://www.orcaware.com/pipermail/orca-dev/2004-July/000528.html
> Within is described how to change SourceFile.pm.
> Just patch it with patch(1) , start orca again and all is sane.
>
>
> Cheers,
> Norbert
>
> Here is that piece of code, for those who want to trie it instantly.
>
> --- /opt/monitor/src/orca-snapshot-r379/lib/Orca/SourceFile.pm Sun Jul
> 4 13:58:53 2004
> +++ SourceFile.pm Fri Jul 30 09:51:55 2004
> @@ -785,12 +785,17 @@
> lc($plot->{data_type}[0]),
> 'volatile',
> @{$original_plot->{data}[0]});
> + $all_names_with_subgroup =~ s/\(.*\)//g;
> +
> @my_short_rrds = ($all_names_with_subgroup);
> - @names_without_subgroup = (join('_',
> - $group_name,
> - lc($plot->{data_type}[0]),
> - 'volatile',
> - @{$original_plot->{data}[0]}));
> +
> + my $nws= (join('_',
> + $group_name,
> + lc($plot->{data_type}[0]),
> + 'volatile',
> + @{$original_plot->{data}[0]}));
> + $nws =~ s/\(.*\)//g;
> + @names_without_subgroup = ($nws);
> } else {
> $all_names_with_subgroup = join(',', sort @names_with_subgroup);
> }
>
More information about the Orca-users
mailing list