|
||||||||
A program worth looking at instead of MRTG is Cacti, available from http://www.raxnet.net/products/cacti/ It uses RRDTOOL to do the graphing and round robin database, which is a replacement of sorts for MRTG written by the same author as MRTG. Cheers, Steven Quoting John Voigt <1geek at jvoigt dot com>: > MRTG has to run elsewhere. > > John Voigt, President > > Reston Wireless, LLC > High speed internet service > no smoke, no mirrors, no wires (tm) > http://www.reston-wireless.net/ > > ----- Original Message ----- > From: "Joe" <lagreca at hotmail dot com> > To: "Michael Mee" <mm2001 at pobox dot com>; "Andy Prasetya" > <andyprasetya at netscape dot net>; <m0n0wall at lists dot m0n0 dot ch> > Sent: Wednesday, January 28, 2004 2:18 AM > Subject: Re: [m0n0wall] MRTG Support > > > > Please excuse my ignorance, but how would you get such a script on a > > m0nowall to execute MRTG? > > > > Would MRTG be running on the m0n0wall or elsewhere? > > > > Thanks. > > > > Joe > > > > ----- Original Message ----- > > From: "Michael Mee" <mm2001 at pobox dot com> > > To: "Andy Prasetya" <andyprasetya at netscape dot net>; <m0n0wall at lists dot m0n0 dot ch> > > Sent: Tuesday, January 27, 2004 7:29 PM > > Subject: Re: [m0n0wall] MRTG Support > > > > > > > > Now, there is a question, does M0n0Wall can be monitored > > > > by MRTG, regarding that N0n0Wall also support SNMP? if it > > > > does, how to configure it? > > > > > > Yes, you can monitor m0n0wall with MRTG. > > > > > > Here's a simple script, which produces the results at: > > > http://www.sdwug.org/mee/64.7.1.228_all.html > > > > > > Script is below. Enjoy! > > > > > > <--- start here ----> > > > # Created by > > > # ./cfgmaker 66.218.71.88 > > > > > > ### Global Config Options > > > > > > ### Global Defaults > > > > > > # to get bits instead of bytes and graphs growing to the right > > > # Options[_]: growright, bits > > > > > > WorkDir: /home/sdwug/www/mrtg/mee > > > Options[_]: bits, growright > > > > > > ###################################################################### > > > # System: firewall.local > > > # Description: FreeBSD firewall.local 4.8-RELEASE FreeBSD 4.8-RELEASE > #0: > > > Sun Sep i386 > > > # Contact: "m0n0wall at mikemee dot com" > > > # Location: "San Diego" > > > ###################################################################### > > > > > > > > > ### Interface 1 >> Descr: 'sis0' | Name: '' | Ip: '10.0.0.1' | Eth: '' > ### > > > > > > Timezone[66.218.71.87_1]: GMT+7 > > > Target[66.218.71.87_1]: 1:public@66.218.71.87: > > > SetEnv[66.218.71.87_1]: MRTG_INT_IP="10.0.0.1" MRTG_INT_DESCR="sis0" > > > MaxBytes[66.218.71.87_1]: 12500000 > > > Title[66.218.71.87_1]: Traffic Analysis for 1 -- firewall.local > > > PageTop[66.218.71.87_1]: <H1>Traffic Analysis for 1 -- > firewall.local</H1> > > > <TABLE> > > > <TR><TD>System:</TD> <TD>firewall.local in "San Diego"</TD></TR> > > > <TR><TD>Maintainer:</TD> <TD>"m0n0wall at mikemee dot com"</TD></TR> > > > <TR><TD>Description:</TD><TD>sis0 </TD></TR> > > > <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR> > > > <TR><TD>ifName:</TD> <TD></TD></TR> > > > <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR> > > > <TR><TD>Ip:</TD> <TD>10.0.0.1 ()</TD></TR> > > > </TABLE> > > > > > > > > > ### Interface 2 >> Descr: 'sis1' | Name: '' | Ip: '66.218.71.87' | Eth: > '' > > > ### > > > > > > Timezone[66.218.71.87_2]: GMT+7 > > > Target[66.218.71.87_2]: -2:public@66.218.71.87: > > > SetEnv[66.218.71.87_2]: MRTG_INT_IP="66.218.71.87" MRTG_INT_DESCR="sis1" > > > MaxBytes[66.218.71.87_2]: 640000 > > > Title[66.218.71.87_2]: Traffic Analysis for 2 -- firewall.local > > > PageTop[66.218.71.87_2]: <H1>Traffic Analysis for 2 -- > firewall.local</H1> > > > <TABLE> > > > <TR><TD>System:</TD> <TD>firewall.local in "San Diego"</TD></TR> > > > <TR><TD>Maintainer:</TD> <TD>"m0n0wall at mikemee dot com"</TD></TR> > > > <TR><TD>Description:</TD><TD>sis1 </TD></TR> > > > <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR> > > > <TR><TD>ifName:</TD> <TD></TD></TR> > > > <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR> > > > <TR><TD>Ip:</TD> <TD>66.218.71.87 > > > (ip-66.218.71.87.dsl.lax.megapath.net)</TD></TR> > > > </TABLE> > > > > > > > > > ### Interface 7 >> Descr: 'wi0' | Name: '' | Ip: '' | Eth: '' ### > > > > > > Timezone[66.218.71.87_7]: GMT+7 > > > Target[66.218.71.87_7]: -7:public@66.218.71.87: > > > SetEnv[66.218.71.87_7]: MRTG_INT_IP="" MRTG_INT_DESCR="wi0" > > > MaxBytes[66.218.71.87_7]: 11000000 > > > Title[66.218.71.87_7]: Traffic Analysis for 7 -- firewall.local > > > PageTop[66.218.71.87_7]: <H1>Traffic Analysis for 7 -- > firewall.local</H1> > > > <TABLE> > > > <TR><TD>System:</TD> <TD>firewall.local in "San Diego"</TD></TR> > > > <TR><TD>Maintainer:</TD> <TD>"m0n0wall at mikemee dot com"</TD></TR> > > > <TR><TD>Description:</TD><TD>wi0 </TD></TR> > > > <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR> > > > <TR><TD>ifName:</TD> <TD></TD></TR> > > > <TR><TD>Max Speed:</TD> <TD>1250.0 kBytes/s</TD></TR> > > > </TABLE> > > > > > > > > > <---- end here -----> > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch > > > For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch > > For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch > For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch > > |