[mrtg] Re: GD/Per graph recipe?

Anson Rinesmith arinesmith at bigrivertelephone.com
Sat Feb 26 06:16:49 MET 2005


If you want MRTG to graph your data for you, just look at the docs. Instead
of feeding Target[] an OID, you can have it execute an external script (that
you have to write) and feed it any max/min combonation you want.

Example, I just wrote a script that executes a script that does an SQL query
to a database to find out how many accounting records are currently open. I
do one for each ISP realm I have. I can then provide graphs to each ISP to
show them their modem usage. In my example, MIN and MAX are the same number.
No need to use GD and Perl. I wanted my graphs to look and feel like all my
other MRTG graphs, and the best way, is to just use MRTG. I find out more
about this great tool, everyday.

My script outputs 
NUMBER
NUMBER
DEVICENAME
UPTIME

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of Jimbus
Sent: Friday, February 25, 2005 10:52 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] GD/Per graph recipe?

Hello,

Forgive me if this is a redundant question, I couldn't come up with an 
effective search in the archives...

I was wondering if any had a recipe/example using GD and Perl to create 
same style graphs for data that doesn't fit MRTG/RRDtool pattern? I'm 
sure I can dig around figure it out eventually, but I figured someone 
had to have done this already :).

Thanks,

Jimbus

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list