Collect network traffic stats on bandwidth usage with freeware

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

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 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

Dig deeper on Network Management Services

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

0 comments

Oldest 

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:

-ADS BY GOOGLE

MicroscopeUK

SearchCloudProvider

SearchSecurity

SearchStorage

SearchNetworking

SearchCloudComputing

SearchConsumerization

SearchDataManagement

SearchBusinessAnalytics

Close