[Xymon] Empty graph place holders in 4.3.5

FORD Alan Alan.FORD at stanwell.com
Thu Jan 5 03:24:46 CET 2012


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:jlaidman at rebel-it.com.au] 
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 <Alan.FORD at stanwell.com> 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



More information about the Xymon mailing list