You shouldn't need to reboot for the changes to take effect. Actually, the configuration in hobbitgraph.cfg is read dynamically.<br><br>One thought I had is that there could be some typo farther up in the config file that is preventing lines below it from being read; I had this happen once due to the un-capitalization of a keyword (I think comment vs COMMENT, though I forget exactly).
<br><br><div><span class="gmail_quote"><br></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><span><font color="#0000ff" face="Arial" size="2">Thanks
Gary,</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">I've
tried deleting and rebooting several times. No joy. I just
edited the hobbitgraph.cfg in vim, and noticed that the COMMENT
lines had leading spaces, and all other lines had leading
tabs. Looks like it did not make a difference
though. </font></span></div>
<div><span></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">I
tried to run the hobbitgraph.cgi on the command line, but I don't quite
understand how to pass it the correct command line
arguments. </font></span></div>
<div><span></span> </div>
<div><span></span> </div>
<div><span><font color="#0000ff" face="Arial" size="2">Thanks, Larry</font> </span></div><div><span class="e" id="q_11180ed911e9ec84_1">
<blockquote style="margin-right: 0px;">
<div></div>
<div dir="ltr" align="left" lang="en-us"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> Gary Baluha
[mailto:<a href="mailto:gumby3203@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gumby3203@gmail.com</a>] <br><b>Sent:</b> Friday, March 23, 2007 1:55
PM<br><b>To:</b> <a href="mailto:hobbit@hswn.dk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hobbit@hswn.dk</a><br><b>Subject:</b> Re: [hobbit] Custom
Graph<br><br></font></div>I've now successfully created dozens of custom
graphs, but even still, if I haven't done it in a while, it always takes me a
while to get it working again to add new ones. You may have done some of
this already, but here is a checklist of some items to test (roughly in
order): <br><br>1) The script that is generating the data is outputting
letter-for-letter what you think it is<br> [it looks like
this is correct in your case]<br>2) The proper NCV entries (if appropriate;
I've only made NCV graphs) are made in hobbitserver.cfg <br>
[again, this looks good]<br>3) The two hobbitd_rrd processes have been
restarted (kill -9 on them works; hobbit restarts them automatically)<br>4)
The RRD file is being generated [in your case, check] <br>
a) When in doubt, it doesn't hurt to delete the RRD files and let hobbit
recreate them if you see<br> some
weirdness in them<br>5) The appropriate entry is made in hobbitgraph.cfg<br>6)
If you're getting "hobbit graph ncv:<blah>", it usually means that there
is some typo or bad <br> reference in the hobbitgraph.cfg
definition for the graph<br><br>The most common problem I've run into is human
error on my part in making a typo in the hobbitgraph.cfg file. It looks
like in your case, it is probably because the data doesn't appear to be
getting into the RRD file properly. The fact that you're getting the
"hobbit graph ncv:<blah>" on the graph page means you're mostly
there. Keep in mind that hobbitgraph.cfg is case-sensitive. The
nice thing is, changes made to this file are immediate, so as soon as you make
a change, you can see the effect in the graph.<br><br>Also, you don't need
unique "<name>"s in the "DEF:<name>" line, so in your example
above, you could use "DEF:lat . . ." for all of the 3 graphs defined.
These variables are limited in scope to the graph definition they are used
with. <br><br>
<div><span class="gmail_quote"><br></span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I've
tried a few times to get the custom graphs to work, but have had no <br>joy
getting them to work. Invariably, I get the data into the rrd,
but<br>the graph is never drawn.<br><br>Here is a sample of the data I send
to hobbit:<br><br><br>---><br>Fri Mar 23 10:39:23 EDT 2007 - TIB RV
Latency monitoring <br><br>latency : 3.291<br><br>Status unchanged in 1
days,12 hours, 9 minutes<br>Status message received from <a href="http://146.121.201.35" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">146.121.201.35</a><br><---<br><br>My
TEST2RRD line has "...,GCM=ncv,RTE=ncv,SWAP=ncv" <br><br>My GRAPHS line has
"...,GCM,RTE,SWAP"<br><br>I have 3 lines for
NCV:<br><br>NCV_GCM="latency:GAUGE"<br>NCV_RTE="latency:GAUGE"<br>NCV_SWAP="latency:GAUGE"<br><br><br>I
generate RRD's for each of my tests, and it looks like there is data,
<br>but not exactly as in the example in on Henrik's web
site:<br><br><!-- Round Robin Database Dump --><rrd>
<version> 0003
</version><br> <step>
300 </step> <!-- Seconds -->
<br> <lastupdate>
1174661992 </lastupdate> <!-- 2007-03-23 10:59:52<br>EDT
--><br><br> <ds><br> <name>
latency
</name><br> <type>
GAUGE </type>
<br> <minimal_heartbeat>
600
</minimal_heartbeat><br> <min>
0.0000000000e+00
</min><br> <max>
NaN
</max><br><br> <!--
PDP Status -->
<br> <last_ds>
UNKN
</last_ds><br> <value>
1.0409800000e+03
</value><br> <unknown_sec>
0
</unknown_sec><br> </ds><br><br><!--
Round Robin Archives --> <rra>
<br> <cf>
AVERAGE
</cf><br> <pdp_per_row>
1 </pdp_per_row> <!-- 300 seconds
--><br><br> <params><br> <xff>
5.0000000000e-01
</xff><br> </params><br> <cdp_prep><br> <ds><br> <primary_value>
3.7080000000e+00<br></primary_value><br> <secondary_value>
3.4782000000e+00<br></secondary_value><br> <value>
NaN
</value><br> <unknown_datapoints>
0
</unknown_datapoints><br> </ds>
<br> </cdp_prep><br> <database><br> <!--
2007-03-21 11:00:00 EDT / 1174489200 --><br><row><v> NaN
</v></row><br> <!--
2007-03-21 11:05:00 EDT / 1174489500 --> <br><row><v> NaN
</v></row><br>..<br>.. <!--
2007-03-23 10:05:00 EDT / 1174658700 --><br><row><v>
3.1933733333e+00
</v></row><br> <!--
2007-03-23 10:10:00 EDT / 1174659000 --> <br><row><v>
3.6878266667e+00
</v></row><br> <!--
2007-03-23 10:15:00 EDT / 1174659300 --><br><row><v>
3.6010800000e+00
</v></row><br> <!--
2007-03-23 10:20:00 EDT / 1174659600 --> <br><row><v>
3.1187333333e+00
</v></row><br> <!--
2007-03-23 10:25:00 EDT / 1174659900 --><br><row><v>
3.3115000000e+00
</v></row><br> <!--
2007-03-23 10:30:00 EDT / 1174660200 --> <br><row><v>
3.6026266667e+00
</v></row><br> <!--
2007-03-23 10:35:00 EDT / 1174660500 --><br><row><v>
3.7042866667e+00
</v></row><br> <!--
2007-03-23 10:40:00 EDT / 1174660800 --> <br><row><v>
3.6735733333e+00
</v></row><br> <!--
2007-03-23 10:45:00 EDT / 1174661100 --><br><row><v>
3.7481866667e+00
</v></row><br> <!--
2007-03-23 10:50:00 EDT / 1174661400 --> <br><row><v>
3.1970000000e+00
</v></row><br> <!--
2007-03-23 10:55:00 EDT / 1174661700 --><br><row><v>
3.7080000000e+00
</v></row><br> </database>
<br> </rra><br><br><br><br>I
have the following in my
hobbitgrpah.cfg:<br><br><br>[GCM]<br> TITLE
GCM Latency Monitor<br> YAXIS
Micro Seconds
(uSec)<br> DEF:lat=GCM.rrd:latency:AVERAGE<br> LINE2:lat#00CCCC:uSeconds<br> COMMENT:\n<br> GPRINT:lat:LAST:Latency
\: %5.11f%s
(cur)<br> GPRINT:lat:MAX: \:
%5.11f%s
(max)<br> GPRINT:lat:MIN: \:
%5.11f%s
(min)<br> GPRINT:lat:AVERAGE:
\: %5.11f%s (avg)\n
<br><br>[RTE]<br> TITLE RTE
Latency Monitor<br> YAXIS
Micro Seconds
(uSec)<br> DEF:latency=RTE.rrd:latency:AVERAGE<br> LINE2:latency#00CCCC:uSeconds<br> COMMENT:\n<br> GPRINT:latency:LAST:Latency
\: %5.11f%s (cur)
<br> GPRINT:latency:MAX: \:
%5.11f%s
(max)<br> GPRINT:latency:MIN:
\: %5.11f%s
(min)<br> GPRINT:latency:AVERAGE:
\: %5.11f%s
(avg)\n<br>[SWAP]<br> TITLE
SWAP Latency
Monitor<br> YAXIS Micro
Seconds (uSec)
<br> DEF:foo=SWAP.rrd:latency:AVERAGE<br> LINE2:foo#00CCCC:uSeconds<br> COMMENT:\n<br> GPRINT:foo:LAST:Latency
\: %5.11f%s
(cur)<br> GPRINT:foo:MAX: \:
%5.11f%s
(max)<br> GPRINT:foo:MIN: \:
%5.11f%s (min)
<br> GPRINT:foo:AVERAGE: \:
%5.11f%s (avg)\n<br><br><br>No matter which way I configure it the graphs do
not generate, but<br>instead I get a small box that says:<br><br>"hobbit
graph ncv:GCM"<br><br>I am currently running on a BL25P blade, RHAS4,
rrdtool 1.2.15, hobbit<br>4.3.0-20061124.<br><br>I monitor several hundred
hosts with no problem (Thanks Henrik!), but<br>have never been able to get
this to work. Any help is
appreciated...<br><br>Larry<br><br><br><br><br><HTML><BODY><P><hr
size=1></P><br>
<br><P><STRONG><br><br>*******************************************************************<br><br>*<br><br><br><br>This
e-mail is intended only for the addressee named above.<br><br>As this
e-mail may contain confidential or privileged information,<br><br>if
you are not the named addressee, you are not authorized<br><br>to
retain, read, copy or disseminate this message or any part of<br>
<br>it.<br><br><br><br>*******************************************************************<br><br>*<br><br></STRONG></P></BODY></HTML><br><br><br>To
unsubscribe from the hobbit list, send an e-mail to <br><a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hobbit-unsubscribe@hswn.dk</a><br><br><br></blockquote>
</div><br></blockquote></span></div></div>
<div><p></p><hr size="1"><p></p><br>
<p><strong><br>
*******************************************************************<br>
*<span class="q"><br>
<br>
This e-mail is intended only for the addressee named above.<br></span><span class="q">
As this e-mail may contain confidential or privileged information,<br></span><span class="q">
if you are not the named addressee, you are not authorized<br></span><span class="q">
to retain, read, copy or disseminate this message or any part of<br></span>
it.<br>
<br>
*******************************************************************<br>
*<br>
</strong></p></div>
</blockquote></div><br>