日期:2014-05-17  浏览次数:20807 次

求助windows下snmp.conf配置文件的写法?
在windows下安装snmp然后用whats up 来监控cpu使用率和网卡流量和内存使用率!在线等!谢谢!

------解决方案--------------------
# Created by 
# ./cfgmaker public@localhost


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg
WorkDir: /home/mrtg/host

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
Options[_]: growright, nobanner, nolegend 


#---------------------------
Target[nwif0]: 1:XXXX@HOST:::1
MaxBytes[nwif0]: 100000000
Options[nwif0]: growright, bits
Title[nwif0]: Internet Interface Traffic
Pagetop[nwif0]: <H2>Internet Interface Traffic: eth0</H2>

#---------------------------

Target[cpuload]: .1.3.6.1.2.1.25.3.3.1.2.1&.1.3.6.1.2.1.25.3.3.1.2.1:XXXX@HOST
MaxBytes[cpuload]: 500
Title[cpuload]: cpu Load
PageTop[cpuload]: <H2>CPU load</H2>
ShortLegend[cpuload]: %
YLegend[cpuload]: CPU Utilization
Legend1[cpuload]: CPU Utilization in % (Load)
LegendI[cpuload]: &nbsp;
LegendO[cpuload]: 
Options[cpuload]: gauge, growright, nopercent
Colours[cpuload]: TEAL#D08000,TEAL#D08000,TEAL#D08000,TEAL#D08000

#Target[cpuload]: .1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.1.48&.1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.1.48:bsit@1
92.168.1.75
#MaxBytes[cpuload]: 100000000
##Title[cpuload]: cpu Load
#PageTop[cpuload]: <H2>CPU load</H2>
#ShortLegend[cpuload]: %
#YLegend[cpuload]: CPU Utilization
#Legend1[cpuload]: CPU Utilization in % (Load)
#LegendI[cpuload]: &nbsp;
#LegendO[cpuload]:
#Options[cpuload]: gauge, growright, nopercent
#Colours[cpuload]: TEAL#D08000,TEAL#D08000,TEAL#D08000,TEAL#D08000
#-----------------------------------

Target[AvailableMemory]: .1.3.6.1.4.1.311.1.1.3.1.1.1.30.0&.1.3.6.1.4.1.311.1.1.3.1.1.1.30.0:bsit@19
2.168.1.75 
MaxBytes[AvailableMemory]: 512
Title[AvailableMemory]: Available Memory
PageTop[AvailableMemory]: <H2>Available Memory</H2>
ShortLegend[AvailableMemory]: MB &nbsp;
YLegend[AvailableMemory]: M Bytes
Legend1[AvailableMemory]: AvailableMemory MBytes
LegendI[AvailableMemory]: AvailableMemory
LegendO[AvailableMemory]: 
Options[AvailableMemory]: growright, gauge
#---------------------------

Target[Disk-C]: .1.3.6.1.2.1.25.2.3.1.6.2&.1.3.6.1.2.1.25.2.3.1.5.2:XXXX@HOST / 256
MaxBytes[Disk-C]: 10002
Title[Disk-C]: Disk C used
PageTop[Disk-C]: <H2>Disk C used</H2>
ShortLegend[Disk-C]: MB &nbsp;
YLegend[Disk-C]: M Bytes
Legend1[Disk-C]: Used Bytes 
Legend2[Disk-C]: Total Bytes 
LegendI[Disk-C]: Used Disk Space
LegendO[Disk-C]: Total Disk Space
Options[Disk-C]: growright, gauge
#---------------------------
Target[Disk-D]: .1.3.6.1.2.1.25.2.3.1.6.3&.1.3.6.1.2.1.25.2.3.1.5.3:XXXX@HOST / 256