Current time: 11-26-2024, 12:01 PM Hello There, Guest! (LoginRegister)


Post Reply 
Need same important functions!
Author Message
data-stream_ru Offline
Moderator
*****
Moderators

Posts: 471
Joined: Jan 2009
Reputation: 7
Post: #1
Need same important functions!
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 Smile And I do not have the necessary quantities of Russian Vodka to solve this problem. Wink
(This post was last modified: 01-06-2009 04:15 AM by data-stream_ru.)
01-06-2009 03:17 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Need same important functions! - data-stream_ru - 01-06-2009 03:17 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)