<div dir="ltr">Hi, thanks for your reply.<div>I understand now that xymondboard is no meant to present performance data. So I will have to read the values from RRD files.</div><div><br></div><div>Is there a way to have a list that matches services with their associated rrd files?</div><div>For example:</div><div>linux04;cpu=/home/xymon/data/rrd/linux04/la.rrd</div><div>linux04;memory=/home/xymon/data/rrd/linux04/memory.actual.rrd,/home/xymon/data/rrd/linux04/memory.real.rrd,/home/xymon/data/rrd/linux04/memory.swap.rrd</div><div>checkmk;conn=/home/xymon/data/rrd/checkmk/tcp.conn.rrd</div><div>...</div><div><br></div><div>Is that information spread in some cfg files?</div><div><br></div><div>Kind regards</div><div>Enzo</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El jue., 31 ene. 2019 a las 16:00, SebA (<<a href="mailto:spah@syntec.co.uk">spah@syntec.co.uk</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Actually, I should add, you don't necessarily need the source code to the service to add ncv collection as that reference suggests - merely a way of extracting performance data from it.  You can then write a simple script to reformat that as ncv.</div><div><br></div><div><div><div dir="ltr" class="gmail-m_-5049555794550291773gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">
<div style="text-align:left"><span style="font-size:12px"><span style="font-family:arial,helvetica,sans-serif">Kind regards,<br><br>SebA<br><br></span></span></div></div></div></div></div></div></div></span></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 31 Jan 2019 at 18:52, SebA <<a href="mailto:spah@syntec.co.uk" target="_blank">spah@syntec.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>xymondboard is meant for getting summary information suitable for a custom dashboard.  Performance data is not summary information.  To extract data from Xymon it needs to be logged to Xymon in the first place.  Services tend to have different ways of extracting performance data (when there is a way), so yes, it is pretty much dependent on each service.  However, a lot of services are network server services, so a tcp query may be able to make the service do some work, and the time to respond to that query may infer how quickly the service is able to respond to other queries.  TCP response times are in the rrd files available on the trends status page.  But every service is different, so you are best off checking what is available, or can be built into, or can be monitored via an add-on script, for the specific services you are hoping to see performance data for.  If you can add features to the service (you have the source code), you could make it write ncv to a text file and get those sent to Xymon, or send the data directly from the service.  Ref: <a href="http://xymon.sourceforge.net/xymon/help/howtograph.html" target="_blank">http://xymon.sourceforge.net/xymon/help/howtograph.html</a><br></div><div><br></div><div><div><div dir="ltr" class="gmail-m_-5049555794550291773gmail-m_2333785954429175265gmail_signature"><div dir="ltr"><span><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">
<div style="text-align:left"><span style="font-size:12px"><span style="font-family:arial,helvetica,sans-serif">Kind regards,<br><br>SebA<br><br></span></span></div></div></div></div></div></div></div></span></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 31 Jan 2019 at 15:15, Enzo Medina <<a href="mailto:davidenzomedina@gmail.com" target="_blank">davidenzomedina@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hello! I am new to Xymon and I am trying to extract xymon's data from command line.<div><br></div><div>What I need: extract from Xymon list of services with the following fields:</div><div>Host;ServiceName;ServiceStatus,ServicePerfValue(if applicable);ServiceOutputText</div><div>For example:</div><div>localhost;bbd;green;;OK - bbd is ok.</div><div>localhost;cpu;green;0.23;OK - cpu is ok.</div><div>localhost;memory;yellow;0.85;WARNING - memory is 85%.</div><div>...</div><div><br></div><div>So far, I found xymon command and xymondboard subcommand:</div><div><div># /home/xymon/server/bin/xymon 127.0.0.1 "xymondboard fields=hostname,testname,color,line1"</div><div>checkmk|trends|green|</div><div>checkmk|info|green|</div><div>checkmk|http|green|green Thu Jan 31 12:09:41 2019: OK</div><div>linux04|trends|green|<br></div><div>linux04|info|green|</div><div>linux04|clientlog|green|</div><div>linux04|memory|green|green Thu Jan 31 12:09:41 -03 2019 - Memory OK<br></div></div><div><br></div><div>My problem: I cannot find a way to extract performance data from services. I tried reading RRD files, but I cannot find a general association rule between services and rrd files. It seems it is pretty much dependent of each service.</div><div><br></div><div>How is the best way to do this?</div><div><br></div><div>Kind regards</div><div>Enzo</div></div></div>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>