Re: SASacct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Wow, yes i remove it and now is working :]

Thank you so much.

[]s

hophet

On 3/14/07, CM <cristim@xxxxxxxxxxxxxxxx> wrote:
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@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@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@xxxxxxxxxx
> 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.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux