Jan 9, 2014 6:30 PM
How do I Model SNMP tables with multiple indices?
-
Like (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?
|
Follow Us On Twitter »
|
Latest from the Zenoss Blog » |
|
Community | Products | Services Resources | Customers Partners | About Us | |
|
|
|
Copyright © 2005-2011 Zenoss, Inc.
|
||||||
