Results 1 to 3 of 3
  1. #1

    Proactively Monitor Bandwidth?

    I've just gotten into VPS hosting, and I am trying to come up with an automated way of notifying myself if one of the accounts on the CentOS/Apache/cPanel/WHM server experiences a spike in bandwidth from a DOS or DDOS attack that might put them over their monthly bandwidth limit.

    Ideally, I'd have an automated system for handling the problem, but if nothing else, I'd like to get an email notice that it's happening so I could do something about it.

    I ran across mod_throttle in my search for something that would accomplish this, and checked with my managed hosting service, but they told me "mod_throttle is currently unavailable."

    Is there another way to accomplish this kind of monitoring and attack prevention?

  2. #2
    Join Date
    Jul 2008
    Seminole, OK
    Check out vnstat. Basically it has a cron job which will notify you if an interface goes over a certain amount of Bandwidth. I'm sure you could easily integrate it into a simple bash script and notify you.

    Basically create some kind of database or simple file and have the script compare current usage against normal usage.

    Good luck.
    Inode Hosting - Reliable Web Hosting for the right price.
    Shared & Reseller hosting featuring the industry leading cpanel
    99.9% Uptime Guarantee ,30 Day Money Back Guarantee ,24/7 Support
    Established since 2011

  3. #3
    Thanks for the reply.

    I may be missing something, but it looks like vnstat would track what I want for the entire server, but not for individual accounts.

Similar Threads

  1. Monitor bandwidth
    By Ruriko in forum Web Hosting
    Replies: 6
    Last Post: 10-11-2009, 06:38 PM
  2. *WiredTree: Fully Managed + Proactively Monitored! DoubleRAM+Bandwidth+more!
    By WiredTree Zac in forum Dedicated Hosting Offers
    Replies: 6
    Last Post: 06-15-2009, 07:04 PM
  3. Bandwidth Monitor?
    By mystycs in forum Hosting Security and Technology
    Replies: 11
    Last Post: 07-11-2007, 12:07 AM
  4. Bandwidth Monitor
    By PsyDonia in forum Hosting Software and Control Panels
    Replies: 5
    Last Post: 09-18-2003, 04:24 PM
  5. bandwidth Monitor
    By RobertW in forum Web Hosting
    Replies: 23
    Last Post: 01-23-2001, 03:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts