Hi All,

I'm trying to design a MIB that contains two tables as follows:

1. A table that contains rows describing all supported alarms for any piece of 
hardware in the system.

hwAlarmDescTable
|-- hwAlarmDescEntry (indexed by hwStatusIndex)
    |-- hwAlarmDescIndex (Integer32)
    |-- hwAlarmDescPrivileged (TruthValue)
    |-- ...other objects

2. A table that lists all supported alarms for each piece of hardware, and 
their current states. Note that there is not a 1-1 mapping between the two 
tables as some alarms are not supported on some pieces of hardware.

hwAlarmStatusTable
|-- hwAlarmStatusEntry (indexed by entPhysicalIndex, hwAlarmDescIndex, 
hwAlarmDescPrivileged)
    |-- hwAlarmStatusTriggered (Integer32)
    |-- ...other objects

The indexes of the second table identify the piece of hardware (entity index), 
the alarm type (hwAlarmDescIndex) and whether the alarm is privileged 
information (hwAlarmDescPrivileged). The idea behind the hwAlarmDescPrivileged 
object is to allow the administrator to use a viewMask with a VACM view in 
order to allow the privileged alarms to be hidden from certain users.

Is it valid to define a table that is indexed by an external table's object 
that is not itself an index (hwAlarmDescPrivileged)?

Any advice greatly appreciated.

Regards,
Harvey Shepherd
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to