Re: private mib test

CHAHIBI Samira <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
hi,
i only copied my mib file under /usr/share/snmp/mibs
here is my mib file:

    LTD-MIB DEFINITIONS ::= BEGIN
    IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, enterprises
        FROM SNMPv2-SMI
    OBJECT-GROUP
        FROM SNMPv2-CONF;

    --1.3.6.3.4.3.31900.1
    ts MODULE-IDENTITY
        LAST-UPDATED        "200805051013Z"
        ORGANIZATION        "leadTechDesign"
        CONTACT-INFO        "Samira CHAHIBI [email protected]"
        DESCRIPTION         "LTD MIB"

        REVISION            "200805051013Z"
        DESCRIPTION         "transport stream mib initial version"
        ::= { leadTechDesign 1 }


    --1.3.6.3.4.3.31900
    leadTechDesign OBJECT IDENTIFIER ::= { enterprises 31900 }

    --1.3.6.3.4.3.31900.1.1
    tsRate OBJECT-TYPE
        SYNTAX              INTEGER (10000..50000000)
        UNITS               "bps"
        MAX-ACCESS          read-write
        STATUS              current
        DESCRIPTION         "transport stream rate"
        DEFVAL              { 20000000 }
        ::= { ts 1 }

    --1.3.6.3.4.3.31900.1.2
    service OBJECT IDENTIFIER ::= { ts 2 }

    --1.3.6.3.4.3.31900.1.2.1
    id OBJECT-TYPE
        SYNTAX              INTEGER
        MAX-ACCESS          read-write
        STATUS              current
        DESCRIPTION         "service id"
        DEFVAL              { 1 }
        ::= { service 1 }

    --1.3.6.3.4.3.31900.1.2.2
    name OBJECT-TYPE
        SYNTAX              OCTET STRING (SIZE(1..16))
        MAX-ACCESS          read-write
        STATUS              current
        DESCRIPTION         "service name"
        DEFVAL              { "LTDService" }
        ::= { service 2 }

    --1.3.6.3.4.3.31900.1.2.3
    pmt OBJECT-TYPE
        SYNTAX              INTEGER
        MAX-ACCESS          read-write
        STATUS              current
        DESCRIPTION         "service pmt"
        DEFVAL              { 250 }
        ::= { service 3 }

    --1.3.6.3.4.3.31900.1.2.4
    video OBJECT IDENTIFIER ::= { service 4 }

    --1.3.6.3.4.3.31900.1.2.4.1
    videoStatus OBJECT-TYPE
        SYNTAX              INTEGER {
                                offAir( 0 ),
                                onAir( 1 )
                            }
        MAX-ACCESS          read-write
        STATUS              current
        DESCRIPTION         "video status"
        ::= { video 1 }

    --1.3.6.3.4.3.31900.1.2.4.2
    videoPid OBJECT-TYPE
        SYNTAX              INTEGER
        MAX-ACCESS          read-write
        STATUS              current
        DESCRIPTION         "video pid"
        DEFVAL              { 270 }
        ::= { video 2 }

    --1.3.6.3.4.3.31900.1.2.4.3
    videoRate OBJECT-TYPE
        SYNTAX              INTEGER (700000..6000000)
        UNITS               "bps"
        MAX-ACCESS          read-write
        STATUS              current
        DESCRIPTION         "video rate"
        DEFVAL              { 4000000 }
        ::= { video 3 }

    --1.3.6.3.4.3.31900.1.2.5
    audio OBJECT IDENTIFIER ::= { service 5 }

    --1.3.6.3.4.3.31900.1.2.5.1
    audioStatus OBJECT-TYPE
        SYNTAX              INTEGER {
                                offAir( 0 ),
                                onAir( 1 )
                            }
        MAX-ACCESS          read-write
        STATUS              current
        DESCRIPTION         "audio status"
        ::= { audio 1 }

    --1.3.6.3.4.3.31900.1.2.5.2
    audioPid OBJECT-TYPE
        SYNTAX              INTEGER
        MAX-ACCESS          read-write
        STATUS              current
        DESCRIPTION         "audio pid"
        DEFVAL              { 300 }
        ::= { audio 2 }

    --1.3.6.3.4.3.31900.1.2.5.3
    audioRate OBJECT-TYPE
        SYNTAX              INTEGER (8000..128000)
        UNITS               "bps"
        MAX-ACCESS          read-write
        STATUS              current
        DESCRIPTION         "audio rate"
        DEFVAL              { 48000 }
        ::= { audio 3 }

    --1.3.6.3.4.3.31900.1.3
    tsConformance OBJECT IDENTIFIER ::= { ts 3 }

    --1.3.6.3.4.3.31900.1.3.1
    tsGroups OBJECT IDENTIFIER ::= { tsConformance 1 }

    ltdMibAllObjects OBJECT-GROUP
        OBJECTS {           
                        tsRate,
                        id,
                        name,
                        pmt,
                        videoStatus,
                        videoPid,
                        videoRate,
                        audioStatus,
                        audioPid,
                        audioRate
                }
        STATUS              current
        DESCRIPTION         ""
        ::= { tsGroups 1 }


END


thanks

_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.