Projects / iptotal

iptotal

iptotal is an *extremly* simple network monitor tool that measures the number of IP packages traveling to/from a specific network interface. It is based on a packet sniffer using libcap, so it does not require SNMP. Using Tobi Oetiker's rrdtool it can create 2hr, daily, weekly, monthly and yearly graphs. It maintains an archive of the last 30 daily graphs. It was specifically written for a FREESCO router (http://www.freesco.org) but can be ported to other Linux distros.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  09 Jan 2002 09:25

    No changes have been submitted for this release.

    Recent comments

    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

    OpenStack4j

    A Fluent OpenStack client API for Java.

    Screenshot

    Project Spotlight

    TurnKey TWiki Appliance

    A TWiki appliance that is easy to use and lightweight.