Quantcast
Channel: Zenoss Community: Message List
Viewing all articles
Browse latest Browse all 1118

How do I Model SNMP tables with multiple indices?

$
0
0

I am interested in adding a modeler plugin that can cope with an SNMP table that has 2 different indices. I guess this would be considered a sub-component in the Zenoss framework which I am not sure exists.  For example, I have a MIB that contains a table of Environmental Monitoring  Devices (EMDs). They in turn can contain multiple Digital I/Os (DIO's). Here is a snippet from my MIB. 

 

ogEmdDioTable OBJECT-TYPE     SYNTAX SEQUENCE OF EmdDioEntry     MAX-ACCESS not-accessible     STATUS     current     DESCRIPTION           "Ths Digital I/O status table."     ::= { ogStatus 12 }

ogEmdDioEntry OBJECT-TYPE
     SYNTAX EmdDioEntry     MAX-ACCESS not-accessible     STATUS current     DESCRIPTION          "Digital I/O status entry"     INDEX { ogEmdIndex,           ogEmdDioIndex }     ::= { ogEmdDioTable 1 }

EmdDioEntry ::= SEQUENCE {
        ogEmdDioIndex        Integer32,        ogEmdDioEmd          OBJECT IDENTIFIER,        ogEmdDioName         DisplayString,        ogEmdDioDescription  DisplayString,         ogEmdDioType         INTEGER,        ogEmdDioDirection    INTEGER,        ogEmdDioState        INTEGER,        ogEmdDioTriggerMode  INTEGER,        ogEmdDioCounter      Counter32
}

ogEmdDioIndex OBJECT-TYPE

 

 

So the EMD table is straight forward to model however I have not been able to find an interface that can deal with the 2 indices that are used for EMD DIO entries. The snmpGetTableMaps member of SnmpPlugin only seems to handle 1 index, is there an existing plugin interface that can do this or Is a Sub-Component something I can extend zenoss to support?


Viewing all articles
Browse latest Browse all 1118

Trending Articles