<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=517203919-23032007><FONT face=Arial color=#0000ff size=2>Thanks
Gary,</FONT></SPAN></DIV>
<DIV><SPAN class=517203919-23032007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=517203919-23032007><FONT face=Arial color=#0000ff 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 class=517203919-23032007></SPAN> </DIV>
<DIV><SPAN class=517203919-23032007><FONT face=Arial color=#0000ff 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 class=517203919-23032007></SPAN> </DIV>
<DIV><SPAN class=517203919-23032007></SPAN> </DIV>
<DIV><SPAN class=517203919-23032007><FONT face=Arial color=#0000ff
size=2>Thanks, Larry</FONT> </SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Gary Baluha
[mailto:gumby3203@gmail.com] <BR><B>Sent:</B> Friday, March 23, 2007 1:55
PM<BR><B>To:</B> hobbit@hswn.dk<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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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">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">hobbit-unsubscribe@hswn.dk</A><BR><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>
<HTML><BODY><P><hr size=1></P><br>
<P><STRONG><br>
*******************************************************************<br>
*<br>
<br>
This e-mail is intended only for the addressee named above.<br>
As this e-mail may contain confidential or privileged information,<br>
if you are not the named addressee, you are not authorized<br>
to retain, read, copy or disseminate this message or any part of<br>
it.<br>
<br>
*******************************************************************<br>
*<br>
</STRONG></P></BODY></HTML>