[mrtg] Re: MRTG Error

Brander, Eric Eric.Brander at ACS-INC.com
Tue Jan 7 16:33:12 MET 2003


The only thing that looks kooky to me is:

Directory[c2950f]: switch. stuff

Try it without a space after the period (if indeed you want everything
placed in a sub dir of switch.stuff located under your Workdir.

May have nothing to do with it, but everything else looks ok.  /shrug

Eric Brander
ACS
Texas CHIP Account
Sr. Communications Engineer - Information Systems Department
512.336.3331
Eric.Brander at acs-inc.com


-----Original Message-----
From: Bill Parker [mailto:dogbert at netnevada.net]
Sent: Tuesday, January 07, 2003 9:28 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] MRTG Error



I get a very strange error using MRTG 2.9.18pre17 when I try to graph 
bandwidth on
a cisco 2950 switch:

[root at fileserver bin]# ./mrtg mrtg3.cfg
Use of uninitialized value in string ne at ./mrtg line 968.

Here is the file i'm trying to run:

WorkDir: /home/httpd/html/mrtg

YLegend[c2950f]: bits/sec
Directory[c2950f]: switch. stuff
WithPeak[c2950f]: ywm
MaxBytes[c2950f]: 240000000
Options[c2950f]: growright, nopercent, gauge
Title[c2950f]: switch.gvolk.com Bandwidth Usage
Target[c2950f]: 
1.3.6.1.4.1.9.9.87.1.5.1.0&1.3.6.1.4.1.9.9.87.1.5.1.0:dbsinfo at 172.21.2.249 
* 1000000
Legend1[c2950f]: Total switch traffic in bits/sec
Legend2[c2950f]: Total switch traffic in bits/sec
Legend3[c2950f]: Maximal 5 Minute Traffic
Legend4[c2950f]: Maximal 5 Minute Traffic
LegendI[c2950f]: bits/sec
LegendO[c2950f]: bits/sec
PageTop[c2950f]: <H1>Cisco 2950 Current Bandwidth Usage</H1>
   <TABLE>
     <TR><TD>System:</TD><TD>c2950 at Test</TD></TR>
     <TR><TD>Maintainer:</TD><TD>MG</TD></TR>
     <TR><TD VALIGN="top">Description:</TD><TD>Cisco Internetwork Operating 
System Software <BR>
  IOS (tm) C2900xl Software (C2900xl-C3H2S-M), Version 12.0(5)WC5, RELEASE 
SOFTWARE (fc1)<BR>
  Copyright (c) 1986-2002 by cisco Systems, Inc.<BR>
  Compiled Tue 28-May-02 11:11 by devgoyal</TD></TR>
     <TR><TD>Resource:</TD><TD>c2900BandwidthUsageCurrent 
(1.3.6.1.4.1.9.9.87.1.5.1.0) * 1000000<br></TD></TR>
   </TABLE>

I cannot find any control characters in the file, but I continue to get the 
error

-Bill

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

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