mrtg.cfg里添加 RunAsDaemon:yes Interval:5 language:chinaese perl cfgmaker --no-down --show-op-down --global "WorkDir: d:\www" public@10.90.90.1 --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 jiahuaidc@10.90.90.1 jiahuaidc@10.90.90.2 public@10.90.90.6 public@10.90.90.4 public@10.90.90.7 public@10.90.90.10 public@10.90.90.12 public@10.90.90.5 --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