MailLists Listas wrote:> Hey guys,
>
> I have a little problem. i'm running a CentOS 4.4 (Final) (Linux
> 2.6.9-42.0.10.EL) box.
>
> So, i installed SASacct (http://rousse.pm.org/sasacct/) for accouting
> the traffic of
> my hosts. But it dont make the graphics/images of utilization.
>
> The libs, rrdtool, perl are all installed. I just tested with rpm
> based rrdtool and
> Tarball, but no success.
>
> The firewall is ok:
>
> Counters reset Wed Mar 14 06:22:24 BRT 2007
>
> Chain SASACCT (2 references)
> pkts bytes target prot opt in out source
> destination
> 256 28760 all -- * * 192.168.1.102
> 0.0.0.0/0
> 337 26841 all -- * * 0.0.0.0/0
> 192.168.1.102
>
> sasacct.plx and htmlmaker.plx run without problens and the .rrd files
> was created:
>
> [root at domain ~]# ls -l /var/log/sasacct/
>
> -rw-r--r-- 1 root root 16348 Mar 14 11:20 192.168.1.102
> -rw-r--r-- 1 root root 188744 Mar 14 11:20 192.168.1.102.rrd
>
> The "http://localhost/cgi-bin/sasacct.cgi" works, but only the
> "totals", when ticked
> "Generate graphics for the selected period" the graphics dont
> appear/are not created.
>
> No images:
>
> [root at vcs ~]# ls -l /var/www/html/sasacct/
>
> -rw-r--r-- 1 apache apache 1619 Mar 14 11:35 192.168.1.102.html
> -rw-r--r-- 1 apache apache 3133 Mar 14 11:35 index.html
> -rw-r--r-- 1 apache apache 1584 Mar 12 10:53 poweredbysa.gif
> -rw-r--r-- 1 apache apache 1875 Mar 12 10:53 salogo.gif
>
> Some idea? Thanks any help.
>
> Thanks in advance.
>
> []s
>
> hophet.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
try to remove the @comment_str from
RRDs::graph(
"$target-$_.gif",
@header_str, @def_str, @data_str, @comment_str
);
in sasacct.plx
IWFM
CM
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.