LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Configuring MRTG (https://www.linuxquestions.org/questions/linux-networking-3/configuring-mrtg-646238/)

brgsousa 06-01-2008 01:11 PM

Configuring MRTG
 
Hi,
I could sucessfully configure MRTG to monitor my server eth0 interface.
I wanna know if is there anyway that this same server can monitor workstation's bandwidth in the same LAN. Can I "tell" the server what ip's I want to monitor?

Thanks

Omer Fadul 06-02-2008 06:47 AM

please provide if you are using SNMP or not,
if you are using snmp on your workstation, simply do the following:
cfgmaker --global 'workdir /path/to/your/working/directory' --output /path/to/your/.cfg/file public@workstation --options 'growright, bits'
the above command will create the needed cfg file, then simply run the mrtg command:
env LANG=C /usr/bin/mrtg /path/to/your/.cfg/file

repeat the above command three time.

then add it to your crontab database.

if you are using none snmp protocol, you can simply check the details of MRTG howto on their web site.


All times are GMT -5. The time now is 12:46 AM.