<div dir="ltr">Hi Scott yep...<div><br></div><div>TEST2RRD="cpu=la,disk,inode,qtree,memory,$PINGCOLUMN=tcp,http=tcp,dns=tcp,dig=tcp,time=ntpstat,vmstat,iostat,netstat,temperature,apache,bind,sendmail,mailq,nmailq=mailq,socks,bea,iishealth,citrix,bbgen,bbtest,bbproxy,hobbitd,files,procs=processes,ports,clock,lines,deltalines,ops,stats,cifs,JVM,JMS,HitCache,Session,JDBCConn,ExecQueue,JTA,TblSpace,RollBack,MemReq,InvObj,snapmirr,snaplist,snapshot,if_load=devmon,temp=devmon,paging,mdc,mdchitpct,cics,dsa,getvis,maxuser,nparts,xymongen,xymonnet,xymonproxy,xymond,nginx" </div><div><br></div><div><br></div><div><div>The definitions are here <a href="https://github.com/ZeWaren/xymon-nginx/blob/master/graphs.cfg">https://github.com/ZeWaren/xymon-nginx/blob/master/graphs.cfg</a><br><br><div>[nginx_connections]</div><div>    FNPATTERN ^nginx_connections.rrd</div><div>    TITLE Nginx connections</div><div>    YAXIS</div><div>    DEF:total@RRDIDX@=@RRDFN@:total:AVERAGE</div><div>    DEF:waiting@RRDIDX@=@RRDFN@:waiting:AVERAGE</div><div>    DEF:reading@RRDIDX@=@RRDFN@:reading:AVERAGE</div><div>    DEF:writing@RRDIDX@=@RRDFN@:writing:AVERAGE</div><div>    AREA:total@RRDIDX@#FFC3C0:Total          :0</div><div>    GPRINT:total@RRDIDX@:LAST: Current\: %4.0lf</div><div>    GPRINT:total@RRDIDX@:AVERAGE: Average\: %4.0lf</div><div>    GPRINT:total@RRDIDX@:MAX: Max\: %4.0lf \n</div><div>    AREA:waiting@RRDIDX@#FF0000:Waiting             :1</div><div>    GPRINT:waiting@RRDIDX@:LAST: Current\: %4.0lf</div><div>    GPRINT:waiting@RRDIDX@:AVERAGE: Average\: %4.0lf</div><div>    GPRINT:waiting@RRDIDX@:MAX: Max\: %4.0lf \n</div><div>    AREA:reading@RRDIDX@#FF7D00:Reading             :1</div><div>    GPRINT:reading@RRDIDX@:LAST: Current\: %4.0lf</div><div>    GPRINT:reading@RRDIDX@:AVERAGE: Average\: %4.0lf</div><div>    GPRINT:reading@RRDIDX@:MAX: Max\: %4.0lf \n</div><div>    AREA:writing@RRDIDX@#FFF200:Writing             :1</div><div>    GPRINT:writing@RRDIDX@:LAST: Current\: %4.0lf</div><div>    GPRINT:writing@RRDIDX@:AVERAGE: Average\: %4.0lf</div><div>    GPRINT:writing@RRDIDX@:MAX: Max\: %4.0lf \n</div><div><br></div><div>[nginx_requests]</div><div>    FNPATTERN ^nginx_requests.rrd</div><div>    TITLE Nginx requests</div><div>    YAXIS</div><div>    DEF:handreq@RRDIDX@=@RRDFN@:handreq:AVERAGE</div><div>    DEF:handconn@RRDIDX@=@RRDFN@:handconn:AVERAGE</div><div>    DEF:accepted@RRDIDX@=@RRDFN@:accepted:AVERAGE</div><div>    AREA:handreq@RRDIDX@#FF0000:Requests          :0</div><div>    GPRINT:handreq@RRDIDX@:LAST: Current\: %4.0lf</div><div>    GPRINT:handreq@RRDIDX@:AVERAGE: Average\: %4.0lf</div><div>    GPRINT:handreq@RRDIDX@:MAX: Max\: %4.0lf \n</div><div>    AREA:accepted@RRDIDX@#00FF00:Accepted connections            :1</div><div>    GPRINT:accepted@RRDIDX@:LAST: Current\: %4.0lf</div><div>    GPRINT:accepted@RRDIDX@:AVERAGE: Average\: %4.0lf</div><div>    GPRINT:accepted@RRDIDX@:MAX: Max\: %4.0lf \n</div><div>    AREA:handconn@RRDIDX@#0000FF:Handled connections             :1</div><div>    GPRINT:handconn@RRDIDX@:LAST: Current\: %4.0lf</div><div>    GPRINT:handconn@RRDIDX@:AVERAGE: Average\: %4.0lf</div><div>    GPRINT:handconn@RRDIDX@:MAX: Max\: %4.0lf \n</div><div><br></div></div><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div></div></div></div></div></div>
<br><div class="gmail_quote">On 8 June 2018 at 16:21, Scot Kreienkamp <span dir="ltr"><<a href="mailto:Scot.Kreienkamp@la-z-boy.com" target="_blank">Scot.Kreienkamp@la-z-boy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_3829148272198394051WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Can you post the graph definition and the test2rrd definition?</span></p><span class="gmail-">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-left:0.5in"></p>
<p id="gmail-m_3829148272198394051c1-id-6" style="font-family:Arial"><span id="gmail-m_3829148272198394051c1-id-7" style="font-size:8pt;font-family:Calibri;letter-spacing:normal"><strong id="gmail-m_3829148272198394051c1-id-39"><span id="gmail-m_3829148272198394051c1-id-41" style="font-size:9pt">Scot Kreienkamp |Senior Systems Engineer | La-Z-Boy Corporate</span></strong><br id="gmail-m_3829148272198394051c1-id-8">
</span><span id="gmail-m_3829148272198394051c1-id-9" style="font-size:8pt;font-family:Calibri;letter-spacing:normal">One La-Z-Boy Drive| Monroe, Michigan 48162 | Office: 734-384-6403 | | Mobile: 7349151444 | Email: <a href="mailto:Scot.Kreienkamp@la-z-boy.com" target="_blank">Scot.Kreienkamp@la-z-boy.com</a></span></p>
<b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b></span><span style="font-size:11pt;font-family:Calibri,sans-serif"> Xymon [mailto:<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.<wbr>com</a>]
<b>On Behalf Of </b>Rich Jones<br>
<b>Sent:</b> Friday, June 8, 2018 10:56 AM<br>
<b>To:</b> Scot Kreienkamp <<a href="mailto:Scot.Kreienkamp@la-z-boy.com" target="_blank">Scot.Kreienkamp@la-z-boy.com</a>><br>
<b>Cc:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> Re: [Xymon] RRD graph not working for only one test</span><span class="gmail-">
<p></p>
<p class="MsoNormal" style="margin-left:0.5in"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12pt;margin-left:0.5in">
Yep, they are in graphs.cfg<br>
I see the following in the error log though... but i can't see it actually looking for a graph titled 'nginx'</p>
<div>
<p class="MsoNormal" style="margin-left:0.5in">[Fri Jun 08 14:51:40.699316 2018] [cgi:error] [pid 26294:tid 139975110661888] [client ***.***.***.**:53876] AH01215: Setup error: Service nginx has a graph nginx, but no graph-definition: /usr/local/xymon/cgi-bin/<wbr>svcstatus.sh,
 referer: <a href="https://****/xymon/aws/aws.html" target="_blank">https://****/xymon/aws/aws.<wbr>html</a></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:0.5in"><u></u> <u></u></p>
</div>
</div>
</span><div><span class="gmail-">
<p class="MsoNormal" style="margin-left:0.5in"><br clear="all">
</p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<table class="gmail-m_3829148272198394051MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="0" style="width:24pt;margin-left:0.5in">
<tbody>
<tr>
<td style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(153,153,153);padding:0in">
<p class="MsoNormal"><strong><span style="font-size:9pt;font-family:Helvetica,sans-serif;color:rgb(255,135,0)">Rich Jones</span></strong><span style="font-size:9pt;font-family:Helvetica,sans-serif;color:rgb(255,135,0)"> | Systems Developer</span></p>
</td>
</tr>
<tr>
<td style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(153,153,153);padding:7.5pt 0in">
<p class="MsoNormal"><span style="font-size:9pt;font-family:Helvetica,sans-serif;color:rgb(153,153,153)">Corporation Pop<br>
<a href="https://maps.google.com/?q=21-23+Shudehill+%0D%0AManchester+M4+2AF&entry=gmail&source=g">21-23 Shudehill</a><br>
Manchester M4 2AF<br>
0161 838 0808</span></p>
</td>
</tr>
<tr>
<td style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(153,153,153);padding:0in">
<p class="MsoNormal"><span style="font-size:9pt;font-family:Helvetica,sans-serif;color:rgb(153,153,153)"><a href="http://www.corporationpop.co.uk/" target="_blank"><span style="color:rgb(255,135,0);text-decoration:none">www.corporationpop.co.uk</span></a></span></p>
</td>
</tr>
<tr>
<td style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(153,153,153);padding:7.5pt 0in 0in">
<p class="MsoNormal"><span style="font-size:10pt;font-family:Helvetica,sans-serif;color:rgb(153,153,153)">This email message (and any attached file) is intended only for the use of the individual or entity to whom the sender intended it to be addressed and may contain
 information that constitutes a trade secret, or that is privileged, confidential or subject to copyright. No part of it may be circulated, quoted, or reproduced without prior written approval from Corporation Pop Ltd. The contents of this document are strictly
 confidential and owned by Corporation Pop Ltd. Copyright © Corporation Pop Ltd. All rights reserved. Corporation Pop is a limited company registered in England + Wales. Company number 4869229. VAT number 533 8932 26.</span></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-left:0.5in"><u></u> <u></u></p>
</span><div><span class="gmail-">
<p class="MsoNormal" style="margin-left:0.5in">On 8 June 2018 at 15:53, Scot Kreienkamp <<a href="mailto:Scot.Kreienkamp@la-z-boy.com" target="_blank">Scot.Kreienkamp@la-z-boy.com</a>> wrote:</p>
</span><blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div><span class="gmail-">
<p class="MsoNormal" style="margin-left:0.5in">
<span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Did you put the graph definition in either graphs.d or graphs.cfg?</span></p>
</span><p class="MsoNormal" style="margin-left:0.5in"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> Xymon [mailto:<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.<wbr>com</a>]
<b>On Behalf Of </b>Rich Jones<span class="gmail-"><br>
<b>Sent:</b> Friday, June 8, 2018 10:31 AM<br>
<b>To:</b><a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> [Xymon] RRD graph not working for only one test</span></span></p><span class="gmail-">
<div>
<div>
<p class="MsoNormal" style="margin-left:1in">
 </p>
<div>
<p class="MsoNormal" style="margin-bottom:12pt;margin-left:1in">
Hi all, weird one... Have been playing about with the following nginx monitor <a href="https://github.com/ZeWaren/xymon-nginx" target="_blank">
https://github.com/ZeWaren/<wbr>xymon-nginx</a> and I can't get the graphs to work at all.<br>
<br>
The test runs fine (as far as I can tell, i have modified the script to output the data for the graph and that all looks fine), it sends it's data etc and I can see the .rrd files created. However Xymon doesn't want to display them at<span style="font-family:Arial,sans-serif">
 all. I simply end up with alt text and the magnifying glass. Clicking the magnifying glass results in the "<span style="color:black">Cannot access RRD directory" error.<br>
</span></span><br>
I have performed an rrdtool dump on the offending graph and compared it with other .rrd files, doesn't look to be any issue. Permissions are all the same across all the data/rrd/host etc.<br>
<br>
Has anyone else had this issue or similar? Any ideas?<br>
I'm running Xymon 4.3.28</p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:1in">
Cheers, Rich</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</span></div><span class="gmail-">
<p style="margin-left:0.5in;line-height:10.5pt" id="gmail-m_3829148272198394051m_302702115219552584c1-id-10">
<span style="font-size:8pt;font-family:Arial,sans-serif;color:black">This message is intended only for the individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable
 laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify
 us immediately by e-mail or by telephone at the above number. Thank you</span><span style="font-size:8pt;font-family:"Arial Narrow",sans-serif">.</span></p>
</span></div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:0.5in"><u></u> <u></u></p>
</div>
</div>
</div>

</blockquote></div><br></div></div></div>