APACHE-AMBARI-MIB.txt 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. -- Licensed to the Apache Software Foundation (ASF) under one
  2. -- or more contributor license agreements. See the NOTICE file
  3. -- distributed with this work for additional information
  4. -- regarding copyright ownership. The ASF licenses this file
  5. -- to you under the Apache License, Version 2.0 (the
  6. -- "License"); you may not use this file except in compliance
  7. -- with the License. You may obtain a copy of the License at
  8. --
  9. -- http://www.apache.org/licenses/LICENSE-2.0
  10. --
  11. -- Unless required by applicable law or agreed to in writing, software
  12. -- distributed under the License is distributed on an "AS IS" BASIS,
  13. -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. -- See the License for the specific language governing permissions and
  15. -- limitations under the License.
  16. APACHE-AMBARI-MIB DEFINITIONS ::= BEGIN
  17. IMPORTS
  18. MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32, enterprises
  19. FROM SNMPv2-SMI
  20. MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
  21. FROM SNMPv2-CONF
  22. TEXTUAL-CONVENTION
  23. FROM SNMPv2-TC
  24. ;
  25. apacheAmbari MODULE-IDENTITY
  26. LAST-UPDATED "201508310000Z"
  27. ORGANIZATION "ambari.apache.org"
  28. CONTACT-INFO
  29. "email: user@ambari.apache.org"
  30. DESCRIPTION
  31. "Apache Ambari MIB Module"
  32. -- Revisions
  33. REVISION "201508310000Z"
  34. DESCRIPTION
  35. "First Apache Ambari MIB"
  36. ::= { apache 16 }
  37. apache OBJECT IDENTIFIER ::= { enterprises 18060 }
  38. apacheAmbariTraps OBJECT IDENTIFIER ::= { apacheAmbari 0 }
  39. apacheAmbariAlerts OBJECT IDENTIFIER ::= { apacheAmbari 1 }
  40. AlertStateType ::= TEXTUAL-CONVENTION
  41. STATUS current
  42. DESCRIPTION
  43. "A string indicating the state of the Alert."
  44. SYNTAX INTEGER {
  45. ok(0),
  46. unknown(1),
  47. warning(2),
  48. critical(3)
  49. }
  50. apacheAmbariAlertTable OBJECT-TYPE
  51. SYNTAX SEQUENCE OF AlertEntry
  52. MAX-ACCESS not-accessible
  53. STATUS current
  54. DESCRIPTION
  55. "Table of Apache Ambari Alerts"
  56. ::= { apacheAmbariAlerts 1 }
  57. AlertEntry ::= SEQUENCE {
  58. alertDefinitionId Integer32,
  59. alertDefinitionName OCTET STRING,
  60. alertDefinitionHash OCTET STRING,
  61. alertName OCTET STRING,
  62. alertText OCTET STRING,
  63. alertState AlertStateType,
  64. alertHost OCTET STRING,
  65. alertService OCTET STRING,
  66. alertComponent OCTET STRING
  67. }
  68. apacheAmbariAlertEntry OBJECT-TYPE
  69. SYNTAX AlertEntry
  70. MAX-ACCESS not-accessible
  71. STATUS current
  72. DESCRIPTION
  73. "Each Alert Event"
  74. INDEX { alertDefinitionId }
  75. ::= { apacheAmbariAlertTable 1 }
  76. alertDefinitionId OBJECT-TYPE
  77. SYNTAX Integer32 (-2147483648..2147483647)
  78. MAX-ACCESS not-accessible
  79. STATUS current
  80. DESCRIPTION
  81. "ID of the Alert"
  82. ::= { apacheAmbariAlertEntry 1 }
  83. alertDefinitionName OBJECT-TYPE
  84. SYNTAX OCTET STRING
  85. MAX-ACCESS accessible-for-notify
  86. STATUS current
  87. DESCRIPTION
  88. "Alert Definition Name"
  89. ::= { apacheAmbariAlertEntry 2 }
  90. alertDefinitionHash OBJECT-TYPE
  91. SYNTAX OCTET STRING
  92. MAX-ACCESS accessible-for-notify
  93. STATUS current
  94. DESCRIPTION
  95. "Alert Definition Hash"
  96. ::= { apacheAmbariAlertEntry 3 }
  97. alertName OBJECT-TYPE
  98. SYNTAX OCTET STRING
  99. MAX-ACCESS accessible-for-notify
  100. STATUS current
  101. DESCRIPTION
  102. "Name of the Alert"
  103. ::= { apacheAmbariAlertEntry 4 }
  104. alertText OBJECT-TYPE
  105. SYNTAX OCTET STRING
  106. MAX-ACCESS accessible-for-notify
  107. STATUS current
  108. DESCRIPTION
  109. "Text output of the Alert"
  110. ::= { apacheAmbariAlertEntry 5 }
  111. alertState OBJECT-TYPE
  112. SYNTAX AlertStateType
  113. MAX-ACCESS accessible-for-notify
  114. STATUS current
  115. DESCRIPTION
  116. "Severity of the Alert"
  117. ::= { apacheAmbariAlertEntry 6 }
  118. alertHost OBJECT-TYPE
  119. SYNTAX OCTET STRING
  120. MAX-ACCESS accessible-for-notify
  121. STATUS current
  122. DESCRIPTION
  123. "Affected Host"
  124. ::= { apacheAmbariAlertEntry 7 }
  125. alertService OBJECT-TYPE
  126. SYNTAX OCTET STRING
  127. MAX-ACCESS accessible-for-notify
  128. STATUS current
  129. DESCRIPTION
  130. "Affected Service"
  131. ::= { apacheAmbariAlertEntry 8 }
  132. alertComponent OBJECT-TYPE
  133. SYNTAX OCTET STRING
  134. MAX-ACCESS accessible-for-notify
  135. STATUS current
  136. DESCRIPTION
  137. "Affected Component"
  138. ::= { apacheAmbariAlertEntry 9 }
  139. apacheAmbariAlert NOTIFICATION-TYPE
  140. OBJECTS {
  141. alertDefinitionName, alertDefinitionHash,
  142. alertName, alertText, alertState, alertHost, alertService,
  143. alertComponent
  144. }
  145. STATUS current
  146. DESCRIPTION
  147. "The SNMP trap that is generated as a result of an alert."
  148. ::= { apacheAmbariTraps 1 }
  149. apacheAmbariConformance OBJECT IDENTIFIER ::=
  150. { apacheAmbariAlerts 3 }
  151. apacheAmbariCompliances OBJECT IDENTIFIER ::=
  152. { apacheAmbariConformance 1 }
  153. apacheAmbariConformanceGroups OBJECT IDENTIFIER ::=
  154. { apacheAmbariConformance 2 }
  155. apacheAmbariMIBCompliance MODULE-COMPLIANCE
  156. STATUS current
  157. DESCRIPTION
  158. "Compliance statement for entities which implement this MIB."
  159. MODULE
  160. MANDATORY-GROUPS {
  161. apacheAmbariAlertGroup,
  162. apacheAmbariAlertObjectGroup
  163. }
  164. ::= { apacheAmbariCompliances 2 }
  165. apacheAmbariAlertGroup NOTIFICATION-GROUP
  166. NOTIFICATIONS {
  167. apacheAmbariAlert
  168. }
  169. STATUS current
  170. DESCRIPTION
  171. "Notification objects."
  172. ::= { apacheAmbariConformanceGroups 2 }
  173. apacheAmbariAlertObjectGroup OBJECT-GROUP
  174. OBJECTS {
  175. alertDefinitionName, alertDefinitionHash,
  176. alertName, alertText, alertState, alertHost, alertService,
  177. alertComponent
  178. }
  179. STATUS current
  180. DESCRIPTION
  181. "Event Objects"
  182. ::= { apacheAmbariConformanceGroups 3 }
  183. END