[hobbit] Too many line on disk graph

Henrik Stoerner henrik at hswn.dk
Fri Nov 4 12:29:54 CET 2005


On Thu, Nov 03, 2005 at 06:24:43PM -0500, John Glowacki wrote:
> 
> 
> Henrik Stoerner wrote:
> >
> >I think the lines with the red/yellow "warning lights" confuse the
> >line-counting algorithm used by the "disk" status view. If you do a
> >"view source" of the disk status page, there is a line like this:
> >
> >   <!-- linecount=9 -->
> >   <table summary="disk Graph"><tr><td><A 
> >
> >near the bottom. The linecount should match the number of filesystems
> >in your status message, +/- 1.
> 
> It has <!-- linecount=18 -->. I have 3 lines with the red/yellow 
> "warning lights", 1 heading line from the df, and the 14 filesystems.

OK, so it is as I expected. This is fixed in the current snapshot,
available from http://www.hswn.dk/beta/ - or just grab this file
http://www.hswn.dk/beta/snapshot/lib/htmllog.c, copy it on top of
your hobbit-4.1.2/lib/htmllog.c and run "make" + "make install".


Regards,
Henrik




More information about the Xymon mailing list