View Single Post
  #8  
Old 19th January 2008, 12:00
hvrossum hvrossum is offline
Member
 
Join Date: Dec 2007
Posts: 66
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Hi Mark,

Where should I put the link to perl

Whereis perl gives
perl: /usr/bin/perl /etc/perl /usr/lib/perl /usr/lib64/perl /usr/local/lib/perl /usr/share/perl /usr/share/man/man1/perl.1.gz

the mailgraph.cgi
--- mailgraph.cgi.orig 2007-08-29 11:06:01.000000000 +0200
+++ mailgraph.cgi 2007-12-26 19:53:33.000000000 +0100
@@ -16,9 +16,9 @@ my $xpoints = 540;
my $points_per_sample = 3;
my $ypoints = 160;
my $ypoints_err = 96;
-my $rrd = 'mailgraph.rrd'; # path to where the RRD database is
-my $rrd_virus = 'mailgraph_virus.rrd'; # path to where the Virus RRD database is
-my $tmp_dir = '/tmp/mailgraph'; # temporary directory where to store the images
+my $rrd = '/var/lib/mailgraph.rrd'; # path to where the RRD database is
+my $rrd_virus = '/var/lib/mailgraph_virus.rrd'; # path to where the Virus RRD database is
+my $tmp_dir = '/tmp'; # temporary directory where to store the images

my @graphs = (
{ title => 'Last Day', seconds => 3600*24, },
@@ -163,7 +163,6 @@ sub print_html()

thanks

Harry
__________________
I am stil a Linux amateur, never thought that a sales person would like fiddling around with Linux.

Setup:
Dell Power Edge SC440
Ubuntu 8.04
ISPConfig
Webmin 1.420
Reply With Quote