[hobbit] hist files

Michael Frey michael_frey at glic.com
Mon Jul 31 16:55:50 CEST 2006


Output Requested:

[root at nbtbigbro1 lib]# ./availability 
~hobbit/data/hist/nbtsanecc2p,nro,glic,com.conn 0 `date +%s` 
2006-07-31 10:50:24 Got entry starting 2869 lasting 1154354555
2006-07-31 10:50:24 Reporting starts with this entry: Sun Jul 23 05:38:50 
2006  1153647530 2869

2006-07-31 10:50:24 Duration for color 0: 0
2006-07-31 10:50:24 Duration for color 1: 0
2006-07-31 10:50:24 Duration for color 2: 0
2006-07-31 10:50:24 Duration for color 3: 0
2006-07-31 10:50:24 Duration for color 4: 0
2006-07-31 10:50:24 Duration for color 5: 0
2006-07-31 10:50:24 Color 0: Count=0, pct=0.00
2006-07-31 10:50:24 Color 1: Count=0, pct=0.00
2006-07-31 10:50:24 Color 2: Count=0, pct=0.00
2006-07-31 10:50:24 Color 3: Count=0, pct=0.00
2006-07-31 10:50:24 Color 4: Count=0, pct=0.00
2006-07-31 10:50:24 Color 5: Count=0, pct=0.00
2006-07-31 10:50:24 Availability: 100.00, color =0
2006-07-31 10:50:24 History file status: OK
You have new mail in /var/spool/mail/root
[root at nbtbigbro1 lib]# 

Contents of hist file:  (color status is missing)

Sun Jul 23 05:38:50 2006  1153647530 2869
Sun Jul 23 06:26:39 2006 green 1153650399 128621
Mon Jul 24 18:10:20 2006 red 1153779020 1138
Mon Jul 24 18:29:18 2006 green 1153780158 60483
Tue Jul 25 11:17:21 2006 red 1153840641 3398
Tue Jul 25 12:13:59 2006 green 1153844039 86990
Wed Jul 26 12:23:49 2006 clear 1153931029 587
Wed Jul 26 12:33:36 2006 green 1153931616 178738
Fri Jul 28 14:12:34 2006 red 1154110354 301
Fri Jul 28 14:17:35 2006 green 1154110655 9162
Fri Jul 28 16:50:17 2006 red 1154119817 254
Fri Jul 28 16:54:31 2006 green 1154120071

File requested:


I have not modified anything, so I am not sure how an unknown color text 
would be passed.

It also all happened at the same time, and not for all hosts or tests, 
although conn seems to be the hardest hit.  Every host I have looked at, 
had at least one Hostory graph failure; except for any new host eneterd 
after July 23rd.

Michael Frey
Intel Senior Systems Engineer
The Guardian Life Insurance Company of America
3900 Burgess Place, 2-West
Bethlehem, PA 18017
E-Mail: Michael_frey at glic.com
Phone: 610-807-7889
Fax: 610-807-6003



henrik at hswn.dk (Henrik Stoerner) 
07/31/2006 10:40 AM
Please respond to
hobbit at hswn.dk



To
hobbit at hswn.dk
cc

Subject
Re: [hobbit] hist files






Hi Michael,

On Mon, Jul 31, 2006 at 09:24:49AM -0400, Michael Frey wrote:
> Henrik,
> 
> Last Sunday, July 23rd, at approximately 6:00 AM, almost all of my 
hosts' 
> histfiles were cleared, and lost the 'color' status:
> 
> Sun Jul 23 06:06:25 2006  1153649185 888
> 
> This has caused the History page to fail.

Could you send one of the corrupted files from the data/hist/ directory
to henrik at hswn.dk ? I'd like to see just what this corruption looks
like.

Also, there's a debugging tool included in Hobbit - the lib/availability
utility which is built together with Hobbit, but not installed. Could
you try running this with

   cd hobbit-4.2-beta*/lib
   ./availability ~hobbit/data/hist/myhost.conn 0 `date +%s`


The snippet you've copied above looks like the color text is missing
altogether. That could happen if there's some way that an unknown color
text is passed to the history module ... I'll make sure it doesn't trip
up the history log reporting.


Regards,
Henrik


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk






-----------------------------------------
This message, and any attachments to it, may contain information
that is privileged, confidential, and exempt from disclosure under
applicable law.  If the reader of this message is not the intended
recipient, you are notified that any use, dissemination,
distribution, copying, or communication of this message is strictly
prohibited.  If you have received this message in error, please
notify the sender immediately by return e-mail and delete the
message and any attachments.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060731/cec01cd8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nbtsanecc2p,nro,glic,com.conn
Type: application/octet-stream
Size: 548 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20060731/cec01cd8/attachment.obj>


More information about the Xymon mailing list