<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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Arial Narrow";
        panose-1:2 11 6 6 2 2 2 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle26
        {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]><![endif]--><!--[if gte mso 9]><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">It’s getting confused because you aren’t sending your data in the format it wants, where the label /colon/value are the only things on the line for the NCV module to capture.  I would break it up into two files,
 the status message with HTML formatting and removing the colons, and the data message with just the label/colon/value on a line.  Not sure how you send a data message though as it just creates files so you’ll have to figure that part out as all mine are under
 Linux.  FYI, RRD dataset labels are limited to 19 characters.  It will truncate the label at 19 which could result in duplicates.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">FILE1 (status):</span></p>
<p class="MsoNormal"><span style="color:#1F497D">green 06/17/2016 14:39:20</span></p>
<p class="MsoNormal"><span style="color:#1F497D">ASP.NET Application Information </span>
</p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">&green<td>Everything is looking just fine! &green</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><table></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><tr><td>&green</td><td>Connections Current&#58;</td><td>9</td></tr></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Etc,etc,etc</span></p>
<p class="MsoNormal"><span style="color:#1F497D"></table></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">/FILE1</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">FILE2 (data):</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Connections Current:9</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Requests Current:3</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Etc,etc,etc</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">/FILE2</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p id="c1-id-6" style="FONT-FAMILY: Arial"><span id="c1-id-7" style="FONT-SIZE: 8pt; FONT-FAMILY: Calibri; LETTER-SPACING: normal"><strong id="c1-id-39"><span id="c1-id-41" style="font-size:9pt">Scot Kreienkamp  | Senior Systems Engineer | La-Z-Boy Corporate</span></strong><br id="c1-id-8">
</span><span id="c1-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: Scot.Kreienkamp@la-z-boy.com</span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Foster Patch [mailto:Foster.Patch@accuweather.com]
<br>
<b>Sent:</b> Friday, June 17, 2016 10:41 AM<br>
<b>To:</b> Scot Kreienkamp; xymon@xymon.com<br>
<b>Subject:</b> RE: Xymon Graph propagated with -nan</span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">Here is the text file that is created:</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">green 06/17/2016 14:39:20</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">ASP.NET Application Information
</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">&green Everything is looking just fine! &green</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">&green   Connections Current:   9</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">&green   Requests Current:         3</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">&green   Request Wait Time:      0</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">&green   Requests Queued:        0</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">&green   Request Exec Time:      3009</span></p>
<div style="border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">You are suggesting I add an additional part to this that is for data only? Is there any way I can change my status message so it is parsed correctly? Or should I just change it to HTML
 and include a data section?</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">Foster</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="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" style="margin-left:.5in"><b>From:</b> Scot Kreienkamp [<a href="mailto:Scot.Kreienkamp@la-z-boy.com">mailto:Scot.Kreienkamp@la-z-boy.com</a>]
<br>
<b>Sent:</b> Friday, June 17, 2016 10:36 AM<br>
<b>To:</b> Foster Patch <<a href="mailto:Foster.Patch@accuweather.com">Foster.Patch@accuweather.com</a>>;
<a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
<b>Subject:</b> RE: Xymon Graph propagated with -nan</p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">The script must report values in a specific format in either a status message or a data message, separated by a colon like so:</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">$LABEL:$VALUE</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">Otherwise the NCV module will not pick it up. 
</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">Here’s some examples from my workstations, everything between the BEGIN/END but not including the BEGIN/END lines is sent as the status message, including the blank lines:</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">BEGIN</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">status corpvskreienl.na.lzb.hq.mounts green Fri Jun 17 10:29:34 EDT 2016 OK</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><table border=1></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><tr><td>Color</td><td>Device</td><td>Mount Location</td><td>Filesystem type</td><td>Options</td></tr></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><tr><td>&green</td><td>rootfs</td><td>/</td><td>rootfs</td><td>rw</td></tr></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"></table></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">END</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">And a data message:</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">BEGIN</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">data corpvskreienl.na.lzb.hq.mounts
</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">C:80</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">D:60</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">END</span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="color:#1F497D">My tests all send status messages using HTML formatting, being very careful not to send a colon anywhere in the status report so as not to confuse the NCV module.  You can use HTML formatting
 for colons, tables, etc in the status messages and they will be passed through to the browser and display properly.  I will then send a second data only message with the NCV format for the NCV module to pick up.  Good practice for me always has been to include
 a blank line before and after the message body in both status and data messages.  It used to be required due to a bug if I remember correctly, not sure if it still is but I always do it anyway out of habit and don’t have any issues. 
</span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:1.0in"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Xymon [<a href="mailto:xymon-bounces@xymon.com">mailto:xymon-bounces@xymon.com</a>]
<b>On Behalf Of </b>Foster Patch<br>
<b>Sent:</b> Friday, June 17, 2016 10:11 AM<br>
<b>To:</b><a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
<b>Subject:</b> Re: [Xymon] Xymon Graph propagated with -nan</span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:1.0in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">Hello,</p>
<p class="MsoNormal" style="margin-left:1.0in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">I have a custom monitor that I created which will monitor connections and requests. (<a href="http://pastebin.com/bdLZfFAW">http://pastebin.com/bdLZfFAW</a>) The monitor works properly, however the graphing does
 not. <span style="color:#1F497D">This image displays what is wrong with the graph:</span><a href="http://imgur.com/ZFKkPYs">http://imgur.com/ZFKkPYs</a><span style="color:#1F497D">.</span> I have also attached my rrd dump of this monitor. (<a href="http://pastebin.com/CRadmAHu">http://pastebin.com/CRadmAHu</a>)
 Finally, attached is the graph definition for the test, located in graphs.cfg (<a href="http://pastebin.com/zX1HNi3p">http://pastebin.com/zX1HNi3p</a>). I know the issue here is that the last_ds is picking up the values as “U”, which is bad, but I don’t know
 what to do about it.</p>
<p class="MsoNormal" style="margin-left:1.0in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:1.0in">Any help would be appreciated, thanks,</p>
<p class="MsoNormal" style="margin-left:1.0in"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><o:p> </o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:2.0pt;margin-right:0in;margin-bottom:2.0pt;margin-left:1.0in;text-autospace:none">
<span style="font-size:13.5pt;font-family:"Arial","sans-serif";color:#FF6600">Foster Patch</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:2.0pt;margin-right:0in;margin-bottom:2.0pt;margin-left:1.0in;text-autospace:none">
<span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:black">Web Server Technician</span></p>
<p class="MsoNormal" style="mso-margin-top-alt:2.0pt;margin-right:0in;margin-bottom:2.0pt;margin-left:1.0in;text-autospace:none">
<span style="font-size:13.5pt;font-family:"Arial","sans-serif";color:#FF6600">AccuWeather</span></p>
<p class="MsoNormal" style="margin-left:1.0in"><o:p> </o:p></p>
<p style="margin-left:.5in;line-height:10.5pt" id="c1-id-10"><span style="font-size:8.0pt;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:8.0pt;font-family:"Arial Narrow","sans-serif"">.</span></p>
</div>
</body>
</html>