<div dir="ltr">Daniel<div><br></div><div>As you have suggested, there are several ways to do this. Xymon has a few built-in mechanisms to support graphing, that BB didn't have. Check out the man page for xymongraph, or the equivalent web page <<a href="http://xymon.sourceforge.net/xymon/help/howtograph.html">http://xymon.sourceforge.net/xymon/help/howtograph.html</a>> for more information.</div><div><br></div><div>The key with the built-in methods is being able to present the data values to Xymon in a structured format for it to be able to parse (eg NCV format status message, "trends" message). If you want to handle the parsing and graphing yourself, you can hook into the messaging stream directly (eg the status channel) or you could create a script that periodically fetches the current status message and parses it for the interesting data.</div><div><br></div><div>The way I tend to do telemetry collection and reporting is to do minimal work on the Xymon client and most of the work on the Xymon server. You might choose to report the status that includes a message body with a machine-parseable format, perhaps in HTML comments if you don't want the raw data displayed; then you have a server-side script get the status message from the Xymon server and create a data message, which Xymon uses to create and update RRD file(s). Another option is to arrange for the client to add information into the client message (eg by adding a script into the "sections" directory) and then server-side extract that section from client message for parsing and feeding the data into Xymon.</div><div><br></div><div>However, it's possible to do most of the work on the client, and generate "data" or "trends" messages (separately to any status messages you might want the client to send), and they get injected directly into the graphing parts of Xymon.</div><div><br></div><div>Hope that helps.</div><div><br></div><div>J</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 October 2017 at 03:53, LOZOVSKY, DANIEL L <span dir="ltr"><<a href="mailto:dl1025@att.com" target="_blank">dl1025@att.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_4930913108000070703WordSection1">
<p class="MsoNormal">I was hoping you can give me some advice in regard to graphing data. 
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have data coming in that is posted in xymon with HTML tags.  I need to parse the data out and post it into rrdtool then display it on the status page.  I am fairly new to xymon, in BB I used <a href="http://bb-larrd.pl" target="_blank">bb-larrd.pl</a> to parse the data and post it into
 rrd.  What is the best way of doing it in xymon?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I think there are several ways of accomplishing this in xymon if I am not mistaken:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="m_4930913108000070703MsoListParagraph"><u></u><span>1.<span style="font:7.0pt "Times New Roman"">     
</span></span><u></u>As the data comes into xymon and displays on the status message, I can parse out the data that I need and send it through the rrd channel<u></u><u></u></p>
<p class="m_4930913108000070703MsoListParagraph"><u></u><span>2.<span style="font:7.0pt "Times New Roman"">     
</span></span><u></u>I could also within the script that generates the data include an rrd module that will create the rrd file and post the results that I need directly to the rrdtool, but then I need to include it where so it can appear on the status page<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any suggestions will be greatly appreciated. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Here is an example of the data that I want to graph.  This is how it appears on the status page.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-size:13.5pt;font-family:"Tahoma",sans-serif">Orders in DF staging table by Process Flag
</span></b><span style="font-size:10.0pt;font-family:"Courier New""><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<div align="center">
<table class="m_4930913108000070703MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%">
<tbody>
<tr>
<td style="padding:3.0pt 3.0pt 3.0pt 3.0pt">
<p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Org<u></u><u></u></span></b></p>
</td>
<td style="padding:3.0pt 3.0pt 3.0pt 3.0pt">
<p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Creation Date<u></u><u></u></span></b></p>
</td>
<td style="padding:3.0pt 3.0pt 3.0pt 3.0pt">
<p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Process Flag<u></u><u></u></span></b></p>
</td>
<td style="padding:3.0pt 3.0pt 3.0pt 3.0pt">
<p class="MsoNormal" align="center" style="text-align:center"><b><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Reqs with no Orders<u></u><u></u></span></b></p>
</td>
</tr>
<tr>
<td style="padding:3.0pt 3.0pt 3.0pt 3.0pt">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><img width="16" height="16" id="m_4930913108000070703Picture_x0020_2" src="cid:image001.gif@01D348C0.1DA04600" alt="red"></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif">FDC<u></u><u></u></span></p>
</td>
<td style="padding:3.0pt 3.0pt 3.0pt 3.0pt">
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">10/19/17<u></u><u></u></span></p>
</td>
<td style="padding:3.0pt 3.0pt 3.0pt 3.0pt">
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">P<u></u><u></u></span></p>
</td>
<td style="padding:3.0pt 3.0pt 3.0pt 3.0pt">
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">458<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style="padding:3.0pt 3.0pt 3.0pt 3.0pt">
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><img width="16" height="16" id="m_4930913108000070703Picture_x0020_1" src="cid:image001.gif@01D348C0.1DA04600" alt="red"></span><span style="font-size:12.0pt;font-family:"Times New Roman",serif">MDC<u></u><u></u></span></p>
</td>
<td style="padding:3.0pt 3.0pt 3.0pt 3.0pt">
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">10/19/17<u></u><u></u></span></p>
</td>
<td style="padding:3.0pt 3.0pt 3.0pt 3.0pt">
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">P<u></u><u></u></span></p>
</td>
<td style="padding:3.0pt 3.0pt 3.0pt 3.0pt">
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">3249<u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u><u></u></p>
</div>
</div>

<br>______________________________<wbr>_________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/<wbr>mailman/listinfo/xymon</a><br>
<br></blockquote></div><br></div>