MRTG

From MediaWiki
Jump to: navigation, search

Contents

MRTG Graphing System

Packages

$ apt-get install mrtg

Configuration

SNMPD

First, configure net-snmpd on the host. See SNMP

Generate Configs

# Fix WorkDir after generating the configs (assuming /var/www/html/mrtg)
$ mkdir /var/www/html/mrtg/
$ cfgmaker public-xxxx@localhost > /etc/mrtg.cfg
$ indexmaker /etc/mrtg.cfg > /var/www/html/mrtg/index.html

The graphs will be automatically generated in 5 minutes. See /etc/cron.d/mrtg

Personal tools