[mrtg] MRTG + RRdtool help

Jon Heugh jon at heugh.com
Mon Oct 29 03:07:28 MET 2001


Hello;
    I just installed Mrtg, I have it running and gatering data put the rrd log shows only zeros. The rrdtool::info shows nothing in the rrd log file either.  The cfgmaker gathers the right info so I know snmp community and Ip address of the router is ok.  The timestamp on the rrd log file changes ever 5 min so I know it is running.  Mrtg does not display any errors either.  The rrdtool::error also is blank (no errors).  I have included my cfgmaker command line and my mrtg config file.  Does anyone know why the data is not being populated ?   Any help will be great. 

Version Info:
==================
    Linux Redhat     7.1
    mrtg                 2.9.17
    rrdtool               1.0.33
    libpng                1.2.0
    gd                     1.8.4
    GD                    1.3.1
    
RRDTOOL::Info  only shows:
=====================
Data: ()....(rra[0].cdp_prep[1].unknown_datapoints)
Data: ()....(rra[1].cdp_prep[0].value)
Data: ()....(rra[7].cdp_prep[1].value)
Data: ()....(last_update)
Data: ()....(rra[4].cdp_prep[1].unknown_datapoints)
Data: ()....(rra[7].rows)
Data: ()....(rra[5].cf)
Data: ()....(rra[4].cdp_prep[1].value)
Data: ()....(ds[ds0].last_ds)
Data: ()....(rra[1].cdp_prep[1].value)
Data: ()....(rra[3].pdp_per_row)
Data: ()....(ds[ds0].max)
Data: ()....(rra[3].cdp_prep[0].unknown_datapoints)
Data: ()....(rra[7].cf)
Data: ()....(rra[4].rows)
Data: ()....(ds[ds0].min)
Data: ()....(rra[4].xff)
Data: ()....(ds[ds0].type)
Data: ()....(rra[7].cdp_prep[0].unknown_datapoints)
Data: ()....(rra[1].rows)
Data: ()....(rra[2].pdp_per_row)
Data: ()....(ds[ds0].value)
Data: ()....(rra[1].cdp_prep[1].unknown_datapoints)
Data: ()....(filename)
Data: ()....(ds[ds1].minimal_heartbeat)
Data: ()....(rra[5].cdp_prep[1].unknown_datapoints)
Data: ()....(ds[ds1].value)
Data: ()....(rra[6].cdp_prep[0].value)
Data: ()....(rra[3].cdp_prep[0].value)
Data: ()....(rra[3].xff)
Data: ()....(rra[0].cdp_prep[0].unknown_datapoints)
Data: ()....(rra[0].cf)
Data: ()....(rra[0].cdp_prep[0].value)
Data: ()....(rra[6].cdp_prep[1].value)
Data: ()....(rra[1].pdp_per_row)
Data: ()....(rra[4].cdp_prep[0].unknown_datapoints)
Data: ()....(rra[3].cdp_prep[1].value)
Data: ()....(ds[ds1].last_ds)
Data: ()....(rra[0].cdp_prep[1].value)
Data: ()....(rra[2].cf)
Data: ()....(rra[5].rows)
Data: ()....(ds[ds1].type)
Data: ()....(rrd_version)
Data: ()....(rra[0].pdp_per_row)
Data: ()....(rra[4].cf)
Data: ()....(rra[2].rows)
Data: ()....(rra[2].cdp_prep[1].unknown_datapoints)
Data: ()....(rra[7].xff)
Data: ()....(rra[7].pdp_per_row)
Data: ()....(rra[2].xff)
Data: ()....(rra[6].cdp_prep[1].unknown_datapoints)
Data: ()....(rra[6].cf)
Data: ()....(rra[1].cdp_prep[0].unknown_datapoints)
Data: ()....(step)
Data: ()....(ds[ds0].minimal_heartbeat)
Data: ()....(rra[5].cdp_prep[0].unknown_datapoints)
Data: ()....(rra[5].cdp_prep[0].value)
Data: ()....(ds[ds1].unknown_sec)
Data: ()....(rra[6].pdp_per_row)
Data: ()....(rra[2].cdp_prep[0].value)
Data: ()....(rra[5].cdp_prep[1].value)
Data: ()....(rra[6].xff)
Data: ()....(rra[2].cdp_prep[1].value)
Data: ()....(rra[6].rows)
Data: ()....(rra[1].xff)
Data: ()....(rra[3].cdp_prep[1].unknown_datapoints)
Data: ()....(ds[ds0].unknown_sec)
Data: ()....(rra[7].cdp_prep[1].unknown_datapoints)
Data: ()....(rra[5].pdp_per_row)
Data: ()....(rra[3].rows)
Data: ()....(rra[2].cdp_prep[0].unknown_datapoints)
Data: ()....(ds[ds1].max)
Data: ()....(rra[6].cdp_prep[0].unknown_datapoints)
Data: ()....(rra[1].cf)
Data: ()....(rra[0].rows)
Data: ()....(ds[ds1].min)
Data: ()....(rra[5].xff)
Data: ()....(rra[0].xff)
Data: ()....(rra[4].pdp_per_row)
Data: ()....(rra[7].cdp_prep[0].value)
Data: ()....(rra[3].cf)
Data: ()....(rra[4].cdp_prep[0].value)

MRTG CONFIG
==============================================
# Created by 
# /usr/local/mrtg-2/bin/cfgmaker --ifref=name --ifdesc=descr --descint --community=XYZ --dns-domain=domainxyz.com --subdirs=HOSTNAME --global 'LogFormat: rrdtool' --global 'PathAdd: /usr/local/rrdtool-1.0.33/bin' --global 'LibAdd: /usr/local/rrdtool-1.0.33/lib/perl' --global 'WorkDir: /server/programs/twmi/mrtg' --global 'IconDir: /images/' --global 'options[_]: growright' --output=/server/programs/twmi/mrtg/routerxyz.domainxyz.com/routerxyz.cfg   routerxyz


### 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

LogFormat: rrdtool
PathAdd: /usr/local/rrdtool-1.0.33/bin
LibAdd: /usr/local/rrdtool-1.0.33/lib/perl
WorkDir: /server/programs/twmi/mrtg
IconDir: /images/
options[_]: growright

### Interface 1 >> Descr: 'POS0/0/0' | Name: 'PO0/0/0' | Ip: 'ipaddressXYZ' | Eth: '' ###

Target[routerXYZ.domainXYZ.com_PO0_0_0]: #PO0/0/0:XYZ at routetXYZ:
SetEnv[routerXYZ.domainXYZ.com_PO0_0_0]: MRTG_INT_IP="ipaddressXYZ" MRTG_INT_DESCR="POS0/0/0"
Directory[routerXYZ.domainXYZ.com_PO0_0_0]: routerXYZ.domainXYZ.com
MaxBytes[routerXYZ.domainXYZ.com_PO0_0_0]: 19375000
Title[routerXYZ.domainXYZ.com_PO0_0_0]: POS0/0/0 -- routerXYZ.domainXYZ.com


--
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