<div dir="ltr">OK, to close this off (in the absence of any way to override the behaviour of svcstatus.cgi), I made sure that I had exactly one RRD file (everything up to the first comma in the filename, or the .rrd at the end) to match the entry in GRAPHS, and all of the broken graphs disappeared. I'm happy now.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 27 March 2017 at 12:35, Jeremy Laidman <span dir="ltr"><<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On 27 March 2017 at 12:16, Jeremy Laidman <span dir="ltr"><<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">It's weird how the exact same graph definition attempts to display one too many graphs for one server, and two too many graphs for another. It's a mystery how svcstatus.cgi determines how many graphs to show.<br></div></div></blockquote><div><br></div></span><div>To answer my own questions, actually, it's fairly simple, and is based on the number of RRD files matching the testname. The test name that's broken for me is "bindstats". I have a file called "bindstats.rrd", but I also have a bunch of other files with names of the form "bindstats,<string>.rrd" (starting with "bindstats" and followed by a comma and some other text). In all, there are 14 files matching in this day, for one server, and 11 for another. It seems that svcstatus.cgi has a maximum of 6 lines per graph, so for 11 files, it thinks there are two graphs to create (6+5), and for 14 files, it thinks there are three graphs (5+5+4).</div><div><br></div><div>I think that my mistake was making different files, for different graphs, but giving them essentially the same names (with different suffixes separated by comma). If I rename the graphs to be completely different, then svcstatus.cgi will only see one file, and won't try to create graphs for non-existent lines.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>J</div></font></span></div></div></div>
</blockquote></div><br></div>