日期:2014-05-16 浏览次数:20811 次
# Created by # ./cfgmaker --global WorkDir:/var/www/html/mrtg --global "Options[_]:growright,bits" --ifref=ip --output /etc/mrtg.cfg public@10.207.6.64 ### Global Config Options # for UNIX # WorkDir: /home/http/mrtg # or for NT # WorkDir: c:\mrtgdata ### Global Defaults # to get bits instead of bytes and graphs growing to the right # Options[_]: growright, bits EnableIPv6: no WorkDir:/var/www/html/mrtg Language: gb2312 RunAsDaemon:yes interval:5 ###################################################################### # System: MyBI.MyEnv.com # Description: Linux MyBI.MyEnv.com 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:43 EDT 2010 i686 # Contact: Root <root@localhost> (configure /etc/snmp/snmp.local.conf) # Location: Unknown (edit /etc/snmp/snmpd.conf) ###################################################################### ### Interface 2 >> Descr: 'eth0' | Name: 'eth0' | Ip: '10.207.6.64' | Eth: '00-13-72-18-10-d6' ### Target[10.207.6.64_10.207.6.64]: /10.207.6.64:public@10.207.6.64: SetEnv[10.207.6.64_10.207.6.64]: MRTG_INT_IP="10.207.6.64" MRTG_INT_DESCR="eth0" MaxBytes[10.207.6.64_10.207.6.64]: 125000000 Title[10.207.6.64_10.207.6.64]: Traffic Analysis for 10.207.6.64 -- MyBI.MyEnv.com Options[10.207.6.64_10.207.6.64]:growright,bits LoadMIBs:/usr/share/snmp/mibs/UCD-SNMP-MIB.txt,/usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt,/usr/share/snmp/mibs/TCP-MIB.txt PageTop[10.207.6.64_10.207.6.64]: <h1>流量分析-10.207.6.64</h1> <div id="sysdetails"> <table> <tr> <td>系统:</td> <td>10.207.6.64 (edit /etc/snmp/snmpd.conf)</td> </tr> <tr> <td>Maintainer:</td> <td>Root <root@localhost> (configure /etc/snmp/snmp.local.conf)</td> </tr> <tr> <td>Description:</td> <td>eth0 </td> </tr> <tr> <td>ifType:</td> <td>ethernetCsmacd (6)</td> </tr> <tr> <td>ifName:</td> <td>eth0</td> </tr> <tr> <td>Max Speed:</td> <td>1000.0 Mbits/s</td> </tr> <tr> <td>Ip:</td> <td>10.207.6.64</td> </tr> </table> </div> ################CPU###################### #EnableIPv6: no #WorkDir:/var/www/html/mrtg #Target[cpu]: '/opt/mrtg/cpu.sh' #MaxBytes[cpu]: 12500000 #Title[cpu]: CPU使用率监控 #Options[cpu]: gauge,nopercent,growright #YLegend[cpu]: CPU loading (%) #ShortLegend[cpu]:% #LegendO[cpu]: CPU Used; #LegendI[cpu]: CPU Sys; #PageTop[cpu]: <H1>CPU使用率监控</H1>; WorkDir:/var/www/html/mrtg Target[localhost_cpu]: `/opt/mrtg/cpuinfo.pl` Xsize[localhost_cpu]: 300 Ysize[localhost_cpu]: 100 Ytics[localhost_cpu]: 10 MaxBytes[localhost_cpu]: 100 Title[localhost_cpu]: CPU State PageTop[localhost_cpu]: <H1>CPU State of Server</H1> ShortLegend[localhost_cpu]: % YLegend[localhost_cpu]: CPU (%) Legend1[localhost_cpu]: Used Legend2[localhost_cpu]: Total LegendI[localhost_cpu]: CPU Used LegendO[localhost_cpu]: CPU IDEL Options[localhost_cpu]: growright,gauge,nopercent ############### MEM 2G ####