Bandwidth Monitor-Thanks
Harry
hari76 at omantel.net.om
Sun May 9 13:44:56 UTC 2004
Ed Wilts wrote:
>On Sun, May 09, 2004 at 01:01:32PM +0530, Harry wrote:
>
>
>>have done to get this working? I have also attached my makecfg.sh
>>script, pls have a look at it and let me know if its right?
>>
>>
>
>It's /etc/mrtg/mrtg.cfg that needs to be modified and it's this
>configuration file that needs to be updated with the mrtg_total specific
>entries. I've included my first interface in mrtg.cfg below. Note that
>I specified the directory that the graphs went into so they end up in
>/var/www/mrtg/graphs/mrtg_total
>
>
># Created by
># /usr/bin/cfgmaker --global 'WorkDir: /var/www/mrtg/graphs' --global 'Options[_]: growright,bits' public at firewall.ewilts.org
>
>
>### Global Config Options
>
># for UNIX
># WorkDir: /home/http/mrtg
>
># or for NT
># WorkDir: c:\mrtgdata
>
>### Global Defaults
>
># to get bits instead of bytes and graphs growing to the right
># Options[_]: growright, bits
>
>WorkDir: /var/www/mrtg/graphs
>Options[_]: growright,bits
>
>######################################################################
># System: BEFSR81
># Description: BEFSR81
># Contact: ewilts at ewilts.org
># Location: -
>######################################################################
>
>
>### Interface 1 >> Descr: 'K32_MAC' | Name: '' | Ip: '192.168.0.1' | Eth: '00-04-5a-ff-ca-55' ###
>
>Target[firewall.ewilts.org_1]: 1:public at firewall.ewilts.org:
>SetEnv[firewall.ewilts.org_1]: MRTG_INT_IP="192.168.0.1" MRTG_INT_DESCR="K32_MAC"
>#-#Total[firewall.ewilts.org_1]: Traffic Totals for Internal Interface
>#-#Total-Unit[firewall.ewilts.org_1]: M
>#-#Total-Ratio[firewall.ewilts.org_1]:yes
>#-#Total-Directory[firewall.ewilts.org_1]: mrtg_total
>MaxBytes[firewall.ewilts.org_1]: 1250000
>Title[firewall.ewilts.org_1]: Traffic Analysis for 1 -- Internal
>PageTop[firewall.ewilts.org_1]: <H1>Traffic Analysis for 1 -- Internal</H1>
> <TABLE>
> <TR><TD>System:</TD> <TD>BEFSR81</TD></TR>
> <TR><TD>Maintainer:</TD> <TD>ewilts at ewilts.org</TD></TR>
> <TR><TD>Description:</TD><TD>K32_MAC </TD></TR>
> <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR>
> <TR><TD>ifName:</TD> <TD>Internal</TD></TR>
> <TR><TD>Max Speed:</TD> <TD>10.0 Mbits/s</TD></TR>
> <TR><TD>Ip:</TD> <TD>192.168.0.1 (firewall.ewilts.org)</TD></TR>
> </TABLE>
>
>
>
This makes a lot of sense now...will try it right away and keep you
posted, BTW some body suggested Bandwidthd, so I spent the whole
adternoon on it and just got it working, seems OK..but has some flawas
in it.
This forum is simply great!! Thank you every one...and special thanks to ED
Harry
More information about the redhat-list
mailing list