>> Edit article
이름
제목
패스워드
snmp를 이용한 네트웍 모니터링 툴인 mrtg를 이용하여 리눅스 서버의 리소 스를모니터링 할 수 있습니다. 다음은 제 mrtg 의 cfg 파일 입니다. 좀 더 세세한 mib 값은 http://www.mrtg.co.kr 에서 확인 해 보세요. --- cpu usage monitoring [root@baby:/home/zoo11/public_html/mrtg/resource] more cpu.cfg ############################################ # CPU load config for baby WorkDir: /home/zoo11/public_html/mrtg/resource Target [cpu]:1.3.6.1.2.1.25.3.3.1.2.1&1.3.6.1.2.1.25.3.3.1.2.1:public @210.180.242.130 Options[cpu]: growright, gauge, absolute, nopercent MaxBytes[cpu]: 100 Title[cpu]: CPU Usage from baby Ylegend[cpu]: Load Avg ShortLegend[cpu]: % Legend1[cpu]: 1 min. CPU load average Legend2[cpu]: 5 min. CPU load average LegendI[cpu]: 1min: LegendO[cpu]: 5min: PageTop[cpu]:<H1>CPU Usage for baby</H1> <TABLE> <TR><TD>System: </TD><TD>Linux with Redhat 6.2</TD></TR> <TR><TD>Variables: </TD><TD>Green:1 min av., Blue:5 min av.</TD></TR > </TABLE> #------------------------------------------------------------ ------ memory usage [root@baby:/home/zoo11/public_html/mrtg/resource] more mem.cfg ############################################ # Avaiable memory config for baby WorkDir: /home/zoo11/public_html/mrtg/resource Target [memory]:1.3.6.1.2.1.25.2.3.1.6.2&1.3.6.1.2.1.25.2.3.1.6.1:pub lic@210.180.242.130 Options[memory]: growright, gauge, absolute, nopercent MaxBytes[memory]: 2100000 Title[memory]: Memory Usage Ylegend[memory]: Avaiable memory ShortLegend[memory]: kilo[memory]: 1024 kMG[memory]: ,M,G,T,P Legend1[memory]: swap free Legend2[memory]: real free LegendI[memory]: swap LegendO[memory]: real PageTop[memory]:<H1>Avaiable memory on baby</H1> <TABLE> <TR><TD>System: </TD><TD> linux redhat 6.2</TD></TR> <TR><TD>Totals: </TD><TD>Real = 320MBytes and Swap = 1GBytes</TD></TR> <TR><TD>Variables: </TD><TD>Avaiable memory: Real and Swap</TD></TR> </TABLE> #--------------------------------------------------------------- 참조 : cpu 모니터링 (http://mrtg.ngim.co.kr/resource/cpu.html) memory 모니터링 (http://mrtg.ngim.co.kr/resource/memory.html) -- 징촤야...?
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved