[cricket-users] Problem with grapher.cgi and fast ethernet interface

From: Bjorn Nordbo (bn@nextel.no)
Date: Fri Dec 17 1999 - 01:38:50 PST


From: Bjorn Nordbo <bn@nextel.no>

I seems to get into lots of trouble these days.. :)

My directory structure for router-interfaces:

/cricket-config/routers-interfaces/<router-name>/if[00-99]

Ie. I want to have one file for every interface collected in
one directory per router. This would suit me nice because I
might have to autogenerate some of the interface config files.

This forks fine for serial interfaces, for instance, this
interface is all joy:

target Serial10_0_0
        interface-name = Serial10/0/0
        short-desc = "128kB/s to somewhere"

However, I cannot get any fast ethernet interfaces working:

target FastEthernet8_0_0
        interface-name = FastEthernet8/0/0
        short-desc = "Fast ethernet to Okern"

It is in the same directory as the above seial interface, and
the interface-name is present on the router:

interfaces.ifTable.ifEntry.ifDescr.6 = "FastEthernet8/0/0"

When I try to view statistics for it with grapher.cgi, I get
the following error in error_log:

Can't call method "configHash" on an undefined value at \
 /local/cricket/./lib/Common/Map.pm line 125.

(long lines split)

Now, what REALLY bugs me, is that when I change the config
file interface-name to, say, FastEthernet3/0/0, but leaves
the target name to FastEthernet8_0_0, it works! If I change
the target name too, it fails again.

Any help would be greately appreciated!

BTW, grapher.cgi seems to run rrdtool print with "%f" in
the format string. Shouldn't this be "%lf" or "%le"?

Bjørn

--------------------------- ONElist Sponsor ----------------------------

Independent contractors: Find your next project gig through JobSwarm!
        You can even make $$$ by referring friends.
<a href=" http://clickme.onelist.com/ad/jobswarm2 ">Click Here</a>

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:07 PST