mrtg

設定してみる。
WorkDir: /var/www/mrtg
Options[_]: growright
EnableIPv6: no

Target[localhost_2]: 2:public@localhost:

SetEnv[localhost_2]: MRTG_INT_IP="192.168.100.200" MRTG_INT_DESCR="eth0"
MaxBytes[localhost_2]: 1250000
Title[localhost_2]: Traffic Analysis for 2 -- ns
PageTop[localhost_2]:

Traffic Analysis for 2 -- ns

System: ns in Unknown (configure /etc/snmp/snmpd.local.conf)
Maintainer: Root <root@localhost> (configure /etc/snmp/snmpd.local.conf)
Description:eth0
ifType: ethernetCsmacd (6)
ifName:
Max Speed: 1250.0 kBytes/s
Ip: 192.168.100.200 ()

Options[localhost_cpu]: gauge,absolute,integer,growright,nopercent

MaxBytes[localhost_cpu]: 100
YLegend[localhost_cpu]: CPU Load Average (%)
Legend1[localhost_cpu]: 1 min CPU Load Avalage
Legend2[localhost_cpu]: 5 min CPU Load Avalage
LegendI[localhost_cpu]: 1min
LegendO[localhost_cpu]: 5min
ShortLegend[localhost_cpu]: percent (%)
Unscaled[localhost_cpu]: dwmy
Target[localhost_cpu]: .1.3.6.1.4.1.2021.10.1.5.1&.1.3.6.1.4.1.2021.10.1.5.2:public@localhost
Title[localhost_cpu]: CPU Load Average for localhost
PageTop[localhost_cpu]:

CPU Load Average for localhost

Options[localhost_mem]: gauge,absolute,growright

YLegend[localhost_mem]: Memory Free(Bytes)
ShortLegend[localhost_mem]: (Bytes)
Legend1[localhost_mem]: Real Free Memory
Legend2[localhost_mem]: Swap Free Memory
LegendI[localhost_mem]: Real
LegendO[localhost_mem]: Swap
Unscaled[localhost_mem]: dwmy
kMG[localhost_mem]: k,M,G,T,P
Target[localhost_mem]: 1.3.6.1.4.1.2021.4.6.0&1.3.6.1.4.1.2021.4.4.0:public@localhost
MaxBytes1[localhost_mem]: 1036212
MaxBytes2[localhost_mem]: 4000104
Title[localhost_mem]: Memory Free for localhost
PageTop[localhost_mem]:

Memory Free for localhost

参考: http://bitarts.jp/tech/linux/mrtg.html