[mrtg] Re: [rrd-users] Re: RRD file creation

Jon Jon at xanga.net
Tue Jul 27 21:30:37 MEST 2004


Your 'workdir' seems to have the wrong slash after mrtg and you forgot the
'libadd' that points to the rrdtool\perl-shared folder.  You also need the
'icondir' option

Here's what I have in my cfg file:

Workdir: D:\rrdtool-1.0.40\Database\
PathAdd: D:\rrdtool-1.0.40\bin\
LibAdd: D:\rrdtool-1.0.40\perl-shared\
Icondir: /images/ 
logformat: rrdtool

Refresh: 300
RunAsDaemon: Yes
Interval: 5

Hope that helps.


-----Original Message-----
From: rrd-users-bounce at list.ee.ethz.ch
[mailto:rrd-users-bounce at list.ee.ethz.ch] On Behalf Of Dan Didier
Sent: Tuesday, July 27, 2004 2:01 PM
To: Dan Didier; rrd-users at list.ee.ethz.ch
Subject: [rrd-users] Re: RRD file creation

I am trying to use mrtg with rrd tool.  I have created my config file,
and set the variable to tell it to use rrdtool.  When I run mrtg, I get
no file created.  I am running this on a windows 2000 server.  Here is
the contents of my config file:

# Created by
# c:/mrtg/mrtg/bin/cfgmaker --global 'Interval: 1' --global 'PathAdd:
c:\mrtg\rrdtool' --global 'LogFormat: rrdtool' --global 'WithPeak[_]:
ymw' --global 'workdir: c:\mrtg/wwwroot' --global 'Options[_]:
bits,growright' --ifref=name --ifdesc=name --descint --no-down
public at needspix


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

Interval: 1
PathAdd: c:\mrtg\rrdtool
LogFormat: rrdtool
WithPeak[_]: ymw
workdir: c:\mrtg/wwwroot
Options[_]: bits,growright

######################################################################
# System: NEEDSPIX501
# Description: Cisco PIX Firewall Version 6.3(3)
#          
# Contact: 
# Location: 
######################################################################


### Interface 1 >> Descr: 'PIX-Firewall-'outside'-interface' | Name: ''
| Ip: '207.198.41.250' | Eth: '00-0a-f4-ec-ef-c4' ###
### The following interface is commented out because:
### * --ifref=name is not unique for this interface
# 
 Target[needspix_1]: 1:public at needspix:
 SetEnv[needspix_1]: MRTG_INT_IP="207.198.41.250"
MRTG_INT_DESCR="PIX-Firewall-'outside'-interface"
 MaxBytes[needspix_1]: 1250000
 Title[needspix_1]: 1 -- NEEDSPIX501
 PageTop[needspix_1]: <H1>1 -- NEEDSPIX501</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>NEEDSPIX501 in </TD></TR>
    <TR><TD>Maintainer:</TD> <TD></TD></TR>
    <TR><TD>Description:</TD><TD>PIX-Firewall-'outside'-interface
</TD></TR>
    <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
    <TR><TD>ifName:</TD>     <TD></TD></TR>
    <TR><TD>Max Speed:</TD>  <TD>10.0 Mbits/s</TD></TR>
    <TR><TD>Ip:</TD>         <TD>207.198.41.250 ()</TD></TR>
  </TABLE>


### Interface 2 >> Descr: 'PIX-Firewall-'inside'-interface' | Name: '' |
Ip: '10.0.0.1' | Eth: '00-0a-f4-ec-ef-c5' ###
### The following interface is commented out because:
### * --ifref=name is not unique for this interface
# 
 Target[needspix_2]: 2:public at needspix:
 SetEnv[needspix_2]: MRTG_INT_IP="10.0.0.1"
MRTG_INT_DESCR="PIX-Firewall-'inside'-interface"
 MaxBytes[needspix_2]: 12500000
 Title[needspix_2]: 2 -- NEEDSPIX501
 PageTop[needspix_2]: <H1>2 -- NEEDSPIX501</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>NEEDSPIX501 in </TD></TR>
    <TR><TD>Maintainer:</TD> <TD></TD></TR>
    <TR><TD>Description:</TD><TD>PIX-Firewall-'inside'-interface
</TD></TR>
    <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
    <TR><TD>ifName:</TD>     <TD></TD></TR>
    <TR><TD>Max Speed:</TD>  <TD>100.0 Mbits/s</TD></TR>
    <TR><TD>Ip:</TD>         <TD>10.0.0.1 (needspix)</TD></TR>
  </TABLE>



I was wondering if there is anything you can see here that is wrong, or
where I can check?

Thanks,
Dan Didier

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list