components/net-snmp-57/sun/sdk/demo/demo_module_6/SDK-DEMO6-MIB.txt
changeset 5867 445e2cf1c845
parent 252 ee0fb1eabcbf
equal deleted inserted replaced
5866:683c5c035a79 5867:445e2cf1c845
       
     1 --
       
     2 -- Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
       
     3 --
       
     4 -- U.S. Government Rights - Commercial software. Government users are subject to
       
     5 -- the Sun Microsystems, Inc. standard license agreement and applicable
       
     6 -- provisions of the FAR and its supplements.
       
     7 --
       
     8 --
       
     9 -- This distribution may include materials developed by third parties. Sun, Sun
       
    10 -- Microsystems, the Sun logo and Solaris are trademarks or registered
       
    11 -- trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
       
    12 --
       
    13 --
       
    14 
       
    15 ------------------------------------------------------------------------
       
    16 -- Systems Management Agent (SMA) SDK module DEMO-6 MIB
       
    17 ------------------------------------------------------------------------
       
    18 SDK-DEMO6-MIB DEFINITIONS ::= BEGIN
       
    19 
       
    20   IMPORTS
       
    21         enterprises, MODULE-IDENTITY, OBJECT-TYPE, Counter64, Integer32, Unsigned32
       
    22                 FROM SNMPv2-SMI
       
    23          OBJECT-GROUP
       
    24                 FROM SNMPv2-CONF
       
    25          DisplayString
       
    26                FROM SNMPv2-TC;
       
    27 
       
    28 sdkDemo6MIB MODULE-IDENTITY
       
    29     LAST-UPDATED "0009181435Z"
       
    30     ORGANIZATION "Sun Microsystems Inc."
       
    31     CONTACT-INFO
       
    32         " Sun Microsystems Inc
       
    33           4150 Network Circle
       
    34           Santa Clara, CA 95054
       
    35           e-mail: [email protected]"
       
    36     DESCRIPTION
       
    37 	" SMA SDK MIB DEMO-6. This MIB will be used to demonstrate the
       
    38 	  implementation of modules and various module features in SMA agent."
       
    39     ::= { demo 6 }
       
    40 
       
    41 sun          OBJECT IDENTIFIER ::= { enterprises 42 }
       
    42 products     OBJECT IDENTIFIER ::= { sun 2 }
       
    43 management   OBJECT IDENTIFIER ::= { products 2 }
       
    44 sma          OBJECT IDENTIFIER ::= { management 4 }
       
    45 demo         OBJECT IDENTIFIER ::= { sma 4 }
       
    46 
       
    47 --
       
    48 -- The "File" group contains information about some files on the system
       
    49 -- The "Multi-instance" group contains information about filesize for
       
    50 -- using SNMPv3 context strings.
       
    51 --
       
    52  
       
    53 me1MultiGroup OBJECT-GROUP
       
    54         OBJECTS { me1FileSize, me1createContext, me1removeContext }
       
    55         STATUS current
       
    56         DESCRIPTION
       
    57         "Multi-instance file related statistics."
       
    58         ::= { sdkDemo6MIB 1 }
       
    59   
       
    60 -- 
       
    61 -- Properties in the "Multi" group
       
    62 --
       
    63 
       
    64 me1FileSize OBJECT-TYPE
       
    65     SYNTAX      Integer32
       
    66     MAX-ACCESS  read-only
       
    67     STATUS      current
       
    68     DESCRIPTION
       
    69                 "Size of file in Kb."
       
    70     ::= { me1MultiGroup 1 }
       
    71     
       
    72 me1createContext OBJECT-TYPE
       
    73     SYNTAX      OCTET STRING (SIZE(0..1024))
       
    74     MAX-ACCESS  read-write
       
    75     STATUS      current
       
    76     DESCRIPTION
       
    77                 "String which when set, registers a context."
       
    78     ::= { me1MultiGroup 2 }
       
    79     
       
    80 me1removeContext OBJECT-TYPE
       
    81     SYNTAX      OCTET STRING (SIZE(0..1024))
       
    82     MAX-ACCESS  read-write
       
    83     STATUS      current
       
    84     DESCRIPTION
       
    85                 "String which when set, unregisters a context."
       
    86     ::= { me1MultiGroup 3 }
       
    87 
       
    88 END