Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: shani on February 07, 2006, 12:01:51 PM
-
Hi All
i want to setup MRTG on my Fedora core 4 machine
i have two networks one eth0 for lan
and one eth1 for external link
kinldly give me easy how to as i have already searched for
it but i did't find anything special which guide me properly.
thanks in advance for your help!!!!!!!!
thanks
Shan
-
Well.. there is automated script to install mrtg ..
Do following while you are connected to internet :
wge*t http://www.web4host.net/tools/install.mrtg.sh
chmod +x install.mrtg.sh
./install.mrtg.sh
then run following command
env LANG=C /usr/local/mrtg-2/bin/mrtg/var/www/html/mrtg/core/mrtg.cfg
after that.. to access mrtg just type
http://serverip/mrtg
-
Hi Ricky,
this link is not working.
wge t http://www.web4host.net/tools/install.mrtg.sh
thanks
shani
-
Well. . for security reason wge*t can't be used here , its actually you to remove the asteriek and the use it.
All files and links are are working . I have checked.
-
thanks ricky its working.
SHani
-
one question more
is there any space in the followiing command
env LANG=C /usr/local/mrtg-2/bin/mrtg/var/www/html/mrtg/core/mrtg.cfg
As when i gave this command it said that there is no such directory found.
regards
SHANI
-
Dear Ricky ,
Use the following command ,
Do following while you are connected to internet :
Code:
wge*t http://www.web4host.net/tools/install.mrtg.sh
chmod +x install.mrtg.sh
./install.mrtg.sh
then run following command
Code:
env LANG=C /usr/local/mrtg-2/bin/mrtg/var/www/html/mrtg/core/mrtg.cfg
after that.. to access mrtg just type
http://serverip/mrtg
I run my mrtg perfectly . But i have two question :
1) Is this MRTG is for my Machine's IP ?
2) suppose i have a cisco swich . A client network is connected via this switch port where it's IP is suppose 192.168.10.2 . In another port (port 3) my linux server
is connected where my IP is 192.168.10.3 . In this moment i want to see the Network Traffic or Bandwidth of my client's Network(192.168.10.2) . For this reason is any change is need to make in the above configuration ?
plz help ...........
-
yes this is your machines traffic graph.
well to see traffic for that particular machine you have to install mrtg on it also.