InterMapper.comiMapper Community 
 
On-Demand Table Maker

This page creates an on-demand table for an InterMapper custom SNMP probe. Enter the desired fields from the device's MIB below. The page will automatically generate the table declaration, so you can simply paste it into the probe file.

  1. Enter the name of the table to display:

  2. Enter the text between the braces of the SEQUENCE { ... } below:
  3. Paste the text below into the custom probe file to create an on-demand table.
  4. To display the on-demand table, enter ${tablename:text to be seen} in the <snmp-device-display> section of the probe.
  5. For more information, see the On-Demand Tables section of the Developer Guide.

The Custom Probe's TABLE declaration

Paste the text below into the probe file.

empty

Example: Creating a Table from ifTable

The ifTable if the IF-MIB shows the interfaces on a device. To create an on-demand table, you will need to review the MIB to find the table's definition.

Find the table's name (ifTable in the excerpt below), and the names for the columns of the table (everything between the { ... } in the ifEntry below). Paste those into the fields on this page, and you'll get the definition suitable for entry into the custom SNMP probe.


...
ifTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF IfEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            "A list of interface entries.  The number of entries is
            given by the value of ifNumber."
    ::= { interfaces 2 }

ifEntry OBJECT-TYPE
    SYNTAX      IfEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
            "An entry containing management information applicable to a
            particular interface."
    INDEX   { ifIndex }
    ::= { ifTable 1 }

IfEntry ::=
    SEQUENCE {
        ifIndex                 InterfaceIndex,
        ifDescr                 DisplayString,
        ifType                  IANAifType,
        ifMtu                   Integer32,
        ifSpeed                 Gauge32,
        ifPhysAddress           PhysAddress,
        ifAdminStatus           INTEGER,
        ifOperStatus            INTEGER,
        ifLastChange            TimeTicks,
        ifInOctets              Counter32,
        ifInUcastPkts           Counter32,
        ifInNUcastPkts          Counter32,  -- deprecated
        ifInDiscards            Counter32,
        ifInErrors              Counter32,
        ifInUnknownProtos       Counter32,
        ifOutOctets             Counter32,
        ifOutUcastPkts          Counter32,
        ifOutNUcastPkts         Counter32,  -- deprecated
        ifOutDiscards           Counter32,
        ifOutErrors             Counter32,
        ifOutQLen               Gauge32,    -- deprecated
        ifSpecific              OBJECT IDENTIFIER -- deprecated
    }
...

On-demand Table Maker Version 1.0d2 — 6 February 2008