Sully and Earl (and a few others) run MRTG from Windows, so they could give you better specifics.
1. You'll actually want your MRTG directory as c:\inetpub\wwwroot\mrtg By default, IIS runs out of \inetpub\wwwroot, not \inetpub 2. Check from the SB site and download the sb-mrtg.pl stuff. Inside the Windows version, you'll see sample .cfg files. Note that you'll want your CFG file to read as Target[devicename]: `wperl sb-mrtg.pl -i 192.168.0.22 -c public -t w` (don't quote me on the above, that's just from memory) The point being is that you'll need to use backticks (I *think*) and you'll want to call "wperl" instead of "perl". 3. You'll want to run this as a daemon process, ....but I forget how you'll need to do that. Check with Sully, Earl and the other guys. While we're on the topic of MRTG... Is anyone making ~200 calls every 5 minutes? I'm doing it on a P300 RedHat box and the box owner is telling me that his MUDD game is dragging .probably because of it. Suggestions? (I haven't tried the "forks" directive. Will give that a shot, but I don't know if that runs automatically) TIM From: "John Gantt" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Tue, 29 Jul 2003 18:30:12 -0400 >I am stumped! > >I have installed ActivePerl on a Windows XP Pro laptop, and can run the >"perl sb-mrtg.pl -i <IP ADDRESS> -c <Community String> -t w" and I receive >the proper information back in the command line window. My next step is to >run the "perl sb-mrtg.pl pcdotnet_wireless.cfg" command and it returns the >Copyright & USAGE text which appears to be an error message, but I am not >certain it is. I cannot tell if it succeeded or not, and there is no output >that I can find anywhere. > >I need someone to steer me in the right direction on how to configure a web >server to generate the MRTG results continuously for my network. > >I have all *.cfg files and the sb-mrtg.pl in c:\inetpub\mrtg. Help please! > >John > Tim Foster www.AledoBroadBand.com Aledo's only high-speed ISP 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
