How does ISPConfig check the used bandwidth for the day/month?? I am trying to implement this on an old box without having to install ISPConfig.
ISPConfig uses its own scripts to fo this. Have a look in the logs.php and mail_logs.php in the directory /root/ispconfig/scripts/shell/