[hobbit] Custom Graph Problem

Dan Vande More bigdan at gmail.com
Mon Nov 6 04:48:46 CET 2006


You gave us the first part of rrd dump, but you should also check to see
whether rrd has any data in it. Is the graph's png showing up, but showing
NaN? Is the graph not showing up at all?

It sounds silly, but try putting spaces in your output so it looks like
this:

order_gen : 19

It seems like I've had that issue before too. I have about 25 extra
tests I'm doing, and I use spaces in all of them.



On 11/5/06, Jeffcoat, Al <Al.Jeffcoat at orhs.org> wrote:
>
>  Hello All,
>
>
>
> I'm trying to create a custom script/graph that graphs some data from a
> mssql server.  I've got the service (order_gen) and page showing up in
> hobbit, with the following output:
>
>
>     *Sun Nov 5 22:18:50 EST 2006*
>
>
>
>
>
> There are currently 19 requests in the *ORDER GENERATION* queue
>
>
>
> order_gen:19
>
>
>
>
>
> Status unchanged in 9 hours, 17 minutes
> Status message received from 172.31.22.50
>
>
>
> [image: hobbit graph ncv:order_gen]<http://hobbit/hobbit-cgi/hobbitgraph.sh?host=srv607sql&service=ncv:order_gen&graph_width=576&graph_height=120&disp=srv607sql&nostale&color=green&action=menu>
>
>
>
> [image: Zoom graph]<http://hobbit/hobbit-cgi/hobbitgraph.sh?host=srv607sql&service=ncv:order_gen&graph_width=576&graph_height=120&disp=srv607sql&nostale&color=green&graph=hourly&action=selzoom>
>
>
>
>
>
> I've defined the following in hobbitserver.cfg:
>
>
>
> TEST2RRD="……,order_gen=ncv"
>
> .
>
> .
>
> .
>
> NCV_order_gen="order_gen:GAUGE"
>
> .
>
> .
>
> GRAPHS="……,order_gen"
>
>
>
> It's creating an RRD under the hostname called order_gen.rrd.  While
> trying to figure out why there is no graph coming up for this, I ran
> "rrdtool dump order_gen.rrd".  Here's what's coming out:
>
>
>
>         <ds>
>
>                 <name> ordergen </name>
>
>                 <type> DERIVE </type>
>
>
>
> I've search high and low on the hobbit archives looking for a similar
> situation, and can't find it, even though I thought I had seen it while
> originally working on these scripts on Friday.  Can someone help me with the
> next steps on this?  I'm not sure where to look next.  This is my first
> custom graph, and it was a fun adventure in diving into how some things work
> in hobbit.  After some trial and error, I've got 4 graphs working that are
> doing the same thing, which is trending different information from our main
> clinical app into hobbit for management perusal.  This is the only one
> that's "out of order".
>
>
>
> TIA,
>
>
>
> Al
>
> This e-mail message and any attached files are confidential and are
> intended solely for the use of the addressee(s) named above. If you are not
> the intended recipient, any review, use, or distribution of this e-mail
> message and any attached files is strictly prohibited. This communication
> may contain material protected by Federal privacy regulations,
> attorney-client work product, or other privileges. If you have received this
> confidential communication in error, please notify the sender immediately by
> reply e-mail message and permanently delete the original message. To reply
> to our email administrator directly, send an email to:
> postmaster at orlandoregional.org . If this e-mail message concerns a
> contract matter, be advised that no employee or agent is authorized to
> conclude any binding agreement on behalf of Orlando Regional Healthcare by
> e-mail without express written confirmation by an officer of the
> corporation. Any views or opinions presented in this e-mail are solely those
> of the author and do not necessarily represent those of Orlando Regional
> Healthcare.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20061105/de4e780c/attachment.html>


More information about the Xymon mailing list