We help IT Professionals succeed at work.
Get Started

MRTG Configuration

AXISHK
AXISHK asked
on
428 Views
Last Modified: 2015-07-02
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
Comment
Watch Question
Cloud Architect
Commented:
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE