<div dir="ltr"><div>I had originally started down the path of using the NCV method against a status message. For this particular test I am displaying a date-time range, which because of the colons ends up introducing spurious variables into the rrd file.</div><div><br></div><div>Is there a way I can configure xymonserver.cfg to ignore any "variables" in status messages and only pay attention to data messages?</div><div><br></div><div><br></div><div>And thank you for the answer to the clientlaunch.cfg question. Obvious once pointed out, it makes perfect sense to return both kinds of responses in a single program; Pointing out that the output is not going to stdout was a good clarification.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 28, 2015 at 7:18 PM, Japheth Cleaver <span dir="ltr"><<a href="mailto:cleaver@terabithia.org" target="_blank">cleaver@terabithia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>On 9/28/2015 2:04 PM, Boldt, David
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>Pardon the newbie questions.</div>
<div><br>
</div>
<div>I can't seem to find any references on the format for "data
messages".</div>
<div>Have tried sending the following, and no rrd file appears
on the server:<br>
</div>
<div><br>
</div>
<div>
<div><font face="monospace, monospace">data
igskahcmasmx01,cr,usgs,gov.msgRate</font></div>
<div><font face="monospace, monospace">messageRate: 1.3980</font></div>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</blockquote>
<br>
Hi David,<br>
<br>
No worries :)<br>
<br>
Your "data" message syntax is correct, however that by itself isn't
sufficient to generate an RRD file. For that, you generally need to
tell something that listens to the "data" channel that there's
something it should do with "msgRate" data messages. This is
typically done with a configuration in xymonserver.cfg that
indicates a) to listen for the msgRate message, and b) that it's
(probably) in a NameColonValue (NCV) format.<br>
<br>
As a shortcut, and for advanced uses when you want more control over
the specifics of how the RRDs are build, you can use a special
"trends" message<br>
<br>
The mechanics for both of these are detailed at
<a href="https://www.xymon.com/help/howtograph.html" target="_blank">https://www.xymon.com/help/howtograph.html</a><br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div><br>
</div>
<div>A second question is on best practices; How should one
launch the data collecting program, with respect to the
definition of the associated test? Below are the current pair
of definitions I am using in clientlaunch.cfg:</div>
<div><br>
</div>
<div>
<div><font face="monospace, monospace">[msgRate]</font></div>
<div><font face="monospace, monospace"> ENVFILE
$XYMONCLIENTHOME/etc/xymonclient.cfg</font></div>
<div><font face="monospace, monospace"> CMD
$XYMONCLIENTHOME/ext/msgRate</font></div>
<div><font face="monospace, monospace"> LOGFILE
$XYMONCLIENTLOGS/msgRate.log</font></div>
<div><font face="monospace, monospace"> INTERVAL 5m</font></div>
<div><font face="monospace, monospace"><br>
</font></div>
<div><font face="monospace, monospace">[msgRate.data]</font></div>
<div><font face="monospace, monospace"> ENVFILE
$XYMONCLIENTHOME/etc/xymonclient.cfg</font></div>
<div><font face="monospace, monospace"> CMD
$XYMONCLIENTHOME/ext/data/msgRate</font></div>
<div><font face="monospace, monospace"> LOGFILE
$XYMONCLIENTLOGS/msgRate-data.log</font></div>
<div><font face="monospace, monospace"> INTERVAL 5m</font></div>
</div>
<div><br>
</div>
<div><br clear="all">
<div><br>
</div>
<div>I'm assuming that I can't run multiple "CMD"s in a single
task definition.</div>
<div>Similarly I'm assuming that I can't reuse the same task
identifier.</div>
</div>
</div>
</blockquote>
<br>
This is correct, each identifier must be unique and is represented
by a single CMD.<br>
<br>
Your script, however, is not simply returning data on STDOUT, but is
probably executing the $XYMON command itself to send a message.
Depending on the data collection you're doing, there's likely little
that would stop you from sending both of the messages from a single
script, though.<br>
<br>
Especially if these are related messages or concept, it's often
simpler to keep collection, evaluation, and other bits relating to a
single logical unit together in one script. Doubly-so if they'd be
running at the same interval anyway.<br>
<br>
<br>
HTH<span class="HOEnZb"><font color="#888888"><br>
<br>
-jc<br>
<br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div> -- David Boldt<br> <<a href="mailto:dboldt@usgs.gov" target="_blank">dboldt@usgs.gov</a>><br><br><br> "I stopped believing in Santa Claus when my mother took me to see him in a department store, and he asked for my autograph."</div><div> --<span style="font-size:12.8000001907349px">Shirley Temple (1928 - )</span></div><div><span style="font-size:12.8000001907349px"><br></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>