• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 465
  • Last Modified:

Logging of bandwidth usage on a per-site basis

I'd like to put in place some monitoring of websites hosted on an IIS 6 server and display them similar to how I get my MRTG bandwidth usage reports from my network provider. Is it possible to configure MRTG so that it will take the results of the IIS logfiles (with bytes send/received logging enabled) and output the results similar to this example I found online:


If so, how can I implement this so that I can iterate through the different sites (even if I have to hardcode which sites) and output a bandwidth usage page per site?
1 Solution
MRTG is basically a tool for monitoring the network traffic .it can be further used to check some other SNMP parameters too.But making making MRTG to monitor seperate websites in IIS , dont know how far it is practical.

You can parse the log of IIS using MRTG,but  getting the site statistics seperately would be difficult. i have a seen an article which used RRDtool and Logparser to monitor the IIS logs.even  from the performancemonitor i am not sure that u can get the statistics for seperate sites.if it a single site i think ur idea may work

You can go thru this article to see how rrdtool and logparser can analyse iis logs

this article shows how MRTG can be used for NID
BMConsultAuthor Commented:
I've seen the Security Focus article... but the logparser/rrdtool combo looks promising.  I'll play around with that and post back if this will do what I need it to. Ultimately, aside from some nice pretty graphs to view the bandwidth trends, I'd like to have total MB/GB transferred as well as average and 95th percentile bandwidth usage.  Total transferred is the easy part I would think.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now