cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
664
Views
0
Helpful
2
Replies

Help on MRTG Config

nandurisrini
Level 1
Level 1

Hi Friends,

I am Facing problem with MRTG Config. any one pl. guide me on proceeding further.. here are the steps I followed on an NT Machine.

1. Configured SNMP Public string with RO on Cisco router.

2. generated mrtg.cfg file in mrtg-2.9.29\bin dir.

3. created www\mrtg is c:\ .

4. installed perl and is working fine getting the Echo Mesg from perl.

5. added new line to script on top enabling the runasdeamon=yes

6. IIS installed on NT.

7. what is the line for Current dir: " is it inetpub\wwroot\mrtg or the one created manually in c:\www\mrtg. here i am having a doubt. should i manually create

the folders or mrtg will create them automatically. Pl let me know.

ALso what is the url i need to type to get the graph interface wise on my roter.

looking expert guidance in this regard. I have gone through MRTG docs but some points are not clear thers. I am working first time on IIS. any one pl. guide me.

Rgds

Srini

2 Replies 2

leivaae
Level 1
Level 1

Srini,

The mrtg.cfg file you just created should look similar the the following lines at the beginning of the file:

# Created by

# cfgmaker public@xxx.xxx.xxx.xxx --global 'WorkDir: c:\www\mrtg' --output mrtg.cfg

### Global Config Options

# for UNIX

# WorkDir: /home/http/mrtg

RunAsDaemon: yes

Interval: 5

# or for NT

WorkDir: c:\www\mrtg

Imagedir: c:\www\mrtg\images

That same mrtg.cfg file MUST have the following line at the end:

WorkDir: c:\www\mrtg

Hth,

Angel

mkoopsen
Level 1
Level 1

Why don't you try your question on the MRTG mailing-list.

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/forum.html

regards,

Martijn