Xymon Mailing List Archive search

Fixed- Empty graph place holders in 4.3.5

list Ford Alan
Thu, 5 Jan 2012 02:34:06 +0000
Message-Id: <user-67d595212733@xymon.invalid>

Just to confirm, it does work now. Added linecount to my report and works correctly!! :-)


Thanks...

-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of FORD Alan
Sent: Thursday, 5 January 2012 12:25 PM
To: 'Jeremy Laidman'
Cc: xymon at xymon.com
Subject: Re: [Xymon] Empty graph place holders in 4.3.5

Ahhh should have had a look at the code first. Lol

In lib/htmllog.c there is a comment.

                /*
                 * See if there is already a linecount in the report.
                 * If there is, this overrides the calculation here.
                 • * From Francesco Duranti's hobbit-perl-client.
                 */

Looks like I need to add a <!-- linecount=no_of_items --> to my test...
Must be a new "hidden feature" ;-)

-----Original Message-----
From: Jeremy Laidman [mailto:user-71895fb2e44c@xymon.invalid]
Sent: Thursday, 5 January 2012 12:10 PM
To: FORD Alan
Cc: xymon at xymon.com
Subject: Re: [Xymon] Empty graph place holders in 4.3.5

On Wed, Jan 4, 2012 at 6:06 PM, FORD Alan <user-eb925835b8b9@xymon.invalid> wrote:
For example I have 6 tablespaces to graph but it shows 67. The first 6 
are okay, but the rest are invalid.
What I have found is that svcstatus.cgi (I think) is counting the 
number of items between <PRE> and </PRE> and using that to generate 
the number of graphs. This didn't happen in 4.2.3
I think this is what's doing it:
<!-- linecount=66 -->
Set this to "6" and it should show only 6 graphs.

Cheers
Jeremy

This email is to be read subject to the email disclaimer located at http://www.stanwell.com/email-disclaimer.aspx