Hi,

 

I ran mib2c  on the nsDemodEventsTable (see below) and I got the
following structure

 

struct nsDemodEventsTable_entry {

    /*

     * Index values 

     */

    long            nsDemodEventsUtcSeconds;

 

    /*

     * Column values 

     */

    long            nsDemodEventsUtcSeconds;

                        nsDemodEventsSeverity;

    char            nsDemodEventsSource[NNN];

    size_t          nsDemodEventsSource_len;

    char            nsDemodEventsEvent[NNN];

    size_t          nsDemodEventsEvent_len;

    char            nsDemodEventsDescription[NNN];

    size_t          nsDemodEventsDescription_len;

 

    int             valid;

};

 

1.       Why is there two instances of nsDemodEventsUtcSeconds (one
under index values and one under column values)

2.       Why doesn't nsDemodEventsSeverity have a type?

3.       Why do all strings have NNN as length and not the maximum
length given in the MIB

 

 

 

nsDemodEventsTable OBJECT-TYPE

                SYNTAX SEQUENCE OF DemodEventsEntry

                MAX-ACCESS not-accessible

                STATUS current

                DESCRIPTION

                                "List of Events occured"

                ::= { nsDemodEvents 1 } 

 

nsDemodEventsEntry OBJECT-TYPE

    SYNTAX      DemodEventsEntry

    MAX-ACCESS  not-accessible

    STATUS      current

    DESCRIPTION "Conceptual row in table for each event."

    INDEX   { nsDemodEventsUtcSeconds }

    ::= { nsDemodEventsTable 1 }

 

DemodEventsEntry ::=

                SEQUENCE {

                                nsDemodEventsUtcSeconds
Integer32,

                                nsDemodEventsSeverity
ItuPerceivedSeverity,

                                nsDemodEventsSource
DisplayString,

                                nsDemodEventsEvent
DisplayString,

                                nsDemodEventsDescription
DisplayString

                } 

    

nsDemodEventsUtcSeconds  OBJECT-TYPE

        SYNTAX  Integer32

        MAX-ACCESS  read-only

        STATUS  current

        DESCRIPTION

                "Seconds passed from EPOCH"

        ::= { nsDemodEventsEntry  1 }        

 

nsDemodEventsSeverity  OBJECT-TYPE

        SYNTAX  ItuPerceivedSeverity

        MAX-ACCESS  read-only

        STATUS  current

        DESCRIPTION

                "Severity of event"

        ::= { nsDemodEventsEntry  2 }        

 

nsDemodEventsSource  OBJECT-TYPE

        SYNTAX  DisplayString (SIZE(0..255))

        MAX-ACCESS  read-only

        STATUS  current

        DESCRIPTION

                "Severity of event"

        ::= { nsDemodEventsEntry  3 }        

 

nsDemodEventsEvent  OBJECT-TYPE

        SYNTAX  DisplayString (SIZE(0..255))

        MAX-ACCESS  read-only

        STATUS  current

        DESCRIPTION

                "Severity of event"

        ::= { nsDemodEventsEntry  4 }        

 

nsDemodEventsDescription  OBJECT-TYPE

        SYNTAX  DisplayString (SIZE(0..255))

        MAX-ACCESS  read-only

        STATUS  current

        DESCRIPTION

                "Severity of event"

        ::= { nsDemodEventsEntry  5 }        

 

 

 

Thank you,

Naama Bar-Menachem & Samuel Monderer

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to