Logging of bandwidth usage on a per-site basis

Posted on 2006-06-06
Last Modified: 2012-05-05
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?
Question by:BMConsult
    LVL 10

    Accepted 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

    Author Comment

    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

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now