<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hi all<br><br></div>I just hit an interesting graphing issue, which I resolved, and I believe the list could benefit from.<br><br></div>I have a custom test, <a href="http://www.xymonton.org/monitors:bb-zfs">http://www.xymonton.org/monitors:bb-zfs</a> running on two hosts.<br>
</div>Sticking to tradition, let's call them foo and bar.<br></div>The test status appears fine for both hosts, with graphs for foo, but no graph for bar.<br></div>The rrd file is correctly populated for both, and the graphs appeared correctly on the trends column.<br>
<br></div>I eventually traced it back to the <span style="font-family:courier new,monospace">graphs.cfg</span> definition.<br>I had <br><span style="font-family:courier new,monospace">FNPATTERN zfs,(.*).rrd</span><br></div>
However, on bar, I also had a zpool called testzfs, with file systems, among them, testzfs/test1<br>This meant that disk (file system) monitoring was creating rrd files <span style="font-family:courier new,monospace">disk,test<b>zfs,</b>test1.rrd</span><br>
</div>The defined <span style="font-family:courier new,monospace">FNPATTERN </span>would match this file too, and was trying to graph the zfs rrd files with some of the disk rrd files. And wasn't too happy about it.<br>
<br></div>To fix it, I changed the <span style="font-family:courier new,monospace">FNPATTERN </span>definition to<br><span style="font-family:courier new,monospace">FNPATTERN <b>^</b>zfs,(.*).rrd</span><br></div>And all was good.<br>
<br></div><div>Anybody using the zfs test might want to make this change. I have updated Xymonton already, but I am guessing the same "bug" might exist in other tests too.<br></div><div><br></div>Regards<br>Vernon<br>
<div><div><div><div><br clear="all"><div><div><div><div><div><div><div><div><div><div><br>-- <br><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div>

</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>