From Alan.FORD@stanwell.com Wed Jun 24 08:21:24 2026 From: Alan.FORD@stanwell.com To: xymon@xymon.com Subject: [Xymon] Empty graph place holders in 4.3.5 Date: Wed, 04 Jan 2012 07:06:47 +0000 Message-ID: <54CFCF7376079F4D9F7BE49DE3E4FA3B2034DD11@DC1EXCMBX01.stanwell.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9094925230853836741==" --===============9094925230853836741== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all, I have xymon 4.3.5 and this used to work in 4.2.3. I have a message that I send to Xymon to display and graph the size of Oracle= Tablespaces. The message contains a combination of HTML table formatted data (to display n= icely) and hidden data (for RRD to use). Since upgrading to 4.3.5 I have been getting extra empty graph place holders. For example I have 6 tablespaces to graph but it shows 67. The first 6 are ok= ay, but the rest are invalid. What I have found is that svcstatus.cgi (I think) is counting the number of i= tems between
 and 
and using that to generate the number of graphs= . This didn't happen in 4.2.3 See the following extract from a "View source" of my web page.

 

Wed Jan 4 16:57:25 EST 2012


Used Space
TablespaceMax SpaceAllocated SpaceFree MaximumFree AllocatedMax UsedAlloc Used
JACKFO_IDX 20480 MB 2000 MB 1682 MB 18798 MB 318 MB 8% 84%
JACKFO_TBL 20480 MB 1800 MB 1565 MB 18915 MB 235 MB 8% 87%
SYSAUX 32768 MB 830 MB 775 MB 31993 MB 55 MB 2% 93%
SYSTEM 32768 MB 1600 MB 1591 MB 31177 MB 9 MB 5% 99%
UNDOTBS1 16384 MB 8300 MB 494 MB 15890 MB 7806 MB 3% 6%
USERS 8192 MB 200 MB 3 MB 8189 MB 197 MB 0% 2%


Status unchanged= in 1 days,8 hours, 9 minutes
Status message received from 10.203.12.13
=3D"xymongraph 3D"Zoom
I use this trick in a couple of other places as well.. Not sure if this is a new bug or I was exploiting an old bug ;-) Thanks Alan Ford Senior Database Administrator Com Serv - Information Communications and Technology Stanwell Corporation Limited www.stanwell.com This email is to be read subject to the email disclaimer located at http://ww= w.stanwell.com/email-disclaimer.aspx --===============9094925230853836741==-- From jlaidman@rebel-it.com.au Wed Jun 24 08:21:24 2026 From: jlaidman@rebel-it.com.au To: xymon@xymon.com Subject: [Xymon] Empty graph place holders in 4.3.5 Date: Thu, 05 Jan 2012 13:10:17 +1100 Message-ID: In-Reply-To: <54CFCF7376079F4D9F7BE49DE3E4FA3B2034DD11@DC1EXCMBX01.stanwell.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4380074150183354554==" --===============4380074150183354554== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Wed, Jan 4, 2012 at 6:06 PM, FORD Alan 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
 and 
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: > Set this to "6" and it should show only 6 graphs. Cheers Jeremy --===============4380074150183354554==-- From Alan.FORD@stanwell.com Wed Jun 24 08:21:24 2026 From: Alan.FORD@stanwell.com To: xymon@xymon.com Subject: [Xymon] Empty graph place holders in 4.3.5 Date: Thu, 05 Jan 2012 02:20:42 +0000 Message-ID: <54CFCF7376079F4D9F7BE49DE3E4FA3B2034E8BE@DC1EXCMBX01.stanwell.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5429784007088329809==" --===============5429784007088329809== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable That linecount=3D66 is being set by Xymon automagically somewhere. I'm not su= re where. I don't remember 4.2 having that linecount..=20 -----Original Message----- From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au]=20 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 wrote: > For example I have 6 tablespaces to graph but it shows 67. The first 6=20 > are okay, but the rest are invalid. > What I have found is that svcstatus.cgi (I think) is counting the=20 > number of items between
 and 
and using that to generate=20 > the number of graphs. This didn't happen in 4.2.3 I think this is what's doing it: > 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://ww= w.stanwell.com/email-disclaimer.aspx --===============5429784007088329809==-- From Alan.FORD@stanwell.com Wed Jun 24 08:21:25 2026 From: Alan.FORD@stanwell.com To: xymon@xymon.com Subject: [Xymon] Empty graph place holders in 4.3.5 Date: Thu, 05 Jan 2012 02:24:46 +0000 Message-ID: <54CFCF7376079F4D9F7BE49DE3E4FA3B2034E92E@DC1EXCMBX01.stanwell.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9187174583944659074==" --===============9187174583944659074== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 to my test... Must be a new "hidden feature" ;-) -----Original Message----- From: Jeremy Laidman [mailto:jlaidman at rebel-it.com.au]=20 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 wrote: > For example I have 6 tablespaces to graph but it shows 67. The first 6=20 > are okay, but the rest are invalid. > What I have found is that svcstatus.cgi (I think) is counting the=20 > number of items between
 and 
and using that to generate=20 > the number of graphs. This didn't happen in 4.2.3 I think this is what's doing it: > 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://ww= w.stanwell.com/email-disclaimer.aspx --===============9187174583944659074==-- From Alan.FORD@stanwell.com Wed Jun 24 08:21:25 2026 From: Alan.FORD@stanwell.com To: xymon@xymon.com Subject: [Xymon] Fixed- Empty graph place holders in 4.3.5 Date: Thu, 05 Jan 2012 02:34:06 +0000 Message-ID: <54CFCF7376079F4D9F7BE49DE3E4FA3B2034EB3D@DC1EXCMBX01.stanwell.com> In-Reply-To: <54CFCF7376079F4D9F7BE49DE3E4FA3B2034E92E@DC1EXCMBX01.stanwell.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5332929820906821554==" --===============5332929820906821554== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Just to confirm, it does work now. Added linecount to my report and works cor= rectly!! :-) Thanks... -----Original Message----- From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behal= f 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 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 wrote: > For example I have 6 tablespaces to graph but it shows 67. The first 6=20 > are okay, but the rest are invalid. > What I have found is that svcstatus.cgi (I think) is counting the=20 > number of items between
 and 
and using that to generate=20 > the number of graphs. This didn't happen in 4.2.3 I think this is what's doing it: > 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://ww= w.stanwell.com/email-disclaimer.aspx _______________________________________________ Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon --===============5332929820906821554==-- From jlaidman@rebel-it.com.au Wed Jun 24 08:21:25 2026 From: jlaidman@rebel-it.com.au To: xymon@xymon.com Subject: [Xymon] Fixed- Empty graph place holders in 4.3.5 Date: Thu, 05 Jan 2012 15:25:31 +1100 Message-ID: In-Reply-To: <54CFCF7376079F4D9F7BE49DE3E4FA3B2034EB3D@DC1EXCMBX01.stanwell.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6683295145373335390==" --===============6683295145373335390== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Thu, Jan 5, 2012 at 1:34 PM, FORD Alan wrote: > Just to confirm, it does work now. Added linecount to my report and works c= orrectly!! :-) Good news. Here's another tip: set the linecount to zero and it acts as a multi-graph, putting all graph lines on a single graph. For example: I found this by accident, but I'll use this quite a bit from now on. J --===============6683295145373335390==--