[Orca-dev] Fwd: [Orca-users] Trouble displaying disk runp and disk service
Alex Kiernan
alex.kiernan at gmail.com
Fri Mar 4 09:03:54 PST 2005
Any chance of getting this (or something similar applied)? I've just
been playing with r415 and ran into this (actually on Solaris 10 so I
spent some time chasing it as an is this a Solaris 10 problem :|)
---------- Forwarded message ----------
From: Jason Santos <jason.santos at megaslow.net>
Date: Mon, 15 Nov 2004 14:57:41 -0700 (MST)
Subject: Re: [Orca-users] Trouble displaying disk runp and disk service
To: orca-users at orcaware.com
Cc: Chris.Sim at attentiv.com
On Mon, November 15, 2004 5:28 am, Chris Sim said:
> Hi,
>
> I'm having an issue where my web browser will not display the html or png
> files for disk run percent and disk service times. The files are
> generated and in the right place, but it looks like the browsers I've
> tried (Firebird, Netscape, IE6) can't display them because of the names.
>
> Any ideas on how to change these names without going through all the files
> and linking them to readable names (which I've done for some of my
> systems)?
I ran into this same problem and posted a message to the list with a
patch, however, now that I look, I can't find it in the archives...
Here it is below:
On Mon, October 4, 2004 6:56 am, Peter O'neil said:
>
> Hi,
>
> Apache returns
>
> Not Found
> The requested URL /orcallator_html/o_gauge_volatile_disk_runp_(( was not
> found on this server.
>
> Apache/1.3.27 Server at 127.0.0.1 Port 80
>
> It can evidently not handle the '?' (Solaris is none too happy about the
> '((' either).
Hello,
I had the same problem when I installed the latest Orca, I suspect because
the '?' character is usually used by web servers to delimit CGI
parameters.
I fixed it by modifying the name_to_fsname sub in Utils.pm to change all
'?' characters to '_' characters. Patch in unified diff format follows:
------ begin patch ------
--- Utils.pm 2004-09-16 12:18:52.000000000 -0700
+++ /opt/orca/lib/Orca/Utils.pm 2004-09-16 17:08:19.000000000 -0700
@@ -93,6 +93,7 @@
my ($name, $postfix_length) = @_;
$name =~ s/:/_/g;
+ $name =~ s/\?/_/g;
$name =~ s:/:_per_:g;
$name =~ s:\s+:_:g;
$name =~ s:%:_pct_:g;
------ end patch ------
--
Jason Santos
http://www.megaslow.net
Solaris by day, Linux by night
_______________________________________________
Orca-users mailing list
Orca-users at orcaware.com
http://www.orcaware.com/mailman/listinfo/orca-users
--
Alex Kiernan
More information about the Orca-dev
mailing list