1OPENBMC-NOTIFICATION-MIB DEFINITIONS ::= BEGIN
2
3IMPORTS
4    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,
5    Integer32, Unsigned32, Counter64, enterprises
6        FROM SNMPv2-SMI
7    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
8        FROM SNMPv2-CONF
9;
10
11obmcPhosphor MODULE-IDENTITY
12    LAST-UPDATED    "201807130000Z"
13    ORGANIZATION    "openbmc"
14    CONTACT-INFO
15        "Primary Contact: SNMP support team
16         email:  openbmc@lists.ozlabs.org"
17    DESCRIPTION
18        "This MIB module defines the notification object and the notification
19         could be of different types."
20    REVISION        "201807130000Z"
21    DESCRIPTION
22        "First draft"
23    ::= { openbmc 1 }
24
25openbmc OBJECT IDENTIFIER ::= { enterprises 49871 }
26
27obmcSystem          OBJECT IDENTIFIER ::= { obmcPhosphor 0 }
28
29obmcNotifications      OBJECT IDENTIFIER ::= { obmcSystem 0 }
30obmcNotifyObjects      OBJECT IDENTIFIER ::= { obmcSystem 1 }
31obmcNotifyConformance  OBJECT IDENTIFIER ::= { obmcSystem 2 }
32
33--
34--
35-- Conformance information
36--
37--
38obmcNotifyCompliances  OBJECT IDENTIFIER ::= { obmcNotifyConformance 1 }
39obmcNotifyGroups       OBJECT IDENTIFIER ::= { obmcNotifyConformance 2 }
40
41--
42
43obmcErrorID OBJECT-TYPE
44    SYNTAX      Unsigned32
45    MAX-ACCESS  read-only
46    STATUS      current
47    DESCRIPTION
48        "Error log identifier"
49    ::= { obmcNotifyObjects  1 }
50
51obmcErrorTimestamp OBJECT-TYPE
52    SYNTAX      Counter64
53    MAX-ACCESS  read-only
54    STATUS      current
55    DESCRIPTION
56        "Error log timestamp"
57    ::= { obmcNotifyObjects  2 }
58
59obmcErrorSeverity OBJECT-TYPE
60    SYNTAX      Integer32
61    MAX-ACCESS  read-only
62    STATUS      current
63    DESCRIPTION
64        "Error log severity"
65    ::= { obmcNotifyObjects  3 }
66
67obmcErrorMessage OBJECT-TYPE
68    SYNTAX      OCTET STRING
69    MAX-ACCESS  read-only
70    STATUS      current
71    DESCRIPTION
72        "Error log Message"
73    ::= { obmcNotifyObjects  4 }
74
75--
76
77obmcErrorNotification NOTIFICATION-TYPE
78    OBJECTS     { obmcErrorID,
79                  obmcErrorTimestamp,
80                  obmcErrorSeverity,
81                  obmcErrorMessage }
82    STATUS      current
83    DESCRIPTION
84        "Notification about openbmc error."
85    ::= { obmcNotifications 1 }
86
87--
88
89obmcNotifyCompliance MODULE-COMPLIANCE
90    STATUS      current
91    DESCRIPTION
92        "The compliance statement for error"
93    MODULE      -- this module
94    MANDATORY-GROUPS { obmcNotifyGroup,
95                       obmcNotifyErrorDataGroup }
96    ::= { obmcNotifyCompliances 1 }
97
98obmcNotifyGroup NOTIFICATION-GROUP
99    NOTIFICATIONS   { obmcErrorNotification }
100    STATUS      current
101    DESCRIPTION
102        "A collection of notifications"
103    ::= { obmcNotifyGroups 1 }
104
105obmcNotifyErrorDataGroup OBJECT-GROUP
106    OBJECTS     { obmcErrorID,
107                  obmcErrorTimestamp,
108                  obmcErrorSeverity,
109                  obmcErrorMessage }
110    STATUS      current
111    DESCRIPTION
112        "A collection of objects providing information
113        about error log."
114    ::= { obmcNotifyGroups 2 }
115END
116