Xymon Mailing List Archive search

Too many line on disk graph

list Henrik Størner
Fri, 4 Nov 2005 12:29:54 +0100
Message-Id: <user-57725480043c@xymon.invalid>

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