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 | Networking Monitoring Internet Web Dynamic Content Utilities |
---|---|
Licenses | GPL |
Operating Systems | POSIX Linux |
Implementation | C Unix Shell |
No changes have been submitted for this release.
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?
Re: bug in 30 days archive cleanup line
Yupz, now it works ;-)
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.....
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.