Tip

Collect network traffic stats on bandwidth usage with freeware

This tip, courtesy of SearchWinComputing.com, offers advice for systems integrators and network consultants on gathering bandwidth usage statistics with freeware Multi-Router Traffic Grapher.

Most administrators monitoring a network-connected

    Requires Free Membership to View

server like to have live statistics about the machine's bandwidth utilization -- how much is being used and by what functions. For instance, if you have a server hosted at a remote NOC, the host usually provides a network statistics package. But if you're responsible for your own network, you'll have to devise statistics entirely on your own.

The Multi-Router Traffic Grapher (version 2.12.2) is a small but powerful software package designed to gather network traffic statistics via SNMP (Simple Network Management Protocol) and report them back in an easy-to-read graphical format. The program gathers statistics over varying periods of time: daily, weekly, monthly and yearly, all consolidated in logs that keep only the most essential data. The program can also monitor multiple network connections across multiple servers

MRTG requires Perl to run under Windows. The Perl components are strictly for the sake of assembling and formatting the reports; routines written in C for speed and portability do the actual gathering of SNMP stats. Versions are also available for Unix and Novell NetWare machines. The target device being polled must have SNMP enabled and available (such as a Cisco router).

Over time, features have been added to MRTG, which include the use of SNMPv2c 64-bit counters (so counters don't roll over prematurely); the ability to identify the target interface by multiple criteria, not just interface number; and the ability to report back bandwidth usage by service and port. This would allow you to determine how much of your bandwidth is being used by e-mail versus Web services, for instance. Incidentally, this tool can monitor any SNMP variable, not just bandwidth; bandwidth is just one of the possible variables.

If you're curious, here are some examples of MRTG in use in various environments.

About the author
Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators -- and please share your thoughts as well!

This tip originally appeared on SearchWinComputing.com.


 

This was first published in November 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.