Netmgr Question

kernel2

01-04-2004 10:26:02

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

silfreed

01-04-2004 11:50:38

[quote7dfe4c6be5="kernel2"]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.[/quote7dfe4c6be5]

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.

[quote7dfe4c6be5="kernel2"]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?[/quote7dfe4c6be5]

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

-Doug

kernel2

01-04-2004 12:59:20

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