<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:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Opps I should know better<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Maybe CDEF:cdefwgloadcurrent=wgloadcurrent,900000,/<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> rrd-users [mailto:rrd-users-bounces+rob=vcaglobal.com@lists.oetiker.ch]
<b>On Behalf Of </b>Robert C. Seiwert<br>
<b>Sent:</b> Wednesday, September 02, 2015 5:51 PM<br>
<b>To:</b> 'Devante Vargas' <devantev@gmail.com>; rrd-users@lists.oetiker.ch rrdtool <rrd-users@lists.oetiker.ch><br>
<b>Subject:</b> [GRAYMAIL] Re: [rrd-users] graphing issues<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Sorry I don’t have time to analyze this completely but<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">CDEF:cdefwgloadcurrent=/ 9000 * 100 <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Doesn’t look valid a valid RPN expression to me. Can you tell me what this calculation is supposed to be? I’m guessing you are trying to convert this to a percent?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Maybe CDEF:cdefwgloadcurrent=</span>
<span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">wgloadcurrent 900000 /<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><a href="http://oss.oetiker.ch/rrdtool/tut/rpntutorial.en.html">http://oss.oetiker.ch/rrdtool/tut/rpntutorial.en.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> rrd-users [<a href="mailto:rrd-users-bounces+rob=vcaglobal.com@lists.oetiker.ch">mailto:rrd-users-bounces+rob=vcaglobal.com@lists.oetiker.ch</a>]
<b>On Behalf Of </b>Devante Vargas<br>
<b>Sent:</b> Wednesday, September 02, 2015 5:24 PM<br>
<b>To:</b> <a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a> rrdtool <<a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a>><br>
<b>Subject:</b> [GRAYMAIL] [rrd-users] graphing issues<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">I am currently looking to create a graph and I've already done a few but somehow I am having a whale of a time trying to get this one to work.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">to create the RRD I <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">rrdtool.exe create citrix_load.rrd <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">--start $dt <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">--step 3600 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">DS:load:GAUGE:7200:0:900000 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">DS:servers:GAUGE:7200:0:9000 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">DS:lbo:GAUGE:7200:0:9000 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">DS:sessions:GAUGE:7200:0:20000 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">RRA:MIN:0.5:1:8765 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">RRA:MAX:0.5:1:8765 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">RRA:LAST:0.5:1:8765<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">to update it I have in powershell executing the following as an example (the values were captured at the time I ran the script:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">rrdtool update citrix_load.rrd N:2433:15:0:102<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">to graph it I have the following:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">rrdtool.exe graph Application_Servers-1d.png <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">--vertical-label percentage <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">--width 600 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">--height 200 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">--start end-1d <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">DEF:wgloadcurrent=citrix_load.rrd:load:LAST <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">CDEF:cdefwgloadcurrent=/ 9000 * 100 <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">VDEF:vdefwgloadcurrent=cdefwgloadcurrent,LAST <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">AREA:cdefwgloadcurrent#0033CC<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">The issue is, even though the png gets created, there is no data in the graph. I have double checked to see if there is any data in the rrd file and there is no Area or when I used the LINE parameter there was no line either.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Am I missing something here?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Devante<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>