View Full Version : Total traffic
I like to know where directadmin does save his ftp traffic stats, I need it because I am making total traffic stats for the users (including ssh traffic).
and whats a simple way to measure total traffic used by the server, so i can compare that with what the hoster bills me for?
DirectAdmin Support
06-22-2004, 12:02 PM
Hello,
ftp stats are saved in /var/log/proftpd/1.2.3.4.bytes where 1.2.3.4 is the IP. (1 file per ip). This file is rotated nightly.
Total server traffic does show up in the admin panel, but only accounts for logged data. You'd want something like mrtg for keeping track of everything because many things can bypass bandwidth logging: ie: downloading files to the server with wget.
John
something other then mrtg?
or does anyone have a config that measures Gb, instead of kb/s?
i get MRTG stats with 95% rule from my hoster
when i install MRTG, should that give me almost similar graphs?
DirectAdmin Support
06-25-2004, 12:49 PM
mrtg is pretty good, it should be fairly close.
John
nobaloney
06-25-2004, 06:37 PM
Originally posted by ret
i get MRTG stats with 95% rule from my hoster
when i install MRTG, should that give me almost similar graphs?
If your hosting company is using MRTG you should get almost exactly the same numbers.
While we think of our ethernet cable as a pipe to the Internet, there shouldn't be any leaks between your ethernet port and the one he's measuring.
:)
Jeff
nybble
11-07-2004, 07:43 PM
Originally posted by DirectAdmin Support
Hello,
ftp stats are saved in /var/log/proftpd/1.2.3.4.bytes where 1.2.3.4 is the IP. (1 file per ip). This file is rotated nightly.
Total server traffic does show up in the admin panel, but only accounts for logged data. You'd want something like mrtg for keeping track of everything because many things can bypass bandwidth logging: ie: downloading files to the server with wget.
John
wget will bypass this? If you have phpsuexec will it stop this?
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.