Projects / iptotal / Comments

Comments for iptotal

02 Sep 2009 19:36 bakagaijin

Hmm, I think the kbyte(s) text is quite misleading. It should be kB/s or something like this.

I mean, if I look at a monthly chart I'm expecting to see the in+outbound traffic: the amount of data transferred (and billed) through that interface for each and every day. And instead I get an average kB/s value: an average speed value...

What am I doing wrong?

25 Jan 2002 08:39 dingetje

Re: bug in 30 days archive cleanup line
Yupz, now it works ;-)

17 Jan 2002 19:51 dingetje

Re: bug in 30 days archive cleanup line

> I've detected a bug in the iptotald
> script that is reponsible for cleaning
> up dialy graphs older than 30 days in
> the archive directory. The effect is
> that no files are cleaned at all :-(
>
> Here is a fix, edit the iptotald file
> and look for this comment:
>
> #
> # now remove files older than
> 30 days from archive
> #
>
> change the following line to:
>
> ${ROOT_DIR}/bin/find
> ${ARCHIVE}/*.png -mtime 30 -type f exec
> rm -rf {} \;
>
> Save and restart the daemon.
>
> Sorry for any inconvenience.


Darn, still not right, must work on my find syntax :(

I've changed it to:
D=`${ROOT_DIR}/bin/find ${ARCHIVE}/*.png -mtime 30 -type f`
for i in $D; do
rm -fr $i 2>/dev/null
done

That *should* work.....

16 Jan 2002 05:10 dingetje

bug in 30 days archive cleanup line
I've detected a bug in the iptotald script that is reponsible for cleaning up dialy graphs older than 30 days in the archive directory. The effect is that no files are cleaned at all :-(

Here is a fix, edit the iptotald file and look for this comment:

#
# now remove files older than 30 days from archive
#

change the following line to:

${ROOT_DIR}/bin/find ${ARCHIVE}/*.png -mtime 30 -type f exec rm -rf {} \;

Save and restart the daemon.

Sorry for any inconvenience.

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.