Re: sub tables in MIB

This is a discussion on Re: sub tables in MIB within the SNMP Coders forums, part of the Networking and Network Related category; On Mon, 2005-11-21 at 13:39 -0500, Chris Fowler wrote: > Here is what I've got working ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-22-2005
Dave Shield
 
Posts: n/a
Default Re: sub tables in MIB

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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:04 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0