[Orca-users] RE: Filename too long problems.

Chris Dietzler chris.dietzler at IngramMicro.com
Thu Jul 29 19:06:12 PDT 1999

	First, thank you for this update. I will apply it tonight and put it
to work right away. Second, I figured out what my problem was in getting my
other server stats to show up in the graphs. After installing and
reinstalling the modules and tools and Orca packages, looking over and over
again at the config files, I finally figured out what I was doing wrong. I
was not setting the base directory correctly. It was pointing to an empty
rrd directory. After fixing that, Orca was able to work on the data sets
perfectly. I knew I was doing something wrong. Thanks for your support. I
will work on getting this site published for you. Hopefully I can talk the
powers into it!

Chris Dietzler
Production Engineer
Ingram Micro
(714) 382-2659, pager (714) 359-5189
mailto:chris.dietzler at ingrammicro.com

-----Original Message-----
From: Blair Zajac [mailto:bzajac at geostaff.com]
Sent: Thursday, July 29, 1999 4:35 PM
To: Chris Dietzler; Mike DuFresne; Orca Help Mailing List
Subject: Filename too long problems.

For people with too long filename, do the following things.

1) Stop all orca's.
2) Replace the strip_key_name subroutine in orca with the
   following one:
sub strip_key_name {
  my $name = shift;

  $name =~ s/:/_/g;
  $name =~ s:/:_per_:g;
  $name =~ s:\s+:_:g;
  $name =~ s:%:_pct_:g;
  $name =~ s:#:_num_:g;
  $name =~ s:\*:_X_:g;

  # Trim anything containing orcallator, orca.
  $name =~ s:orcallator:o:g;
  $name =~ s:orca:o:g;

  # Remove trailing _'s.
  $name =~ s:_+$::;
  $name =~ s:_+,:,:g;

  $name =~ s:_{2,}:_:g;


3) Run the attached Perl script listing your HTML and RRD directories.
   This will rename the files.  If you don't do this step, you'll take
   a lot of time to reload data and leave some useless old files around
   on our system.  The attached script can be run with the -n flag first
   to see what it will do/

Let me know how this works.  After applying the patch and running the
attached script, you should run orca again and no new RRD files should
be generated.  If new files do get generated, let me know the generated
names and the similarly but differently named file in the RRD or HTML
directory that Orca is regenerating.


More information about the Orca-users mailing list