lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Individual web hosting bandwidth

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
kernel2
Beginner


Joined: 01 Apr 2004
Posts: 3

PostPosted: Thu Apr 01, 2004 6:01 pm    Post subject: Individual web hosting bandwidth Reply with quote

If you copy the netmrg config file over to each web host directory how do you configure it to keep track of the bandwidth that is being used, and how does netmrg access it?

Thank you
Phil

====================================



I am using the current version of netmgr on Redhat 9 and I have a few questions about the software.

Is netmrg able to monitor and report the bandwidth of several web pages if they are being hosted on the same machine? I need the report to give me individual details of how many bytes in and out for each seperate web site that I am hosting.


The main main page fror the server is located in the /home/www directory and netmrg was installed in the /var/www/netmrg directory. Do I need to copy any of the php or any of the other files in to the /home/www directory to make it work?

Thank you
Phil Taylor

Posted: Thu Apr 01, 2004 4:50 pm Post subject: Re: Netmgr Question

--------------------------------------------------------------------------------

kernel2 wrote:
Is netmrg able to monitor and report the bandwidth of several web pages if they are being hosted on the same machine? I need the report to give me individual details of how many bytes in and out for each seperate web site that I am hosting.


There aren't any scripts that come with NetMRG to do this natively; you'd have to have something that would gather these statistics and report them somehow for NetMRG to be able to pull it in. Some sort of log analyzer would probably be needed.
I normally just use webalizer anyway - it shows the kind of bandwidth usage you're interested in, just not as fine detail as normal interface graphs.

kernel2 wrote:
The main main page fror the server is located in the /home/www directory and netmrg was installed in the /var/www/netmrg directory. Do I need to copy any of the php or any of the other files in to the /home/www directory to make it work?


I think Apache's alias function is what you need. There is a file /etc/netmrg.conf that you can just move or copy into /etc/httpd/conf.d that will setup http://yourhost.com/netmrg.

-Doug
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Thu Apr 01, 2004 8:22 pm    Post subject: Reply with quote

NetMRG is currently written to only parse the physical interfaces on your box. If you have an interface for each website you host, it would be possible to get per-website traffic graphs. Otherwise, there's nothing built-in that would do this for your.

The config file I mentioned is generally only for one website; ie, it makes a link (/netmrg) on that website pointing at the /var/www/netmrg/webfiles directory. This is just so the NetMRG interface is available to manage/use your installlation.

-Doug
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group