Xymon Mailing List Archive search

Too many line on disk graph

list Henrik Størner
Thu, 3 Nov 2005 23:49:17 +0100
Message-Id: <user-5fe77c407f81@xymon.invalid>

On Thu, Nov 03, 2005 at 01:40:27PM -0500, John Glowacki wrote:
This is close. I have 14 filesystems. The first 3 graphs show 4 
filesystems each. The forth graph shows 2 filesystems. And there is a 
5th graph which is empty.

If I look under trends I see the 4 graphs I would expect to see. The 
graphs display exactly like the disk web page except I don't see the 5th 
empty graph.
The difference in behaviour comes from how the number of disk graphs
is determined; the "disk" view counts the number of lines in the
current status-message, whereas the "trends" view actually counts
the number of disk*.rrd files stored (there is one such file for each
graph).

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.


Henrik