[Xymon] empty/broken extra graphs place holders 4.3.17

Scott Pfister icepickjazz at gmail.com
Mon Dec 8 02:41:01 CET 2014


Upgraded from 4.2.3 to 4.3.17 and have noticed some strange behavior that
is causing empty (broken) or extra graphs in 4.3.17 for the linux-iostat
graphs as described in
http://www.docum.org/drupal/content/linux-iotstat-graphs  The linux-iostats
script has been in use for  years with out issue, until the upgrade.  Now
that we have upgraded to 4.3.17. There is only one iostat-disk.*.rrd file.
How is  first=5&count=4 calculated? it's redundant and empty.  The
first=1&count=4 is good.    See debug snipit below.  is tthe tps:Guage
is being counted as extra graph value? I've looked at this until my eyes
have crossed.  Hoping a fresh set of eyes can point me in the right
direct.ion.


[image: Inline image 1]

Image url for good graph:
http://inhobdv1/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417829129&graph_end=1418001929&graph=hourly&action=view
image url for broken graph:
http://inhobdv1/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417829129&graph_end=1418001929&graph=hourly&action=view

link address for good graph
http://inhobdv1/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417829129&graph_end=1418001929&action=menu
link address for bad graph
http://inhobdv1/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417829129&graph_end=1418001929&action=menu

*Info for Database File
/usr/local/xymon/data/rrd//inhobdv1/iostat-disk.sda.rrd*
filename = /usr/local/xymon/data/rrd//inhobdv1/iostat-disk.sda.rrd
header_size = 3416
last_update = 1417997180
rrd_version = 0003
step = 300
DSindexlast_dsmaxminminimal_heartbeattypeunknown_secvalueKb_read143473700600
DERIVE00Kb_wrtn2329971600600DERIVE03615.0495049505blk_read386947400600DERIVE
00blk_wrtn4659943200600DERIVE07230.09900990099tps01960600GAUGE015680rracf
cur_rowpdp_per_rowrowsxff0AVERAGE29515760.51AVERAGE27365760.52AVERAGE43824
5760.53AVERAGE5232885760.5


Here is the trends data that is being generated:
[root at inhobdv1 ext]# ./linux-iostat.pl
  "data .inhobdv1.trends
[iostat-part.sda2.rrd]
DS:tps:GAUGE:600:0:U 194
DS:Kb_read:DERIVE:600:0:U 4332903
DS:Kb_wrtn:DERIVE:600:0:U 31769268
DS:blk_read:DERIVE:600:0:U 8665806
DS:blk_wrtn:DERIVE:600:0:U 63538536

[iostat-disk.sda.rrd]
DS:tps:GAUGE:600:0:U 197
DS:Kb_read:DERIVE:600:0:U 4349850
DS:Kb_wrtn:DERIVE:600:0:U 33425316
DS:blk_read:DERIVE:600:0:U 8699700
DS:blk_wrtn:DERIVE:600:0:U 66850632

[iostat-part.sda1.rrd]
DS:tps:GAUGE:600:0:U 000
DS:Kb_read:DERIVE:600:0:U 10587
DS:Kb_wrtn:DERIVE:600:0:U 28
DS:blk_read:DERIVE:600:0:U 21174
DS:blk_wrtn:DERIVE:600:0:U 56

[iostat-part.sda3.rrd]
DS:tps:GAUGE:600:0:U 003
DS:Kb_read:DERIVE:600:0:U 5732
DS:Kb_wrtn:DERIVE:600:0:U 1656020
DS:blk_read:DERIVE:600:0:U 11464
DS:blk_wrtn:DERIVE:600:0:U 3312040

"


*Debug snippit from service=trends from svcstatus.cgi *
23233 2014-12-07 18:22:30 rrdlink_text: host inhobdv1, rrd disk
23233 2014-12-07 18:22:30 rrdlink_url: host inhobdv1, rrd disk
(partname:(NULL), maxgraphs:0, count=8)
23233 2014-12-07 18:22:30 URLtext: <table summary="disk Graph"><tr><td><A
HREF="/xymon-cgi/showgraph.sh?host=inhobdv1&service=disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&action=menu"><IMG
BORDER=0
SRC="/xymon-cgi/showgraph.sh?host=inhobdv1&service=disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=hourly&action=view"
ALT="xymongraph disk"></A></td><td> <td align="left" valign="top"> <a
href="/xymon-cgi/showgraph.sh?host=inhobdv1&service=disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=custom&action=selzoom">
<img src="/xymon/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding:
3px'> </a> </td></tr></table>
<table summary="disk Graph"><tr><td><A
HREF="/xymon-cgi/showgraph.sh?host=inhobdv1&service=disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&action=menu"><IMG
BORDER=0
SRC="/xymon-cgi/showgraph.sh?host=inhobdv1&service=disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=hourly&action=view"
ALT="xymongraph disk"></A></td><td> <td align="left" valign="top"> <a
href="/xymon-cgi/showgraph.sh?host=inhobdv1&service=disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=custom&action=selzoom">
<img src="/xymon/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding:
3px'> </a> </td></tr></table>

23233 2014-12-07 18:22:30 rrdlink_url: host inhobdv1, rrd iostat-disk
(partname:(NULL), maxgraphs:0, count=8)
23233 2014-12-07 18:22:30 URLtext: <table summary="iostat-disk
Graph"><tr><td><A
HREF="/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&action=menu"><IMG
BORDER=0
SRC="/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=hourly&action=view"
ALT="xymongraph iostat-disk"></A></td><td> <td align="left" valign="top">
<a
href="/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=custom&action=selzoom">
<img src="/xymon/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding:
3px'> </a> </td></tr></table>
<table summary="iostat-disk Graph"><tr><td><A
HREF="/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&action=menu"><IMG
BORDER=0
SRC="/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=hourly&action=view"
ALT="xymongraph iostat-disk"></A></td><td> <td align="left" valign="top">
<a
href="/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=custom&action=selzoom">
<img src="/xymon/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding:
3px'> </a> </td></tr></table>


<br><br><a name="begindata"> </a>
<CENTER><TABLE ALIGN=CENTER BORDER=0 SUMMARY="Detail Status">
<TR><TH><FONT SIZE="+1" COLOR="#FFFFCC" FACE="Tahoma, Arial,
Helvetica">inhobdv1 - trends</FONT><BR><HR WIDTH="60%"></TH></TR>
<TR><TD ALIGN=LEFT>
<table summary="la Graph"><tr><td><A
HREF="/xymon-cgi/showgraph.sh?host=inhobdv1&service=la&graph_width=576&graph_height=120&first=1&count=1&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&action=menu"><IMG
BORDER=0
SRC="/xymon-cgi/showgraph.sh?host=inhobdv1&service=la&graph_width=576&graph_height=120&first=1&count=1&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=hourly&action=view"
ALT="xymongraph la"></A></td><td> <td align="left" valign="top"> <a
href="/xymon-cgi/showgraph.sh?host=inhobdv1&service=la&graph_width=576&graph_height=120&first=1&count=1&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=custom&action=selzoom">
<img src="/xymon/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding:
3px'> </a> </td></tr></table>
<table summary="disk Graph"><tr><td><A
HREF="/xymon-cgi/showgraph.sh?host=inhobdv1&service=disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&action=menu"><IMG
BORDER=0
SRC="/xymon-cgi/showgraph.sh?host=inhobdv1&service=disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=hourly&action=view"
ALT="xymongraph disk"></A></td><td> <td align="left" valign="top"> <a
href="/xymon-cgi/showgraph.sh?host=inhobdv1&service=disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=custom&action=selzoom">
<img src="/xymon/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding:
3px'> </a> </td></tr></table>
<table summary="disk Graph"><tr><td><A
HREF="/xymon-cgi/showgraph.sh?host=inhobdv1&service=disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&action=menu"><IMG
BORDER=0
SRC="/xymon-cgi/showgraph.sh?host=inhobdv1&service=disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=hourly&action=view"
ALT="xymongraph disk"></A></td><td> <td align="left" valign="top"> <a
href="/xymon-cgi/showgraph.sh?host=inhobdv1&service=disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=custom&action=selzoom">
<img src="/xymon/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding:
3px'> </a> </td></tr></table>
<table summary="iostat-disk Graph"><tr><td><A
HREF="/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&action=menu"><IMG
BORDER=0
SRC="/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=hourly&action=view"
ALT="xymongraph iostat-disk"></A></td><td> <td align="left" valign="top">
<a
href="/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=1&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=custom&action=selzoom">
<img src="/xymon/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding:
3px'> </a> </td></tr></table>
<table summary="iostat-disk Graph"><tr><td><A
HREF="/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&action=menu"><IMG
BORDER=0
SRC="/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=hourly&action=view"
ALT="xymongraph iostat-disk"></A></td><td> <td align="left" valign="top">
<a
href="/xymon-cgi/showgraph.sh?host=inhobdv1&service=iostat-disk&graph_width=576&graph_height=120&first=5&count=4&disp=inhobdv1&graph_start=1417821750&graph_end=1417994550&graph=custom&action=selzoom">
<img src="/xymon/gifs/zoom.gif" border=0 alt="Zoom graph" style='padding:
3px'> </a> </td></tr></table>

Thanks for the help.

scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141207/7ce44e78/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-12-07 at 8.15.34 PM.png
Type: image/png
Size: 31284 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141207/7ce44e78/attachment.png>


More information about the Xymon mailing list