Setting up MRTG and Smokeping to Monitor Bandwidth Usage and Network Latency: Difference between revisions

From Alpine Linux
m (Added initial notes for MRTG)
m (Added under construction template)
Line 1: Line 1:
Coming soon: tutorial for how to set up MRTG and Smokeping monitoring.
{|style="width: 33em; padding:2px; margin:0; margin-bottom:10px; background-color:#f6f6f6; border:1px solid #aaa; -moz-border-radius-bottomright: 0.5em; -moz-border-radius-bottomleft: 1em; border-radius-bottomright: 0.5em; border-radius-bottomleft: 1em; -webkit-border-bottom-right-radius: 0.5em; -webkit-border-bottom-left-radius: 1em;"
|<div style="font-size: 1.5em; font-weight:bold;"> [[Image:Underconstruction_clock_icon_gray.svg‎|64px|left|link=]] This page is a work in progress ... </div><p style="text-align: center; font-size: 87%;">This page is still being developed.</p>
|}


Notes for smokeping(in progress):
Notes for smokeping(in progress):

Revision as of 06:55, 27 May 2010

This page is a work in progress ...

This page is still being developed.

Notes for smokeping(in progress):

Lighttpd - do not execute CGIs with interpreter
Need perl-rrd
Need perl CPAN URI::Escape
Paths within smokeping scripts (/etc/smokeping/*, smokeping.cgi, perl libs, scripts in bin)
Setup monitoring hosts

Notes for MRTG (in progress):

Deps: gd-dev, libpng-dev, zlib-dev
configure --prefix=/usr/local/mrtg-2
make && make install
/usr/local/mrtg-2/bin/cfgmaker --global 'WorkDir: /path/to/work/dir' --global 'Options[_]: bits,growright' --output /path/to/config/file/mrtg.cfg snmp-community@host
Check that output folder is accessible via web server (ie /var/www/localhost or whatever you have configured)
To test: /usr/local/mrtg-2/bin/mrtg /path/to/config/file/mrtg.cfg
Once working, add to crontab to run as often as desired (ie 5 min)