On Mon, 2005-11-21 at 13:39 -0500, Chris Fowler wrote:
> Here is what I've got working so far:
> ---
> --- Sensor Devices
> ---
[snip]
> opsSrenaSensorIndex OBJECT-TYPE
> SYNTAX Integer32
> MAX-ACCESS read-only
MAX-ACCESS not-accessible
[snip]
> ---
> --- Channels off Sensors
> ---
> opsSrenaSensorChannelEntry OBJECT-TYPE
> SYNTAX OpsSrenaSensorChannelEntry
> MAX-ACCESS not-accessible
> STATUS current
> DESCRIPTION
> "Information about a particular sensor channel."
>
> INDEX { opsSrenaSensorChannelIndex }
INDEX { opsSrenaSensorIndex,
opsSrenaSensorChannelIndex }
> opsSrenaSensorChannelIndex OBJECT-TYPE
> SYNTAX Integer32
> MAX-ACCESS read-only
MAX-ACCESS not-accessible
> opsSrenaSensorChannelSensor OBJECT-TYPE
> DESCRIPTION
> "Index into the sensor table
> channel belongs to."
This object is not necessary - drop it.
(See the INDEX clause above).
The table for alarms would be handled similarly - indexed by a
(opsSrenaSensorIndex, opsSrenaChannelIndex, opsSrenaAlarmIndex)
triplet, with only the last being an (inaccessible) object
in the opsSrenaAlarmTable.
Dave
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders