[olug] GD::Graph, mod_perl

Jay Hannah jay at jays.net
Sat Mar 27 04:20:17 UTC 2004


On Mar 25, 2004, at 1:31 PM, OBrien, Timothy (Omaha Linux Users Group - 
OLUG) wrote:
> <quote who="Jay Hannah">
>>
>> GD::Graph is a beautiful thing. 3 hours invested and I have a wacky,
>> dynamic multi-line grapher. Observe:
>>
>>     http://omaha.pm.org/tmp/graph4.png
>>
>> Apache + mod_perl rulez.
>>
>>     [Tue Mar 23 15:01:34 2004] [notice] Apache/2.0.48 (Unix)
>> mod_perl/1.99_13 Perl/v5.8.3 mod_ssl/2.0.48 OpenSSL/0.9.7d configured
>> -- resuming normal operations
>
> So how hard would it be to include this in a MRTG setup?
> Now, how hard would it be for a newbie like myself? =)

Whoops!

1) Sorry... I meant to post that to message to Perl Mongers, not to 
OLUG.
2) I meant GD::Graph and mod_perl as two different (Perly) subjects. 
They're not related (at least not how I'm using them).

Anyhoo, I am not aware of any GD::Graph and MRTG interaction. MRTG uses 
RRD (Round Robin Database) format for data storage so it can 
additionally summarize the weekly, monthly, annual graphs.

That graph I produced as a stand-alone gizmo. I was needing a 
perl-minute level of detail, and don't need long-term re-summaries, so 
didn't involve MRTG in that project. I believe MRTG uses the GD 
libraries, but I don't think it uses Perl nowadays.

I'd be happy to post my graph source code on Perl Mongers if anyone 
wants it...

j
Omaha Perl Mongers: http://omaha.pm.org





More information about the OLUG mailing list