Difference between revisions of "Bandwidthd"
From Notes_Wiki
(Created page with "<yambe:breadcrumb>Network_related_tools|Network tools</yambe:breadcrumb> =bandwidthd= bandwidthd can be used to check bandwidth usage by each IP on a gateway or proxy machine...") |
m |
||
Line 6: | Line 6: | ||
# Configure all repositories such as rpmfusion, repoforge, etc. (esp. epel) | # Configure all repositories such as rpmfusion, repoforge, etc. (esp. epel) | ||
# yum -y install bandwidthd | # yum -y install bandwidthd | ||
# yum -y install | # yum -y install httpd mod_ssl php php-gd | ||
# vim /etc/bandwidth.conf | # vim /etc/bandwidth.conf | ||
## Ensure that subnets are correct | ## Ensure that subnets are correct |
Revision as of 08:02, 27 May 2015
<yambe:breadcrumb>Network_related_tools|Network tools</yambe:breadcrumb>
bandwidthd
bandwidthd can be used to check bandwidth usage by each IP on a gateway or proxy machine for monitoring purposes. To install bandwidthd use following steps:
- Configure all repositories such as rpmfusion, repoforge, etc. (esp. epel)
- yum -y install bandwidthd
- yum -y install httpd mod_ssl php php-gd
- vim /etc/bandwidth.conf
- Ensure that subnets are correct
- Set correct device named eg "dev venet0", "dev eth1", etc.
- service bandwidthd start
- service httpd restart
- chkconfig bandwidthd on
- chkconfig bandwidthd on
- Open http://192.168.122.102/bandwidthd/ to see the bandwidth usage graph
To restrict access to bandwidthd to administrators use:
- Edit /etc/httpd/conf.d/bandwidthd.conf and append
- <Directory "/var/www/bandwidthd/htdocs">
- Order Allow,Deny
- Allow from All
- </Directory>
-
- Here replace "Allow from All" appropriately