###################################################################### # Multi Router Traffic Grapher -- Example Configuration File ###################################################################### # This file is for use with mrtg-2.0 # # Note: # # * Keywords must start at the begin of a line. # # * Lines which follow a keyword line which do start # with a blank are appended to the keyword line # # * Empty Lines are ignored # # * Lines starting with a # sign are comments. # Where should the logfiles, and webpages be created? # Minimal mrtg.cfg #-------------------- HtmlDir: /var/www/mrtg ImageDir: /var/www/mrtg LogDir: /var/lib/mrtg ThreshDir: /var/lib/mrtg #Target[r1]: 2:public@myrouter.somplace.edu #MaxBytes[r1]: 1250000 #Title[r1]: Traffic Analysis #PageTop[r1]:

Stats for our network

Target[cpu_temp]: `/etc/mrtg/mrtg_temp 1 2` Options[cpu_temp]: growright, absolute, gauge, integer, nopercent, nobanner MaxBytes[cpu_temp]: 400 AbsMax[cpu_temp]: 1600 Title[cpu_temp]: CPU/board temperature PageTop[cpu_temp]:

CPU/board temperature

YLegend[cpu_temp]: Celsius ShortLegend[cpu_temp]: C Target[eth0]: `/etc/mrtg/mrtg_eth eth0` Options[eth0]: growright MaxBytes[eth0]: 13107200 Title[eth0]: Ethernet eth0 PageTop[eth0]:

Ethernet

Target[eth1]: `/etc/mrtg/mrtg_eth eth1` Options[eth1]: growright MaxBytes[eth1]: 13107200 Title[eth1]: Ethernet eth1 PageTop[eth1]:

Ethernet

Target[cpu]: `/etc/mrtg/mrtg_cpu` Options[cpu]: growright, absolute, gauge, integer, nopercent, nobanner MaxBytes[cpu]: 500 AbsMax[cpu]: 99999 Title[cpu]: CPU PageTop[cpu]:

CPU usage

YLegend[cpu]: System load ShortLegend[cpu]: % Target[mem]: `/etc/mrtg/mrtg_mem` Options[mem]: growright, absolute, gauge, integer, nopercent, nobanner MaxBytes[mem]: 2097632000 Title[mem]: Memory PageTop[mem]:

Memory usage

YLegend[mem]: Bytes ShortLegend[mem]: B Target[hd]: `/etc/mrtg/mrtg_hd sda sdb` Options[hd]: growright MaxBytes[hd]: 99999999 Title[hd]: HD usage PageTop[hd]:

HD usage

Target[hddtemp]: `/etc/mrtg/mrtg_hddtemp /dev/sda /dev/sdb` Options[hddtemp]: growright, absolute, gauge, integer, nopercent, nobanner MaxBytes[hddtemp]: 500 AbsMax[hddtemp]: 500 Title[hddtemp]: HDD temperature PageTop[hddtemp]:

HDD temperature

YLegend[hddtemp]: Celsius ShortLegend[hddtemp]: C #Target[calls]: `/etc/mrtg/check_openser` #Options[calls]: growright, absolute, gauge, integer, nopercent, nobanner #MaxBytes[calls]: 100 #AbsMax[calls]: 10000 #Title[calls]: OpenSER current calls #PageTop[calls]:

Current calls

#YLegend[calls]: Call count #ShortLegend[calls]: #