Tag Info

New answers tagged


It sounds like you are trying to monitor full network bandwidth by measuring web server output as noted in its logs - this would not be sufficient as that not include any TCP/IP protocol overheads or other traffic (any SSH, FTP, database, or other traffic that the server might take part in). What you need to be watching is interface statistics. Any server ...


I would use a script (my favorite would be python with "re" module) to parse Apache access log For an example: - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 The last element is the bytes transferred to the client. You need to keep adding this number and print or log at a regular frequency to produce the total bytes ...


If your router is rflow enabled, you can have it report in to an external computer running a rflow collector. Example for a ddwrt router: http://www.dd-wrt.com/wiki/index.php/Using_RFlow_Collector_and_MySQL_To_Gather_Traffic_Information


Monit polls the processes, whereas runit runs them as child processes. My guess is that adding runit to the monit setup has the ability to increase the uptime percentage of your services.

Top 50 recent answers are included