Multi Router Traffic Grapher

The Multi Router Traffic Grapher (MRTG) is free software for monitoring and measuring the traffic load on network links. It allows the user to see traffic load on a network over time in graphical form.

MRTG
Developer(s)Tobi Oetiker
Stable release
2.17.7 / July 13, 2018 (2018-07-13)[1]
Written inPerl
Operating systemCross-platform
TypeBandwidth monitor
LicenseGNU General Public License
Websiteoss.oetiker.ch/mrtg/

It was originally developed by Tobias Oetiker and Dave Rand to monitor router traffic, but has developed into a tool that can create graphs and statistics for almost anything.

MRTG is written in Perl and can run on Windows, Linux, Unix, Mac OS and NetWare.

A sample MRTG bandwidth graph.

How it works

SNMP

MRTG uses the Simple Network Management Protocol (SNMP) to send requests with two object identifiers (OIDs) to a device. The device, which must be SNMP-enabled, will have a management information base (MIB) to look up the OIDs specified. After collecting the information it will send back the raw data encapsulated in an SNMP protocol. MRTG records this data in a log on the client along with previously recorded data for the device. The software then creates an HTML document from the logs, containing a list of graphs detailing traffic for the selected devices in the server.

Script output

Alternatively, MRTG can be configured to run a script or command, and parse its output for counter values. The MRTG website contains a large library of external scripts to enable monitoring of SQL database statistics, firewall rules, CPU fan RPMs, or virtually any integer-value data.

Features

  • Measures two values (I for Input, O for Output) per target.
  • Gets its data via an SNMP agent, or through the output of a command line.
  • Typically collects data every five minutes (it can be configured to collect data less frequently).
  • Creates an HTML page per target that features four graphs (GIF or PNG images).
  • Results are plotted vs time into day, week, month and year graphs, with the I plotted as a full green area, and the O as a blue line.
  • Automatically scales the Y axis of the graphs to show the most detail.
  • Adds calculated Max, Average and Current values for both I and O to the target's HTML page.
  • Can also send warning emails if targets have values above a certain threshold.
gollark: PotatOS. PtaMO>. otatOS.otatOS PttO. ottSt PgatO. Pota. PwtatOS. PottOZP~tatOo oatOSs(PPtatS. PtctOS. Poat+S.PotaO. PotwtOS. PotayS* Potat8(tatS. Pooat.otatOy. Pa]S. PotaOSPoaBS.mPpaOS. Pot{CS.otaOS.Pot$tOSTPotOS. PotaAS. ott
gollark: Iptal poBtOS. InsallptatO'.Install pqatOS^Inta/l potaOR. Install potatOSrstall otatS. nstall potaj.
gollark: Tis mesage hs ha lsy compressio,pplied i i.>This>mssge 8aS ha losy cmpressi\#pie oit. T,s Ossgehs h_loss compres#iozappl-e& toiThi mssae asIad="osy comprein aplie co it.This Nesage aWha losyNcjpressiog appid to it.
gollark: PotatOS?
gollark: Could someone provide some spawn-chunk space for the skynet relay? My chunkloader doesn't actually work.

See also

  • RRDtool - Reimplementation of MRTG's graphing and logging features
  • Munin - Another monitoring application with web interface, based on RRDtool
  • Cacti - A similar tool using RRDtool

References

  1. "Index of /mrtg/pub". Retrieved 2013-01-12.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.