Windows安装MRTG后的配置

mrtg.cfg里添加
RunAsDaemon:yes
Interval:5
language:chinaese

perl cfgmaker --no-down --show-op-down --global "WorkDir: d:\www" [email protected] --ifref=name --output mrtg.cfg

perl indexmaker mrtg.cfg --output=d:\www\index.html

perl mrtg mrtg.cfg

perl mrtg -logging=public.log public.cfg

perl cfgmaker --no-down --show-op-down --subdirs=HOSTNAME --ifref=name [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] --output mrtg.cfg --global "workdir: d:\jiankong\"



自动服务运行
instsrv MRTG "C:\mrtg\bin\srvany.exxe"
配置srvany
注册表hkey_local_machine\system\CurrentControlset\services\MRTG
添加一个parameters子健,在parameters子健中添加以下项目
Application的字串值,内容为C:\Perl\bin\perl.exe
AppDirectory的字串值,内容为c:\mrtg\bin\
AppParameters的字串值,内容为mrtg --logging=mrtg.log mrtg.cfg

你可能感兴趣的:(windows,安装,配置,mrtg)