<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 15 November 2013 07:05, Asif Iqbal <span dir="ltr"><<a href="mailto:vadud3@gmail.com" target="_blank">vadud3@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>This creates only one graph. How do I create multiple graphs? one for foo,ds1.rrd and one for foo,ds2.rrd ?</div></div></div></div></blockquote><div><br>

</div><div>I think the "::100" trick is related to how many lines to put onto one mult-graph before splitting into separate graphs.  This is the "linecount" value.  If you use "::1" then you should get two graphs, each one 1 line.  I've never found this very predictable, and when I try to manipulate it, I get broken graphs.  But worth you giving it a try.</div>

<div><br></div><div>Another thing you can do is output a comment saying "<!-- linecount=nnn -->" in your status message.  Xymon detects this and sets the linecount value for displaying graphs.  This is used by Devmon to control the number of lines on a graph.  If you set it to 1, then you'll probably get two separate graphs for two DSes.</div>

<div><br></div><div>Another option is to create a separate graph for each DS.  So you could have:</div><div><br></div><div>[foo]</div><div><div style="font-family:arial,sans-serif;font-size:13px"> FNPATTERN foo,(.*).rrd</div>

<div style="font-family:arial,sans-serif;font-size:13px">        TITLE foo  - ds1 and ds2 </div><div style="font-family:arial,sans-serif;font-size:13px">...</div></div><div style="font-family:arial,sans-serif;font-size:13px">

<br></div><div style="font-family:arial,sans-serif;font-size:13px">[foo1]</div><div style="font-family:arial,sans-serif;font-size:13px"><div style="font-family:arial;font-size:small"><div style="font-family:arial,sans-serif;font-size:13px">

 FNPATTERN foo,ds1.rrd</div><div style="font-family:arial,sans-serif;font-size:13px">        TITLE foo  - ds1 </div><div style="font-family:arial,sans-serif;font-size:13px">...</div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">

[foo2]</div><div style="font-family:arial,sans-serif;font-size:13px"><div style="font-family:arial;font-size:small"><div style="font-size:13px;font-family:arial,sans-serif"> FNPATTERN foo,ds2.rrd</div><div style="font-size:13px;font-family:arial,sans-serif">

        TITLE foo  - ds2 </div><div style="font-size:13px;font-family:arial,sans-serif">...</div><div><br></div><div>Then in hosts.cfg, adjust TRENDS to have foo:foo|foo1|foo2 if you want all three graphs on the trends page.  However, the status page will only show the [foo] graph.</div>

<div><br></div><div>J</div><div><br></div></div></div></div></div></div></div></div></div>