The link I sent out will install a working copy of MRTG and all of the perl needed items... it's a 28meg file download. It also includes some other nice stuff you might like.. like Ethereal.. a packet scanner for Winblows.. so you can sniff your networks and everything...
It's a free download... give it a try.. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Blazen Wireless Sent: Wednesday, August 20, 2003 23:09 To: [EMAIL PROTECTED] Subject: Re: [smartBridges] GOT MRTG TO WORK I THINKG okay I give up again with this MRTG stuff it is driving me nuts I don't see any link to any website describing how to set it up in windows. I got where I am all by luck now all I need to do is find a way to automate and display this stuff.. ----- Original Message ----- From: "Ole Bj�rklund" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 20, 2003 3:19 PM Subject: RE: [smartBridges] GOT MRTG TO WORK I THINKG Hi! In your MRTG\bin directory you should have the file called mrtg (a perl script) and the sb-mrtg.pl (perl script). Then you need a mrtg.cfg file with the devices you want to monitor and the path to the directory for storing all of the MRTG related files (this should be a directory under your wwwroot as wwwroot\monitor, then all the files and graphs get stored there. The first couple of times the command "perl mrtg mrtg.cfg" is run it will start creating the files in the target directory. You will not get any informational graphs until the command has run at least 3 times (i think its 3 times) so the logfiles etc. get created and data is dumped into the files. <<<<< MRTG.CFG >>>>>> ### 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 EnableIPv6: no # This make the perl script run all the time for you test RunAsDaemon: yes # At 5 minutes interval Interval: 5 # This is where it puts the files and graphs! WorkDir: C:\InetPub\wwwroot\monitor # In there you get a lot of files for each IP adress you monitor!!!! # One of them is the .htm file for that device Target[10.0.10.253]: `sb-mrtg.pl -i 10.0.10.253 -c public -t w` Options[10.0.10.253]: noinfo, growright, gauge, integer, nolegend, nobanner MaxBytes[10.0.10.253]: 100000000 Legend1[10.0.10.253]: Wireless Traffic Legend2[10.0.10.253]: TX and RX bytes YLegend[10.0.10.253]: 10.0.10.253 Wireless Title[10.0.10.253]: WLAN Traffic at 10.0.10.253 PageTop[10.0.10.253]: <H1>WLAN Traffic customer one</H1> Unscaled[10.0.10.253]: ym XSize[10.0.10.253]: 300 YSize[10.0.10.253]: 150 ShortLegend[10.0.10.253]: WLan Target[10.0.10.252]: `sb-mrtg.pl -i 10.0.10.252 -c public -t w` Options[10.0.10.252]: noinfo, growright, gauge, integer, nolegend, nobanner MaxBytes[10.0.10.252]: 100000000 Legend1[10.0.10.252]: Wireless Traffic Legend2[10.0.10.252]: TX and RX bytes YLegend[10.0.10.252]: 10.0.10.252 Wireless Title[10.0.10.252]: WLAN Traffic at 10.0.10.252 PageTop[10.0.10.252]: <H1>WLAN Traffic customer two</H1> Unscaled[10.0.10.252]: ym XSize[10.0.10.252]: 300 YSize[10.0.10.252]: 150 ShortLegend[10.0.10.252]: WLan <<<<< MRTG.CFG EOF>>>>>> As an example of collecting the Wireless traffic stats from the units! The command "perl mrtg mrtg.cfg" should be scheduled to run on 5 minutes intervall or runas a service (remember to use the RunAsDaemon and Interval options in the configuration file) In the directory (WorkDir) you would now get a bunch of .htm files and graphs plus the logfiles that mrtg uses. Hope this helps! Best Regards Oleb -----Original Message----- From: Blazen Wireless [mailto:[EMAIL PROTECTED] Sent: 20. august 2003 22:56 To: [EMAIL PROTECTED] Subject: [smartBridges] GOT MRTG TO WORK I THINKG I follow the install instructions and can do a dos command and it polls the info from whatever IP of SB product I give. Now the problem is how do I graph this or display what it polls and how do I automate this whole process?? HELPPPPPP this is on a windows machine Martin ** This message does not contain any viruses - scanned by Elektron and Webconnect virusscanner ** ** This message does not contain any viruses - scanned by Elektron and Webconnect virusscanner ** The PART-15.ORG smartBridges Discussion List To Join: mailto:[EMAIL PROTECTED] (in the body type subscribe smartBridges <yournickname> To Remove: mailto:[EMAIL PROTECTED] (in the body type unsubscribe smartBridges) Archives: http://archives.part-15.org The PART-15.ORG smartBridges Discussion List To Join: mailto:[EMAIL PROTECTED] (in the body type subscribe smartBridges <yournickname> To Remove: mailto:[EMAIL PROTECTED] (in the body type unsubscribe smartBridges) Archives: http://archives.part-15.org The PART-15.ORG smartBridges Discussion List To Join: mailto:[EMAIL PROTECTED] (in the body type subscribe smartBridges <yournickname> To Remove: mailto:[EMAIL PROTECTED] (in the body type unsubscribe smartBridges) Archives: http://archives.part-15.org
