<div>The examples you pasted in look completely correct to me.  However, just to be fully with you, I'd like to ask (just to be thorough, not a jerk) regarding the term "<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">The script outputs the following on the page:"</span></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Just to cross all the t's and dot all the i's: </span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">1.  you have a script running on a client, launched from clientlaunch.cfg and gathering data remotely. </span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">2.  It is being sent back to the server and properly making it to the page, showing up in it's own column.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">3.  The script is also sending/setting all appropriate BB environment variables:</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">(and example from one of my scripts)</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><div>
# Xymon Variables</div><div>$ENV{BBPROG}    = "<a href="http://library.pl">library.pl</a>";</div><div>my($TESTNAME)   = "library";</div><div>my($BBHOME)     = $ENV{BBHOME};</div><div>my($BB)         = $ENV{BB};</div>
<div>my($BBDISP)     = $ENV{BBDISP};</div><div>my($BBVAR)      = $ENV{BBVAR};</div></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; "><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">4.   You are also sending all approprate red/green/yellow/clear, etc. messages along back to the server</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Note that this may not affect your display, but is just good "gathering" practice in pulling data back from remote hosts.  Even if you're only setting a "clear", it is good to do.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Unless I'm just missing something in the paste-in you're showing, I'm not seeing any overt problems.  How about the logs?  Anything there? Like maybe permissioning problems or some such?</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">/var/log/xymon/rrd-status.log</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">/var/log/rrd-data.log</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">(or wherever your installation's logs are) ?</span></font></div>
<div><span class="Apple-style-span" style="font-size: 13px; "></span><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br clear="all"></span></font>---<br>
Jerald M. Sheets jr.<br><br><br>
<br><br><div class="gmail_quote">On Fri, May 7, 2010 at 10:50 AM, Cami <span dir="ltr"><<a href="mailto:camis@mweb.co.za">camis@mweb.co.za</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi..<br>
<br>
I'm having an issue with creating a system graph in Xymon.<br>
<br>
The script outputs the following on the page:<br>
-----------------------------<br>
<br>
<br>
     Fri May 7 16:42:19 SAST 2010<br>
<br>
edge01 : 5<br>
edge02 : 7<br>
edge03 : 2<br>
edge04 : 6<br>
<br>
<br>
hobbitgraph ncv:fmsconns                  Zoom graph <br>
-----------------------------<br>
<br>
Its a script to monitor concurrent connections so its value goes up and down.<br>
<br>
In hobbitserver.cfg, i have the following:<br>
<br>
TEST2RRD="cpu=la,cpu2=la[......],fmsconns=ncv"<br>
GRAPHS="la,disk[...........],fmsconns"<br>
NCV_fmsconns="edge01:GAUGE,edge02:GAUGE"<br>
<br>
<br>
in hobbitgraph.cfg<br>
[fmsconns]<br>
       TITLE Fmsconns info<br>
       YAXIS Connections<br>
       DEF:pct=fmsconns.rrd:util:AVERAGE<br>
       LINE2:pct#00CC00:NParts<br>
       GPRINT:pct:LAST: \: %3.1lf (cur)<br>
       GPRINT:pct:MAX: \: %3.1lf (max)<br>
       GPRINT:pct:MIN: \: %3.1lf (min)<br>
       GPRINT:pct:AVERAGE: \: %3.1lf (avg)\n<br>
<br>
On the <br>
I used the howto @ <a href="http://www.hswn.dk/hobbit/help/howtograph.html" target="_blank">http://www.hswn.dk/hobbit/help/howtograph.html</a> as a guideline<br>
but its clear i'm lacking some understanding. I'm guessing the contents in hobbitgraph.cfg<br>
is off as i'm doing an rrdtool dump and the output looks ok?<br>
<br>
<br>
       <lastupdate> 1273230835 </lastupdate> <!-- 2010-05-07 13:13:55 SAST --><br>
<br>
       <ds><br>
               <name> jhbedge01optinetnet </name><br>
               <type> DERIVE </type><br>
               <minimal_heartbeat> 600 </minimal_heartbeat><br>
               <min> NaN </min><br>
               <max> NaN </max><br>
<br>
               <!-- PDP Status --><br>
               <last_ds> 4 </last_ds><br>
               <value> 0.0000000000e+00 </value><br>
               <unknown_sec> 0 </unknown_sec><br>
       </ds><br>
<br>
       <ds><br>
               <name> jhbedge02optinetnet </name><br>
               <type> DERIVE </type><br>
               <minimal_heartbeat> 600 </minimal_heartbeat><br>
               <min> NaN </min><br>
               <max> NaN </max><br>
<br>
               <!-- PDP Status --><br>
               <last_ds> 3 </last_ds><br>
               <value> 7.9207920792e-02 </value><br>
               <unknown_sec> 0 </unknown_sec><br>
       </ds><br>
<br>
Anyone have any ideas/tips?<br>
<br>
Regards,<br>
Cami<br>
<br>
<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</blockquote></div><br></div>