[rrd-users] Re: RRD file creation

Dan Didier dan at mapolce.com
Tue Jul 27 20:00:41 MEST 2004


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



More information about the rrd-users mailing list