[cricket-users] Annoying single-inst limitation?

From: Michael S. Fischer (michael@auctionwatch.com)
Date: Fri Jan 07 2000 - 18:35:42 PST


Is there any simple (!) way to eliminate the single-inst limitation when
mapping interfaces to OIDs?

For example, I really want to be able to view the charts of more than one
interface's inOctets and outOctets values in the views for a particular
host.

I tried to do something like:

Target --default--
[snip]
        blue-interface = eth0
        green-interface = eth1
        red-interface = eth2
        ifIndexBlue = map(blue-interface)
        ifIndexGreen = map(green-interface)
        ifIndexRed = map(red-interface)

map blue-interface
        base-oid = ifDescr
        match = %blue-interface%

map green-interface
        base-oid = ifDescr
        match = %green-interface%

map red-interface
        base-oid = ifDescr
        match = %red-interface%

[snip]

datasource ifInOctetsGreen ds-source =
snmp://%snmp%/ifInOctets.%ifIndexGreen%
datasource ifOutOctetsGreen ds-source =
snmp://%snmp%/ifOutOctets.%ifIndexGreen%
datasource ifInOctetsBlue ds-source =
snmp://%snmp%/ifInOctets.%ifIndexBlue%
datasource ifOutOctetsBlue ds-source =
snmp://%snmp%/ifOutOctets.%ifIndexBlue%
datasource ifInOctetsRed ds-source =
snmp://%snmp%/ifInOctets.%ifIndexRed%
datasource ifOutOctetsRed ds-source =
snmp://%snmp%/ifOutOctets.%ifIndexRed%

This failed miserably. Help!

--
Michael S. Fischer  <michael@auctionwatch.com>              
Sr. Engineer, AuctionWatch.com                               
Phone: +1 650 808 5842             FAX:   +1 650 875 0915
require Std::Disclaimer;
"From the bricks of shame is built the hope"--Alan Wilder

--------------------------- 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:09 PST