Pre-requisite: MRTG Version 2.16.2, ActivePerl 5.8.8, Window XP Machine with IIS Installed and information of the switch/router
Steps for configuring the MRTG:
1. Download the MRTG from here
2. Download the ActivePerl 5.8.8 from here
3. Install the ActivePerl into the computer
4. Unzip the MRTG files into C:\ (For example: C:\MRTG)
5. Please make sure that the Perl Binary directory is listed in the system path:
C:\Perl\bin;%SystemRoot%\system32;%SystemRoot%;...
6. Go to Run --> Cmd into the Dos Prompt
7. CD\ to the C:\
8. Cd MRTG
9. Cd Bin
10. Command: perl cfgmaker [snmp string]@[ip address of the device] --gloabl "WorkDir: c:\Inetpub\wwwroot\mrtg" --output [filename].cfg
11. To generate the index file: perl indexmaker [filename].cfg > c:\Inetpub\wwwroot\mrtg\index.html
12. Run the mrtg by type in: perl mrtg [filename].cfg
13. You can using the schedule task to run it by every 5 minutes
14. You need to create a batch file like below:
cd\mrtg\bin
perl mrtg [filename].cfg
15. == FINISH ==
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.