summaryrefslogtreecommitdiffstats
path: root/doc/PCMK-MIB.txt
blob: 0925549405e802b0252355035ef8f5f37fd8c7ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
PACEMAKER-MIB DEFINITIONS ::= BEGIN

--
-- MIB objects for the pacemaker cluster manager implementation
--

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, Integer32,
    NOTIFICATION-TYPE, enterprises          FROM SNMPv2-SMI
    SnmpAdminString                         FROM SNMP-FRAMEWORK-MIB
    netSnmp                                 FROM NET-SNMP-MIB
    RowStatus, StorageType                  FROM SNMPv2-TC
    InetAddressType, InetAddress            FROM INET-ADDRESS-MIB
;

pacemaker MODULE-IDENTITY
    LAST-UPDATED "201906010000Z"
    ORGANIZATION "www.clusterlabs.org"
    CONTACT-INFO    
        "name:  ClusterLabs Administrators
        email:  admin@clusterlabs.org"
    DESCRIPTION "MIB objects for the Pacemaker cluster manager implementation"

    REVISION    "201906010000Z"
    DESCRIPTION "Update organization contact information"

    REVISION    "201703242100Z"
    DESCRIPTION "Add pacemakerNotificationAttributeName and pacemakerNotificationAttributeValue"

    REVISION    "201601052100Z"
    DESCRIPTION "Add pacemakerTrap and pacemakerNotificationTrap"

    REVISION    "200910062115Z"
    DESCRIPTION "Corrections after feedback from beekhof"

    REVISION    "200910051115Z"
    DESCRIPTION "First draft"

    ::= { enterprises 32723 }

--
-- top level structure
--
pacemakerNotification   OBJECT IDENTIFIER ::= { pacemaker 1 }
pacemakerTrap           OBJECT IDENTIFIER ::= { pacemaker 2 }

--
--  pacemaker Notifications
--

pacemakerNotificationNode OBJECT-TYPE
    SYNTAX      OCTET STRING (SIZE(1..64))
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "The node on which the status change happened."      
::= { pacemakerNotification 1 }

pacemakerNotificationResource OBJECT-TYPE
    SYNTAX      OCTET STRING (SIZE(1..256))
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "The name of the resource that changed the status."
::= { pacemakerNotification 2 }

pacemakerNotificationOperation OBJECT-TYPE
    SYNTAX      OCTET STRING (SIZE(1..64))
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "The operation that caused the status change."
::= { pacemakerNotification 3 }

pacemakerNotificationDescription OBJECT-TYPE
    SYNTAX      OCTET STRING (SIZE(1..256))
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "The textual output relevant error code of the operation (if any) that caused the status change."
::= { pacemakerNotification 4 }

pacemakerNotificationStatus OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "The numerical representation of the status of the operation."
::= { pacemakerNotification 5 }

pacemakerNotificationReturnCode OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "The return code of the operation."
::= { pacemakerNotification 6 }

pacemakerNotificationTargetReturnCode OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "The expected return code of the operation."
::= { pacemakerNotification 7 }

pacemakerNotificationAttributeName OBJECT-TYPE
    SYNTAX      OCTET STRING (SIZE(1..256))
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "The name of the attribute."
::= { pacemakerNotification 8 }

pacemakerNotificationAttributeValue OBJECT-TYPE
    SYNTAX      OCTET STRING (SIZE(1..256))
    MAX-ACCESS  accessible-for-notify
    STATUS      current
    DESCRIPTION
        "The value of the attribute."
::= { pacemakerNotification 9 }

--
--  pacemaker Traps
--

pacemakerNotificationTrap NOTIFICATION-TYPE
    OBJECTS {
        pacemakerNotificationNode,
        pacemakerNotificationResource,
        pacemakerNotificationOperation,
        pacemakerNotificationDescription,
        pacemakerNotificationStatus,
        pacemakerNotificationReturnCode,
        pacemakerNotificationTargetReturnCode,
        pacemakerNotificationAttributeName,
        pacemakerNotificationAttributeValue
    }
    STATUS      current
    DESCRIPTION
        "Pacemaker notification trap"
::= { pacemakerTrap 1 }

END