components/net-snmp-57/sun/agent/mibs/smatrap.mib
changeset 5867 445e2cf1c845
parent 252 ee0fb1eabcbf
equal deleted inserted replaced
5866:683c5c035a79 5867:445e2cf1c845
       
     1 
       
     2 --
       
     3 -- Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
       
     4 --
       
     5 -- U.S. Government Rights - Commercial software. Government users are subject
       
     6 -- to the Sun Microsystems, Inc. standard license agreement and applicable
       
     7 -- provisions of the FAR and its supplements.
       
     8 --
       
     9 --
       
    10 -- This distribution may include materials developed by third parties. Sun,
       
    11 -- Sun Microsystems, the Sun logo and Solaris are trademarks or registered
       
    12 -- trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
       
    13 --
       
    14 --
       
    15 
       
    16 SMA-NOTIFICATION-MIB DEFINITIONS ::= BEGIN
       
    17 
       
    18 IMPORTS
       
    19     MODULE-IDENTITY, OBJECT-TYPE, Counter32, Gauge32, Counter64,
       
    20     Integer32, TimeTicks, mib-2,
       
    21     NOTIFICATION-TYPE, enterprises           FROM SNMPv2-SMI
       
    22     TEXTUAL-CONVENTION, DisplayString,
       
    23     PhysAddress, TruthValue, RowStatus,
       
    24     TimeStamp, AutonomousType, TestAndIncr   FROM SNMPv2-TC
       
    25     MODULE-COMPLIANCE, OBJECT-GROUP,
       
    26     NOTIFICATION-GROUP                       FROM SNMPv2-CONF
       
    27     snmpTraps                                FROM SNMPv2-MIB
       
    28     IANAifType                               FROM IANAifType-MIB;
       
    29 
       
    30 notifications MODULE-IDENTITY
       
    31     LAST-UPDATED "9808040000Z"
       
    32     ORGANIZATION "Sun Microsystems Inc."
       
    33     CONTACT-INFO
       
    34         " Sun Microsystems Inc
       
    35 	  4150 Network Circle
       
    36           Santa Clara, CA 95054
       
    37 	  e-mail: [email protected]
       
    38 	"
       
    39 	DESCRIPTION
       
    40         "This MIB module defines notifications that are
       
    41          generated by some monitoring modules loaded on
       
    42          System Management Agent (SMA)."
       
    43     ::= { sma 3 }
       
    44 
       
    45 sun OBJECT IDENTIFIER ::= { enterprises 42 } 
       
    46 products OBJECT IDENTIFIER ::= { sun 2 }
       
    47 management OBJECT IDENTIFIER ::= { products 2 }
       
    48 sma OBJECT IDENTIFIER ::= { management 4 }
       
    49 
       
    50 traps OBJECT IDENTIFIER ::= { notifications 0 }
       
    51 trapInfo OBJECT IDENTIFIER ::= {  notifications 1 }
       
    52 
       
    53 statusChange NOTIFICATION-TYPE
       
    54 OBJECTS { hostName, moduleName, statusOID, statusOIDContext, status, description , dataValue, dataValueType } 
       
    55 STATUS current 
       
    56 DESCRIPTION "A statusChange trap signifies that the status of an object has changed." ::= { traps 1 }
       
    57 
       
    58 hostName OBJECT-TYPE 
       
    59 SYNTAX       DisplayString (SIZE (0..255))
       
    60 MAX-ACCESS accessible-for-notify 
       
    61 STATUS current 
       
    62 DESCRIPTION "The name of the host on which the event occurred." 
       
    63 ::= { trapInfo 1 }
       
    64 
       
    65 moduleName OBJECT-TYPE 
       
    66 SYNTAX       DisplayString (SIZE (0..255))
       
    67 MAX-ACCESS accessible-for-notify 
       
    68 STATUS current 
       
    69 DESCRIPTION "The name of the module on which the event has occured."
       
    70 ::= { trapInfo 2 }
       
    71 
       
    72 statusOID  OBJECT-TYPE
       
    73 SYNTAX OBJECT IDENTIFIER
       
    74 MAX-ACCESS accessible-for-notify
       
    75 STATUS current
       
    76 DESCRIPTION "The identification of the object for which the status changed."
       
    77 ::= { trapInfo 3 }
       
    78 
       
    79 statusOIDContext OBJECT-TYPE
       
    80 SYNTAX       DisplayString (SIZE (0..255))
       
    81 MAX-ACCESS accessible-for-notify
       
    82 STATUS current
       
    83 DESCRIPTION "The name of context incase the status OID is registered under a particular
       
    84              context. If there is no special context, the value for this field will be null."
       
    85 ::= { trapInfo 4 }
       
    86 
       
    87 status OBJECT-TYPE 
       
    88 SYNTAX       DisplayString (SIZE (0..255))
       
    89 MAX-ACCESS accessible-for-notify 
       
    90 STATUS current 
       
    91 DESCRIPTION "The current status of the object. One of OK, INFO, WARNING, ERROR." 
       
    92 ::= { trapInfo 5 }
       
    93 
       
    94 description OBJECT-TYPE 
       
    95 SYNTAX       DisplayString (SIZE (0..255))
       
    96 MAX-ACCESS accessible-for-notify 
       
    97 STATUS current 
       
    98 DESCRIPTION "The detailed description of the event." 
       
    99 ::= { trapInfo 6 }
       
   100 
       
   101 dataValue OBJECT-TYPE
       
   102 SYNTAX       DisplayString (SIZE (0..255))
       
   103 MAX-ACCESS accessible-for-notify
       
   104 STATUS current
       
   105 DESCRIPTION "The current value of the object, that generates the event."
       
   106 ::= { trapInfo 7 }
       
   107 
       
   108 dataValueType OBJECT-TYPE
       
   109 SYNTAX INTEGER {
       
   110         none(0),
       
   111         integer(1),
       
   112         octetString(2),
       
   113         objectIdentifier(3),
       
   114         integer32(4),
       
   115         ipAddress(5),
       
   116         counter32(6),
       
   117         gauge32(7),
       
   118         unsigned32(8),
       
   119         timeTicks(9),
       
   120         opaque(10),
       
   121         counter64(11),
       
   122         displayString(12),
       
   123         physAddress(13),
       
   124         macAddress(14),
       
   125         truthValue(15),
       
   126         testAndIncr(16),
       
   127         autonomousType(17),
       
   128         variablePointer(18),
       
   129         rowPointer(19),
       
   130         rowStatus(20),
       
   131         storageType(21),
       
   132         tDomain(22),
       
   133         tAddress(23),
       
   134         other(100)
       
   135     }
       
   136 MAX-ACCESS accessible-for-notify
       
   137 STATUS current
       
   138 DESCRIPTION "The data type of the value that is present in dataValue varbind"
       
   139 ::= { trapInfo 8 }
       
   140 
       
   141 END