<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.E-MailFormatvorlage20
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hi Josh,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>> </span><span lang=EN-US>Something odd I did notice was that the link to the graphs (which have no images, no rrd, etc) will say "No DS called 'inodecache' in 'unboundstats.rrd'".  </span>What is the reference to inodecache?<o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>I guess you took the graph definition from this guide (<a href="https://xymon.sourceforge.io/xymon/help/howtograph.html">https://xymon.sourceforge.io/xymon/help/howtograph.html</a>)?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>        </span><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>[slab]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               TITLE Slab info<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               YAXIS Bytes<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               DEF:inode=slab.rrd:inodecache:AVERAGE<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               DEF:dentry=slab.rrd:dentrycache:AVERAGE<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               LINE2:inode#00CCCC:Inode cache<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               LINE2:dentry#FF0000:Dentry cache<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               COMMENT:\n<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:inode:LAST:Inode cache \: %5.1lf%s (cur)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:inode:MAX: \: %5.1lf%s (max)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:inode:MIN: \: %5.1lf%s (min)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:inode:AVERAGE: \: %5.1lf%s (avg)\n<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:dentry:LAST:Dentry cache\: %5.1lf%s (cur)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:dentry:MAX: \: %5.1lf%s (max)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:dentry:MIN: \: %5.1lf%s (min)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:dentry:AVERAGE: \: %5.1lf%s (avg)\n<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>On the lines starting with ‘DEF’ you can see references to the data sources (DS) ‘inodecache’ and ‘dentrycache’, these will have different names in your case, e.g. ‘</span><span lang=EN-US>totalnumqueries’.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>You can use the ‘rrdtool dump’ command to show the data sources contained in your rrd file, if I remember correctly some of your data sources will be truncated by Xymon, e.g. totalnumqueries_ip_ratelimited might be too long.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>If you now what your DSs are called, you’ll have to edit the graph definition to reference the actual names, e.g.:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>        </span><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>[unboundstats]<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               TITLE Unbound Stats<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               YAXIS Num<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               DEF:numqueries=unboundstats.rrd:totalnumqueries:AVERAGE<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               DEF:numcachehits=unboundstats.rrd:totalnumcachehits:AVERAGE<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               LINE2:numqueries#00CCCC:Total Queries<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               LINE2:numcachehits#FF0000:Total Cache Hits<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               COMMENT:\n<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:numqueries:LAST:Inode cache \: %5.1lf%s (cur)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:numqueries:MAX: \: %5.1lf%s (max)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:numqueries:MIN: \: %5.1lf%s (min)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:numqueries:AVERAGE: \: %5.1lf%s (avg)\n<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:numcachehits:LAST:Dentry cache\: %5.1lf%s (cur)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:numcachehits:MAX: \: %5.1lf%s (max)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:numcachehits:MIN: \: %5.1lf%s (min)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>               GPRINT:numcachehits:AVERAGE: \: %5.1lf%s (avg)\n<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>You’ll need to define one DEF-line for each value you want to display on the graph (DEF:<Alias for further processing>=<rrd file name>:<data source name>:<consolidation function>).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'>Fabian<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>Von:</b> Xymon <xymon-bounces@xymon.com> <b>Im Auftrag von </b>Josh Luthman<br><b>Gesendet:</b> Dienstag, 6. Juli 2021 15:28<br><b>An:</b> Xymon MailingList <xymon@xymon.com><br><b>Betreff:</b> [Xymon] Trouble starting ext test to rrd, graph<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>I wrote a script that will pull out a few lines of unbound stats and that submission appears good.  I've got a green column by the host on the Xymon server.  The web page is showing this:<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>totalnumqueries:51<br>totalnumqueries_ip_ratelimited:0<br>totalnumcachehits:22<br>totalnumcachemiss:29<br>totalrecursiontimeavg:0075215<br>numquerytcp:0<br>numquerytcpout:0<br>numanswerrcodeSERVFAIL:0<br>unwantedqueries:0<br>unwantedreplies:0<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The part where I'm stuck at is that it won't generate RRD files.  From the help page it suggests  Ijust add a value to TEST2RRD and NCV_ like I've done here:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>TEST2RRD="<allTheDefaultsHere>,unboundstats=ncv"<br><br>NCV_unboundstats="totalnumqueries:GAUGE,totalnumqueries_ip_ratelimited:GAUGE,totalnumcachehits:GAUGE,totalnumcachemiss:GAUGE,totalrecursiontimeavg:GAUGE,numquerytcp:GAUGE,numquerytcpout:GAUGE,numanswerrcode.SERVFAIL:GAUGE,unwantedqueries:GAUGE,unwantedreplies:GAUGE"<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Something odd I did notice was that the link to the graphs (which have no images, no rrd, etc) will say "No DS called 'inodecache' in 'unboundstats.rrd'".  What is the reference to inodecache?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I have restarted it with xymonlaunch on the server.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Now the data/rrd/ directory doesn't contain a host dir, I'm pretty sure that is something that will be created by Xymon. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Any idea what I'm doing wrong?<o:p></o:p></p><div><div><div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>Josh Luthman<br>24/7 Help Desk: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<o:p></o:p></p></div></div></div></div></div></div></div></body></html>