[Xymon] Empty graph place holders in 4.3.5

FORD Alan Alan.FORD at stanwell.com
Wed Jan 4 08:06:47 CET 2012


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 nicely) 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 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

See the following extract from a "View source" of my web page.

<br><br><a name="begindata"> </a>
<BR><BR><CENTER><FORM ACTION="/xymon-cgi/history.sh"><INPUT TYPE=SUBMIT VALUE="HISTORY"><INPUT TYPE=HIDDEN NAME="HISTFILE" VALUE="jackfpro.ora_ts"><INPUT TYPE=HIDDEN NAME="ENTRIES" VALUE="50"><INPUT TYPE=HIDDEN NAME="IP" VALUE="0.0.0.0"><INPUT TYPE=HIDDEN NAME="DISPLAYNAME" VALUE="jackfpro"></FORM></CENTER>
<CENTER><TABLE ALIGN=CENTER BORDER=0 SUMMARY="Detail Status">
<TR><TD ALIGN=LEFT><H3> Wed Jan  4 16:57:25 EST 2012 <BR> </H3><br><table border=2><tr><th>Tablespace</th><th>Max Space</th><th>Allocated Space</th><th>Used Space</th><th>Free Maximum</th><th>Free Allocated</th><th>Max Used</th><th>Alloc Used</th></tr><tr></H3>
<PRE>
<td>JACKFO_IDX</td>
<td align=right>20480 MB</td>
<td align=right>2000 MB</td>
<td align=right>1682 MB</td>
<td align=right>18798 MB</td>
<td align=right>318 MB</td>
<td align=right> 8%</td>
<td align=right> 84%</td>
</tr>
<tr>
<td>JACKFO_TBL</td>
<td align=right>20480 MB</td>
<td align=right>1800 MB</td>
<td align=right>1565 MB</td>
<td align=right>18915 MB</td>
<td align=right>235 MB</td>
<td align=right> 8%</td>
<td align=right> 87%</td>
</tr>
<tr>
<td>SYSAUX</td>
<td align=right>32768 MB</td>
<td align=right>830 MB</td>
<td align=right>775 MB</td>
<td align=right>31993 MB</td>
<td align=right>55 MB</td>
<td align=right> 2%</td>
<td align=right> 93%</td>
</tr>
<tr>
<td>SYSTEM</td>
<td align=right>32768 MB</td>
<td align=right>1600 MB</td>
<td align=right>1591 MB</td>
<td align=right>31177 MB</td>
<td align=right>9 MB</td>
<td align=right> 5%</td>
<td align=right> 99%</td>
</tr>
<tr>
<td>UNDOTBS1</td>
<td align=right>16384 MB</td>
<td align=right>8300 MB</td>
<td align=right>494 MB</td>
<td align=right>15890 MB</td>
<td align=right>7806 MB</td>
<td align=right> 3%</td>
<td align=right> 6%</td>
</tr>
<tr>
<td>USERS</td>
<td align=right>8192 MB</td>
<td align=right>200 MB</td>
<td align=right>3 MB</td>
<td align=right>8189 MB</td>
<td align=right>197 MB</td>
<td align=right> 0%</td>
<td align=right> 2%</td>
</tr>
</table>
<!--LARRD JACKFO_IDX:20480:2000:1682:18798:318:8:84: -->
<!--LARRD JACKFO_TBL:20480:1800:1565:18915:235:8:87: -->
<!--LARRD SYSAUX:32768:830:775:31993:55:2:93: -->
<!--LARRD SYSTEM:32768:1600:1591:31177:9:5:99: -->
<!--LARRD UNDOTBS1:16384:8300:494:15890:7806:3:6: -->
<!--LARRD USERS:8192:200:3:8189:197:0:2: -->
</PRE>
</TD></TR></TABLE>
<br><br>
<table align="center" border=0 summary="Status report info">
<tr><td align="center"><font COLOR="#87a9e5" SIZE="-1">Status unchanged in 1 days,8 hours, 9 minutes<br>
Status message received from 10.203.12.13<br>
</font></td></tr>
</table>
<!-- linecount=66 -->
<table summary="ora_ts Graph"><tr><td><A HREF="/xymon-cgi/showgraph.sh?host=jackfpro&service=ora_ts&graph_width=576&graph_height=120&first=1&count=1&disp=jackfpro&nostale&color=green&graph_start=1325487629&graph_end=1325660429&action=menu"><IMG BORDER=0 SRC="/xymon-cgi/showgraph.sh?host=jackfpro&service=ora_ts&graph_width=576&graph_height=120&first=1&count=1&disp=jackfpro&nostale&color=green&graph_start=1325487629&graph_end=1325660429&graph=hourly&action=view" ALT="xymongraph ora_ts"></A></td><td> <td align="left" valign="top"> <a href="/xymon-cgi/showgraph.sh?host=jackfpro&service=ora_ts&graph_width=576&graph_height=120&first=1&count=1&disp=jackfpro&nostale&color=green&graph_start=1325487629&graph_end=1325660429&graph=custom&action=selzoom"> <img src="/xymon/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding: 3px'> </a> </td></tr></table>


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<http://www.stanwell.com>


This email is to be read subject to the email disclaimer located at http://www.stanwell.com/email-disclaimer.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120104/f6d6f7b3/attachment.html>


More information about the Xymon mailing list