MRTG Configuration

While studying the lbelow link for MRTG configuration, I have some questions :
http://www.cyberciti.biz/nixcraft/linux/docs/uniqlinuxfeatures/mrtg/mrtg_config_step_5.php

#1 cfgmaker --global 'WorkDir: /var/www/html/mymrtg' --output /etc/mrtg/mymrtg.cfg public@localhost (Create MRTG Configuration)
Q1 : cfgmaker will generate the mymrtg.cfg under server localhost:/etc/mrtg, correct ?

#2 indexmaker --output=/var/www/html/mymrtg/index.html /etc/mrtg/mymrtg.cfg (Create a default index page for MRTG Configuration)
Q2 : Indexmaker will create index.html using the configuration /etc/mrtg/mymrtg.cfg, correct ?

#3  cp -av /var/www/html/mrtg/*.png   /var/www/html/mymrtg/ (copy tingy png file to mrtg path)
    Does it mean some information created in #2 is missing in the index.html ?

# */5 * * * * /usr/bin/mrtg /etc/mrtg/mymrtg.cfg --logging /var/log/mrtg.log  (Create crontab for mrtg graph / images get generated every 5 min.)
   Schedule to generate the mymrtg.cfg configuration. To my understanding, mymrtg.cfg is only the configuration without any data in it. Where does those living data stay such that #2 Indexmaker can generate the index.html ? Do I misunderstanding anything ? Tks
AXISHKAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zephyr ICTCloud ArchitectCommented:
Q1 : cfgmaker will generate the mymrtg.cfg under server localhost:/etc/mrtg, correct ?
Yes
Q2 : Indexmaker will create index.html using the configuration /etc/mrtg/mymrtg.cfg, correct ?
Yes
Does it mean some information created in #2 is missing in the index.html ?
No, it just copies over some image files to make the report pretty.
To my understanding, mymrtg.cfg is only the configuration without any data in it. Where does those living data stay such that #2 Indexmaker can generate the index.html ? Do I misunderstanding anything ? Tks
The mrtg process will use the mymrtg.cfg file to query your router and create the index file with this new information.
AXISHKAuthor Commented:
"No, it just copies over some image files to make the report pretty." For these image files ,does it generate when indexmaker.



 "The mrtg process will use the mymrtg.cfg file to query your router and create the index file with this new information."

#1 MRTG will generate the index.html file directly. No immediate data will be generated, correct ?
#2, MRTG can generate the index.html. Why do we need indexmaker to generate the index.html ?

Tks
Zephyr ICTCloud ArchitectCommented:
#1 No, the indexmaker will make the index, mrtg will deliver the data to the indexmaker (so to speak)
#2 See #1 indexmaker makes the index.
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

AXISHKAuthor Commented:
So, indexmaker will create a index.html - a template with corresponding mrtg data that I want to display. And MRTG will use the template - index.html and generate another file, say index-Incoming.html, correct ?

Tks again.
Zephyr ICTCloud ArchitectCommented:
The way I understand it is that the index file is being updated every 5 minutes through crontab with new information. So the index is being recreated so to speak...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AXISHKAuthor Commented:
Tks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.