I'll give that a shot. I had spaces in the output originally, and it wasn't working, so I took them out, and the other three graphs started working. One didn't work, and the DS name was missing an underscore, but it was a GAUGE type rrd, all I needed to do to fix it was to remove the underscore from the hobbitgraph.cfg file.
Al
Al Jeffcoat
eServer Certified Specialist - pSeries Administration and Support for AIX 5L v5.2
Enterprise SAN and Storage Administrator
System Programmer III
(321)843-1051
Al.Jeffcoat at orhs.org (UPDATED)
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.
participants (1)
-
Al.Jeffcoat@orhs.org