NEO_Lantech
08-21-2002, 02:03 PM
Does anyone knwo how to install/configure MRTG on Win2K Server?
I am trying to learn and need to findout if that lets you measure how much traffic a perticular NIC is pushing through. Any help will be great! Also are there any other programs such as MRTG that measure network trraffic?
Thanks.
Ameen
davidb
08-21-2002, 02:17 PM
mrtg is really ment for routers, I dont know of it working on nics. There should be something in windows to tell you how much has been transferd, or with a little research Im sure you can come up with something similar to mrtg for nics on windows. I have seen programs that graphically map ethernet nics on linux. So try searching a bit, im sure you can come up with something, or mabey someone here will suggest something.
NEO_Lantech
08-21-2002, 02:34 PM
Thanks David, but how do people measure traffic when they provide dedicated server solutions? for ex. I'v see ads like 100GB traffic/month. How is that measured, because I 'v seen it done over MRTG graphs on various sites.
If you want to use MRTG you need to write an app for it to interface to it, ie. write an application that calls "netstat -e" and reports the bandwidth usage back to mrtg every 5 minutes. This is basically how it works with routers and linux boxes.
allera
08-21-2002, 02:41 PM
Look for some kind of SNMP (or similar) app/process/daemon for windows and have MRTG query it.
Keep in mind that MRTG only plots information given to it. MRTG is not only used for tracking bandwidth, but for diskspace, loads, processes, connections, the weather, how many hours you sleep a night, high and low tides, anything at all that can be quantified. MRTG takes that info and plots it -- that's all. It's up to you (SNMP or otherwise) to get that information to MRTG.
Hope that clears it up. :)
allera
08-21-2002, 02:43 PM
Originally posted by NEO_Lantech
Thanks David, but how do people measure traffic when they provide dedicated server solutions? for ex. I'v see ads like 100GB traffic/month. How is that measured, because I 'v seen it done over MRTG graphs on various sites.
Get an HP 2524 or Dell 3024 (there's plenty of others) switch which includes SNMP support for each port. Then have MRTG query the switch every five minutes.
driverdave
08-21-2002, 03:05 PM
MRTG is not for calculating transfer, it's for giving you an average bandwidth usage over time snapshot.
They are 2 completely different things.
For transfer, just query the nic for bytes in/out.