Chinaunix首页 | 论坛 | 博客
  • 博客访问: 570170
  • 博文数量: 201
  • 博客积分: 7734
  • 博客等级: 少将
  • 技术积分: 1994
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-09 19:18
文章分类

全部博文(201)

文章存档

2011年(28)

2010年(173)

分类: WINDOWS

2011-02-14 15:49:08

 
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
阅读(700) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~