1. prerequisite
iis
snmp
activeperl 5.8.9
instsrv.exe srvany.exe
2. software
mrtg 2.17.2
3.install process
config iis and snmp agent
install activeperl just click next to completed
generate mrtg snmp agent config file for web page:
>perl cfgmaker --global "WorkDir: c:\Inetpub\wwwroot\mrtg --global "RunASDaemon: yes" --output mrtg.cfg
generate web page for client monitor:
>perl mrtg mrtg.cfg
generate default web page:
> perl indexmaker mrtg.cfg > index.html
register MRTG to services
edit mrtg.reg
===========
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MRTG\Parameters]
"Application"="c:\\perl\\bin\\wperl.exe"
"AppParameters"="c:\\mrtg\\bin\\mrtg --logging=eventlog c:\\mrtg\\bin\\mrtg.cfg"
"AppDirectory"="c:\\mrtg\\bin\\"
===========
install MRTG to services
instsrv MRTG c:\mrtg\bin\srvany.exe
阅读(693) | 评论(0) | 转发(0) |