[Orca-dev] RE: [Orca-users] winallator oddness, and orca_logo.gif corrupted in r380?

Jon Tankersley jon.tankersley at eds.com
Tue Aug 24 15:58:29 PDT 2004


We've got a script that tries to fix things..... We then use normal Orca.
I'll see if I can pull it together.
It is NOT an end all solution, however, just a working set.
We've been continually hacking it as the headers change.  It appears the
Wintel systems can modify that header as new hardware/software/etc. get
installed.  We've seen OS upgrades blow us up as have installation of new
NIC's.

-----Original Message-----
From: orca-users-bounces+jon.tankersley=eds.com at orcaware.com
[mailto:orca-users-bounces+jon.tankersley=eds.com at orcaware.com] On Behalf Of
David Michaels
Sent: Tuesday, August 24, 2004 5:40 PM
To: orca-users at orcaware.com
Subject: [Orca-users] winallator oddness, and orca_logo.gif corrupted in
r380?



I got the winallator working.  Sort of.  Sometimes when I start it up, it
complains about the header of the data files, and bombs out.  I've found I
can get around this by blowing away the HTML directory, and creating a new,
blank one for it to populate.  Here's the error I see:



dmichael at npd-flurry <~/orca-win><570> Unquoted string "version" may clash
with future reserved word at /npd/dmichael/orca-win/lib/Orca/Config.pm line
351.
Unquoted string "version" may clash with future reserved word at
/npd/dmichael/orca-win/lib/Orca/Config.pm line 352.
Orca version 0.28.0 (dev 380) using RRDs version 1.000461 at Tue Aug 24
16:27:51 2004.
Loading state from
'/npd/dmichael/orca-win/var/orca/rrd/winallator/orca.state'.
Creating orca_logo.gif.
Creating rrdtool_logo.gif.
Creating rothschild_image_logo.png.
Finding files and setting up data structures at Tue Aug 24 16:27:52 2004.
Current running time is 0:02 minutes.
Loading new data from group winallator for Mammatus.
"(PDH-TSV 4.0) (Mountain Daylight Time)(360)"   "\Memory\Available Bytes"
"\Memory\Pages/sec"     "\Network Interface(3Com EtherLink PCI)\Bytes
Total/sec"        "\Network Interface(3Com EtherLink PCI)\Output Queue
Length"    "\Paging File(_Total)\% Usage"  "\PhysicalDisk(_Total)\% Disk
Time"     "\PhysicalDisk(_Total)\Avg. Disk Queue Length"  "\PhysicalDisk(0
C:)\% Disk Time"       "\PhysicalDisk(1 D:)\% Disk Time"
"\Processor(_Total)\% Interrupt Time"   "\Processor(_Total)\% Privileged
Time"  "\Processor(_Total)\% Processor Time"   "\Processor(0)\% Interrupt
Time"        "\Processor(0)\% Privileged Time"       "\Processor(0)\%
Processor Time"        "\Server\Bytes Total/sec"       "\System\Context
Switches/sec"  "\System\Processor Queue Length"

Argument "(PDH-TSV" isn't numeric in subtract at
/npd/dmichael/orca-win/lib/Orca/SourceFile.pm line 1048, <FD> chunk 1.
Argument "0)" isn't numeric in subtract at
/npd/dmichael/orca-win/lib/Orca/SourceFile.pm line 1049, <FD> chunk 1.
Current running time is 0:02 minutes.
Month '-1' out of range 0..11 at
/npd/dmichael/orca-win/lib/Orca/SourceFile.pm line 1053



After blowing away the /npd/dmichael/www/orca-win/winallator directory, and
creating a new one from scratch, Orca starts up properly, and I see these
messages:


dmichael at npd-flurry <~/orca-win><574> Unquoted string "version" may clash
with future reserved word at /npd/dmichael/orca-win/lib/Orca/Config.pm line
351.
Unquoted string "version" may clash with future reserved word at
/npd/dmichael/orca-win/lib/Orca/Config.pm line 352.
Orca version 0.28.0 (dev 380) using RRDs version 1.000461 at Tue Aug 24
16:29:10 2004.
Loading state from
'/npd/dmichael/orca-win/var/orca/rrd/winallator/orca.state'.
Creating orca_logo.gif.
Creating rrdtool_logo.gif.
Creating rothschild_image_logo.png.
Finding files and setting up data structures at Tue Aug 24 16:29:11 2004.
_PDH-TSV_4.0_Mountain_Daylight_Time_360_        _Memory_Available_Bytes
_Memory_Pages/sec
_Network_Interface_3Com_EtherLink_PCI_Bytes_Total/sec
_Network_Interface_3Com_EtherLink_PCI_Output_Queue_Length
_Paging_File_Total_%_Usage      _PhysicalDisk_Total_%_Disk_Time
_PhysicalDisk_Total_Avg._Disk_Queue_Length
_PhysicalDisk_0_C_%_Disk_Time  _PhysicalDisk_1_D_%_Disk_Time
_Processor_Total_%_Interrupt_Time       _Processor_Total_%_Privileged_Time
_Processor_Total_%_Processor_Time       _Processor_0_%_Interrupt_Time
_Processor_0_%_Privileged_Time  _Processor_0_%_Processor_Time
_Server_Bytes_Total/sec _System_Context_Switches/sec
_System_Processor_Queue_Length
/npd/dmichael/orca-win/bin/orca: making directory
'/npd/dmichael/www/orca-win/winallator/Mammatus'.
Current running time is 0:01 minutes.
Loading new data from group winallator for Mammatus.
"08/24/2004 15:49:32.741"       "1821061120"    "9.0138265982000529"    " "
" "     "5.4567219574780061"    "0.0014755803075560572"
"1.4755803075560572e-005"       " "     " "     "1.7965025326987871e-006"
"0.00019085384559799286""99.986842231727763"    "9.8942265055808397e-007"
"0.00024110326220292338"        "99.986893149182507"    "315.87042946126979"
"1580.8692508231229"    "0"
[...]
  Read     9 data points from
'/npd/dmichael/orca-win/var/orca/winallator/Mammatus/Mammatus_Winallator_200
4082415.tsv'.
Flushing new data and updating PNGs from Mammatus.
/npd/dmichael/orca-win/bin/orca: warning: cannot put data starting at Tue
Aug 24 15:49:32 2004 (1093384172) into
'/npd/dmichael/orca-win/var/orca/rrd/winallator/winallator_Mammatus/gauge_Ne
twork_Interface_3Com_EtherLink_PCI_Bytes_Total_per_sec.rrd': expected 1 data
source readings (got 2) from 1093384172:::...
/npd/dmichael/orca-win/bin/orca: warning: cannot put data starting at Tue
Aug 24 15:49:32 2004 (1093384172) into
'/npd/dmichael/orca-win/var/orca/rrd/winallator/winallator_Mammatus/gauge_Ne
twork_Interface_3Com_EtherLink_PCI_Output_Queue_Length.rrd': expected 1 data
source readings (got 2) from 1093384172:::...
Saving state into
'/npd/dmichael/orca-win/var/orca/rrd/winallator/orca.state'.
Updating PNGs.
Creating HTML files in '/npd/dmichael/www/orca-win/winallator/'.



Note the "expected 1 data source readings (got 2)" part.  Sometimes I see
those errors, sometimes I don't.  I'm sure it has to do with the blank data
being fed for those columns (probably a perfmon problem), but sometimes it
doesn't complain about this.  Also, at first it was creating broken images
for those columns, but now it's fine (there's no data in the graphs, as
expected, but the graphs are there).

One last thing -- the orca_logo.gif appears to be corrupted in the r380
snapshot?  It would not display in Mozilla, and IE tried to display it, but
it was rather garbled.  Comparing to 0.27's orca_logo.gif:


ls -lsa orca_logo.gif ../../orca/orcallator/orca_logo.gif
   6 -rw-rw-r--   2 dmichael sysadmin    2252 Aug 24 16:24
../../orca/orcallator/orca_logo.gif
  10 -rw-rw-r--   1 dmichael sysadmin    4700 Aug 24 16:29 orca_logo.gif


(the first one listed is the 0.27 version).  I just copied over the gif from
the old to the new, and now it's fine.  Wonder what the problem is, though.

--Dragon




-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/orca-dev/attachments/20040824/f961c4e9/attachment.htm 


More information about the Orca-dev mailing list