Please CLICK below ADD to make prosper this BLOG

Friday, April 17, 2009

Step by Step Configuration of MRTG on Windows XP ????

• Enable SNMP
Start > Settings > Control Panel > Add or Remove Program >
Add or Remove Programs > Add/Remove Windows Component >
Management and Monitoring Tools > Simple Network Management Protocol.
• Download Perl (www.activestate.com)

1. Double click to start the installation and Next to proceed.
2. To verify the Installation:


(clear view image)

See the path listed under System Variables


(clear view image)

• Download MRTG (www.mrtg.org).
1. WinZip MRTG (preferably in same drive as of Perl)
2. Create another folder “mrtghtml” (can be any sensible name) to hold graph files.
3. Run cfgmake: Run following command on command prompt
c:\mrtg\bin> perl cfgmaker public@ --global "WorkDir: c:\mrtghtml" --output server.cfg.


4. Run Indexmaker: Run following command on command prompt
c:\mrtg\bin> perl indexmaker --output intel510t.htmintel510t.cfg"- -output

intel510t.htm" is the name of the webpage output file. Be sure and use the "htm” extension
"intel510t.cfg" is the name of the configuration file you want to use in making an index of targets

5. Running MRTG: Run following command on command prompt
perl mrtg server.cfg

6. Running MRTG as a Daemon:
Open server.cfg with notepad (C:\mrtg\bin\server.cfg) and add these lines: RunAsDaemon: Yes
Interval: 5



(clear view image)
7. Return to DOS window and run MRTG again and don’t close the window else MRTG will die!!!

No comments: