[hobbit] Custom RRD graphs

Stuffle, David dstuffle at deltafaucet.com
Tue Mar 1 18:10:07 CET 2005


The hobbitgraph.cgi man page has a reference to the rrdgraph man page but I
don't have the rrdgraph man page on my system.  Does anyone else?

I'll check out the CDEF.

Sorry, I didn't think about the RRD mailing list.

David Stuffle 

 

-----Original Message-----
From: Asif Iqbal [mailto:iqbala-hobbit at qwestip.net] 
Sent: Tuesday, March 01, 2005 10:36 AM
To: 'hobbit at hswn.dk'
Subject: Re: [hobbit] Custom RRD graphs


On Tue, Mar 01, 2005 at 08:06:34AM, Stuffle, David wrote:
> Hello,
> I'm trying to learn how to create custom graphs.  I have it working 
> for graphing license usage but I'm am not clear on a few things.  Here 
> is what I put in the hobbitgraph.cfg:
>  
> [license]
>         TITLE License Utilization
>         YAXIS Used Licenses
>         DEF:avg=license.rrd:license:AVERAGE
>         LINE2:avg#@COLOR@:Used Licenses
>         GPRINT:avg:LAST: \: %5.1lf (cur)
>         GPRINT:avg:MAX: \: %5.1lf (max)
>         GPRINT:avg:MIN: \: %5.1lf (min)
>         GPRINT:avg:AVERAGE: \: %5.1lf (avg)\n
>  
>  
> My question is, what does AVERAGE mean in the DEF line?  What other 
> options

man rrdgraph

OR

http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/manual/rrdgraph.html

> are there besides AVERAGE?
>  
> Also, the license count will always be a whole number from say, 0 to 30.
> Sometimes my graph shows, for example, 3.6 licenses used.   Is there an

You should be able to use CDEF get whole numbers.

Here is tutorial on that

http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/cdeftutorial.htm
l

I would think RRD questions should be directed to RRD mailing list 

http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/mailinglists.html

Thanks

> option I need to add to tell it to always use a whole number?  My 
> custom_rrd script doesn't send anything except a whole number.
>  
> Thanks for any help.
>  
> David Stuffle
> This email and any files transmitted with it are confidential and 
> intended solely for the use of the individual or entity to whom they 
> are addressed. If you have received this email in error please notify 
> the system manager. Please note that any views or opinions presented 
> in this email are solely those of the author and do not necessarily 
> represent those of the company. Finally, the recipient should check 
> this email and any attachments for the presence of viruses. The 
> company accepts no liability for any damage caused by any virus 
> transmitted by this email.

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most
intelligent, but
 the one most responsive to change."    - Charles Darwin

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email.



More information about the Xymon mailing list