2)NIC 用配置文件自动配好的. 3)MEM 这个图最大设为2G,如果服务器有更大的内存,可以修改Maxbytes. ############### MEM 2G ################# Target[managemem]:`/opt/mrtg/mem.sh` Unscaled[managemem]: dwym MaxBytes[managemem]: 2048000 Title[managemem]:Memory ShortLegend[managemem]: & kmg[managemem]:kB,MB kilo[managemem]:1024 YLegend[managemem]: Memory Usage Legend1[managemem]: Total Memory Legend2[managemem]: Used Memory LegendI[managemem]: Total Memory LegendO[managemem]: Used Memory Options[managemem]: growright,gauge,nopercent PageTop[managemem]:
Memory -------XMNLINUXTEST2
4)Swap 也是设为2G,根据实际情况改MaxBytes. ################### Swap 2G####################### Target[swap]:`/opt/mrtg/swap.sh` Unscaled[swap]: dwym MaxBytes[swap]: 2048000 Title[swap]:Memory State of Server ShortLegend[swap]: & kmg[swap]:kB,MB kilo[swap]:1024 YLegend[swap]: Swap Usage Legend1[swap]: Total Swap Legend2[swap]: Used Swap LegendI[swap]: Total Swap LegendO[swap]: Used Swap Options[swap]: growright,gauge,nopercent PageTop[swap]:
Swap-------XMNLINUXTEST02
5)设置磁盘使用量 最大为480G,可以根据实际情况修改MaxBytes ################## Disk Space 480G ######################### Target[disk]: `/opt/mrtg/df.pl` Title[disk]: Disk Space ----XMNLINUXTEST02 Unscaled[disk]: dwym MaxBytes[disk]: 465247550 kmg[disk]: KB,MB,GB LegendI[disk]: Total Disk Space LegendO[disk]: Used Disk Space Legend1[disk]: Total Disk Space Legend2[disk]: Used Disk Space YLegend[disk]: Megabytes ShortLegend[disk]: & Options[disk]: growright,gauge,nopercent PageTop[disk]:
Disk Space --------XMNLINUXTEST02
回复于:2005-08-04 17:31:43
6)磁盘I/O的检测,如果需要的检,更多的分区,修改并复制这个部分,并修改diskperf.sh ################## Disk I/O 100K/sec /DEV/SDA ########## # If you want monitor more disk, please copy below create # now monitor job, and copy & modify the diskperf.sh to setting disk. Target[diskIO]: `/opt/mrtg/diskperf.sh` Title[diskIO]: Disk HDA I/O Utilization Report Unscaled[diskIO]: dwym MaxBytes[diskIO]: 100 PageTop[diskIO]:
Disk I/O Utilization Report
kmg[diskIO]: KB,MB,GB LegendI[diskIO]: Disk I/O KBread/sec LegendO[diskIO]: Disk I/O KBwrite/sec Legend1[diskIO]: Disk I/O KBread/sec Legend2[diskIO]: Disk I/O KBwrite/sec YLegend[diskIO]: Megabytes ShortLegend[diskIO]: & Options[diskIO]: growright,gauge,nopercent