hi
i am trying to implement an snmp extension with mib2c for a table
i am using the mib2c.mfd.conf file for this
i accept the hard-coded defaults
the problem is, that the resulting data context paNGHardwareTable_data
contains no fields
it should contain the fields device, state and info, no?
when i try to follow the ifTable example, it works
whats wrong with my table
see definition below
thanks
martin
paNGGeneralData OBJECT IDENTIFIER ::= { packetAlarmNGMIB 1 }
paNGHardwareTable OBJECT-TYPE
SYNTAX SEQUENCE OF paNGHardwareTableEntry
MAX-ACCESS read-only
STATUS current
DESCRIPTION ""
::= { paNGGeneralData 1 }
paNGHardwareTableEntry OBJECT-TYPE
SYNTAX PaNGHardwareTableEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION ""
INDEX { paNGHardwareEntryIndex }
::= { paNGHardwareTable 1 }
PaNGHardwareTableEntry ::=
SEQUENCE {
paNGHardwareEntryIndex INTEGER,
device SnmpAdminString,
state INTEGER {
New(1),
Init(2),
Ok(3),
Failed(4)
},
info SnmpAdminString
}
paNGHardwareEntryIndex OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION ""
::= { paNGHardwareTableEntry 1 }
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders