<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 9/19/2016 1:06 PM, Foster Patch
wrote:<br>
</div>
<blockquote
cite="mid:30fcc7fa93314428a063b158eba86a55@EXCH-02.accu.accuwx.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<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: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;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@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]-->
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am attempting to make a custom graph
work. I attempted following the directions here:
<a class="moz-txt-link-freetext" href="http://xymon.sourceforge.net/xymon/help/howtograph.html">http://xymon.sourceforge.net/xymon/help/howtograph.html</a> Here
is the page on xymon:<o:p></o:p></p>
<p class="MsoNormal"><img id="Picture_x0020_1"
src="cid:part1.0265D830.B8432BCA@terabithia.org"
height="531" width="472"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In xymonserver.cfg, I have
TEST2RRD=”cfengine=ncv”<o:p></o:p></p>
<p class="MsoNormal">I also created a line in xymonserver.cfg
that reads “NCV_cfengine=”cfexecd:GAUGE”<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I restarted xymon after making these
changes. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I go on my xymon server and check
/var/lib/xymon/rrd/redhat6-v01…..com/ for cfengine.rrd but it
is never created. No data is being collected. Is there
something I am doing wrong?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span
style="font-size:13.5pt;font-family:"Arial",sans-serif;color:#FF6600">Foster</span><o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
<br>
A few things to check:<br>
- I'm not certain if the test name parsing looking for graphing is
case sensitive, but it's possible that this needs to match the case
of the incoming test name.<br>
<br>
- You'll want to make sure the existing env variable data is still
present in TEST2RRD, I usually use the += feature, so:<br>
TEST2RRD+=",cfengine=ncv"<br>
<br>
- Depending on your xymond_rrd settings, it may be caching the
initial output prior to writing out the RRD file the "first" time.
If you're manually sending data points in, not enough may have come
in to cause the cache flush to trigger. A second bounce of
xymond_rrd would fix this.<br>
<br>
- If any changes have occurred to the schema of the RRD file
(adding/removing RRA's), it might need to be deleted (easiest) so
that xymond_rrd can recreate it according to its new configs.<br>
<br>
Also, if you're restarting xymon manually, remember that the entire
xymond_channel process controlling the xymond_rrd process must be
killed (so xymonlaunch can restart it). If xymond_channel is still
running, xymond_rrd will still only get the original environment
from before your changes.<br>
<br>
<br>
HTH,<br>
-jc<br>
</body>
</html>