[hobbit] Custom Graph Problem

Jeffcoat, Al Al.Jeffcoat at orhs.org
Mon Nov 6 17:46:30 CET 2006


Thanks Dan,

 

I'm assuming that the following lines under database means that it has
not received data for that time entry.

 

<!-- 2006-11-06 11:35:00 EST / 1162830900 --> <row><v> NaN </v></row>

 

There is no graph being shown on the hobbit web page for this service
test.  I'm still curious why the graph type is DERIVE instead of GAUGE,
which is defined in hobbitserver.cfg.  I added spaces between the DS
name and the value, removed the .rrd, and let it regenerate, however,
it's still a type DERIVE rrd.

 

Is the correct thing spaces or no spaces on the status page?  The ones
that are working have no spaces between the DS name and value pair.
They weren't working until I removed the spaces.  If I manually create
the rrd with rrdtool create, I'm wondering if it will start working, it
just seems that the creation of the rrd is broken.

 

Al

 

  _____  

From: Dan Vande More [mailto:bigdan at gmail.com] 
Sent: Sunday, November 05, 2006 10:49 PM
To: hobbit at hswn.dk
Subject: Re: [hobbit] Custom Graph Problem

 

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

 

hobbit graph ncv:order_gen
<http://hobbit/hobbit-cgi/hobbitgraph.sh?host=srv607sql&service=ncv:orde
r_gen&graph_width=576&graph_height=120&disp=srv607sql&nostale&color=gree
n&action=menu> 

 

Zoom graph
<http://hobbit/hobbit-cgi/hobbitgraph.sh?host=srv607sql&service=ncv:orde
r_gen&graph_width=576&graph_height=120&disp=srv607sql&nostale&color=gree
n&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. 




 


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/20061106/1651e54d/attachment.html>


More information about the Xymon mailing list