1. Admin and Resellers should be able to suspend and unsuspend users account for meny reasons. For example: ddos or cpu overload, and if user do not pay on time, еtс.
At now I do it by hand - chmod and chown to .htaccess, adding to it My directory index, and loading my index page whith message "Your account is temporarily locked. Please contact with the Server Administrator." chmod and chown it.
It's not usefuly solution.
But easy to add "deny all" to ispcp.conf for all bloced users aliases and subdomains. E-mails and ftp do not need to block.
2. Overall statistics to server traffic do not worked stable. Sometimes worked and sometimes not. It is known to all. And server stat worked only whith iptables. If using anower FW, such as APF, traffic statistics in down.
This is a bad legacy from the foolish VHCS trafic-engine.
Need stable engine!
Possible solutions to use another angine.
See check_sys packet at
http://matya.pl/check_sys
It`s contain two perl scripts for remote hosts an one dispatching host, but I use it for localhost without tunneling.
In futures is a counting server net-traffic, but only speeds of traffic in bits/sec and packets/sec.
See demo in real-time at
http://main.data-stream.ru/check_sys/
login/pass - demo/demo
May be used this engine to collect traffic statistics, for axample in SQL table?
I thing, that integration of graphical tables from this script to panes is a good solution.
3. Need CPU (and RAM in the future) usage statistics for users accounts. Simply only for apache. Traffic does not matter if the server is overloaded and go to reboot. We should see that the user is doing.
Possible solution to parsing apache /serverstatus
I seen packag at sourceforge.net wich named "Domain Monitoring Script"
It is written in php and using mySQL, but it`s written for older Apache, and have a trable to parsing new apache /serverstatus page.
My php-coder saved my his solution, but if i see preg_match and patterns I fall into stupor
And I do not have the necessary quantities of Russian Vodka to solve this problem.