blog.up-link.ro android bsd linux unix & open-source world

17Jun/101

FreeBSD: System Monitoring with MRTG

The Multi Router Traffic Grapher, or just simply 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.

1. Installing Apache2 HTTP Server

Install Apache on the server you wish to display MRTG stats from:

cd /usr/ports/www/apache22
make install clean

To run Apache2 at system startup, append the following line to /etc/rc.conf :

apache22_enable="YES"

Start Apache2, enter:

/usr/local/etc/rc.d/apache22 start
Print This Post Print This Post