[cricket-users] directory-desc, and non-usage graphs.

From: Matt Raykowski (mattr@spacestar.net)
Date: Fri Jan 14 2000 - 13:17:19 PST


From: "Matt Raykowski" <mattr@spacestar.net>

        My first, and most important problem is that grapher.cgi isn't displaying
any usage/traffic whatsoever when browsing it directly, but when I run
generate-statics, it makes graphs that show the proper amount of usage.
        The second thing is that I'm running generate-statics once every ten to
fifteen minutes to make static images to use in the "choose a target" page,
in the description field - I want to throw an IMG SRC tag in there to show
the daily usage of the interface, so at the interface listing you can get an
at-a-glance idea of the traffic on that interface. I've broken my tree down
like this:

Geometric Location
        |___router
        | |__interfaces
        | |__stats
        | |__routing
        |___router2
        ...

        My interfaces file currently looks like this:
target --default--
        router = 192.168.1.204
target Ethernet0
        interface-name = Ethernet0
        generate-static = 1
        desc = "This is where the image goes"
target Serial0
        interface-name = Serial0
        generate-static = 1
target Serial1
        interface-name = Serial1

        You get the idea. However, the admins want to get at-a-glance ideas of the
summary of data, so I was using generate-statics copies of the
ethernet0-daily-octets, etc. In theory it's a good idea, but I still don't
get anything in the "description" field of the table. I've tried using
"directory-desc," "desc," "short-desc," "long-desc," and
"targets-short-desc" in my interfaces file, and haven't had any luck. I'll
continue to tinker with it, and see if I can come up with anything, and if I
do, I'll certainly mail out to the list, but if anyone else has any ideas,
I'd appreciate it.

        Another thing a little, the reference file could be a little bit more
verbose. It gives you the name, default value, but not how the value should
be formatted, where it should be used, i.e. putting generate-static under
"target Ethernet0," but it also doesn't mention that you have to use an
equal sign and a value. I figured it out with tinkering, but thought I'd
mention my point of view on the documentation. After awhile, this isn't
such a big deal, but when you first get your hands in it, it's a little
confusing.

Matt Raykowski - Level Two Technician
Spacestar Communications, Inc.
Dial-up to DS-3 Serving - MN WI ND MI IL
Voice (612) 996-0000 / Fax (612) 996-0123
www.spacestar.net / mattr@spacestar.net

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

  Hey Freelancers: Find your next project through JobSwarm!
  You can even make money in your sleep by referring friends.
<a href=" http://clickme.onelist.com/ad/jobswarm1 ">Click Here</a>

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



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