Results 1 to 3 of 3
I use Fedora fc-9 on a dedicated server. I do the majority of my server management with Webmin, though I'm not illiterate with SSH. There are 5 sites on my ...
- 02-02-2009 #1Just Joined!
- Join Date
- May 2006
- Posts
- 11
Traffic monitor
I use Fedora fc-9 on a dedicated server. I do the majority of my server management with Webmin, though I'm not illiterate with SSH. There are 5 sites on my server. All share a single IP.
My host provides a "Resource Usage" page that tells me how many Gig's I've used. However its accuracy is very suspect. I would like to install something that is reliable that does not load my system. I'd like to be able to reset it on the 15th of the month at midnight so that it will record totals for the next month. It would be nice if I could separate out usage according to which of the 5 sites are being visited.
I have Munin installed. It shows instantaneous values but doesn't show totals for the month.
I looked at ntop but it seems to do a lot more than I need and it loses its data with a reboot.
Any help, suggestions?
UsagiChan
- 02-02-2009 #2
Take a look at this it might be something that is useful to you, MRTG
- 02-02-2009 #3Just Joined!
- Join Date
- May 2006
- Posts
- 11
Thanks Lazydog. I had also asked my hosting company and they said, "Either bandwidthd or vnStat should work for bandwidth monitoring."
I installed vnStat with yum. It defaults to eth0 but my server uses eth1 for internet so i had to change 2 configuration files:
/etc/vnstat.conf
/etc/sysconfig/vnstat
The second one is used by cron. The cron job was added with the install of vnstat but it needed to be activated.
vnstat only gives a console output (or through ssh) but there is a php module which will give an output that can be seen in a web browser:
vnStat PHP frontend
That needs only to be uploaded to a directory then its config.php edited.
I changed:
the $iface_list line to read: $iface_list = array('eth1');
and
The $vnstat_bin line to read: $vnstat_bin = '/usr/bin/vnstat';
Works fine now.
UsagiChan


Reply With Quote