CLAB-ANI-DEV-MIB 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. CLAB-ANI-DEV-MIB DEFINITIONS ::= BEGIN
  2. IMPORTS
  3. MODULE-IDENTITY,
  4. OBJECT-TYPE,
  5. Integer32
  6. FROM SNMPv2-SMI
  7. OBJECT-GROUP,
  8. MODULE-COMPLIANCE
  9. FROM SNMPv2-CONF
  10. SnmpAdminString
  11. FROM SNMP-FRAMEWORK-MIB
  12. DateAndTime,
  13. TruthValue
  14. FROM SNMPv2-TC
  15. clabCommonMibs
  16. FROM CLAB-DEF-MIB;
  17. clabAniDevMib MODULE-IDENTITY
  18. LAST-UPDATED "201605190000Z" -- May 19, 2016
  19. ORGANIZATION "Cable Television Laboratories, Inc."
  20. CONTACT-INFO
  21. "Broadband Network Services
  22. Cable Television Laboratories, Inc.
  23. 858 Coal Creek Circle,
  24. Louisville, CO 80027, USA
  25. Phone: +1 303-661-9100
  26. Email: mibs@cablelabs.com"
  27. DESCRIPTION
  28. "This MIB module contains the management objects
  29. for sRouter devices under the CableLabs
  30. Access Network Independent (ANI) project.
  31. Copyright 1999-2016 Cable Television Laboratories, Inc.
  32. All rights reserved."
  33. REVISION "201605190000Z" -- May 19, 2016
  34. DESCRIPTION
  35. "Added System Event logging objects
  36. per sRouter-N-16.0147-2."
  37. REVISION "201603170000Z" -- March 17, 2016
  38. DESCRIPTION
  39. "Initial version, published as part of the CableLabs
  40. Standalone Router Specification, CL-SP-sRouter-I01-160317.
  41. Copyright 2016 Cable Television Laboratories, Inc.
  42. All rights reserved."
  43. ::= { clabCommonMibs 7 }
  44. -- Object Definitions
  45. clabAniDevObjects OBJECT IDENTIFIER ::= { clabAniDevMib 1 }
  46. aniDevResetNow OBJECT-TYPE
  47. SYNTAX TruthValue
  48. MAX-ACCESS read-write
  49. STATUS current
  50. DESCRIPTION
  51. "Setting this object to true(1) causes the device to reset.
  52. Reading this object always returns false(2)."
  53. ::= { clabAniDevObjects 1 }
  54. clabAniDevSysLoggingObjects OBJECT IDENTIFIER ::= { clabAniDevObjects 2 }
  55. aniDevLoggingCtrlReset OBJECT-TYPE
  56. SYNTAX INTEGER {
  57. resetLog(1),
  58. pauseLog(2),
  59. startLog(3),
  60. useDefaultReporting(4)
  61. }
  62. MAX-ACCESS read-write
  63. STATUS current
  64. DESCRIPTION
  65. "Setting this object to resetLog(1) empties the logging
  66. table. Setting this object to pauseLog(2) causes the
  67. ANI device to stop writing events to the logging table. Setting
  68. this object to startLog(3) causes the ANI device to start writing
  69. events to the logging table. Reading this object returns
  70. either pauseLog(2) or startLog(3). The default is
  71. startLog(3). Log event pausing is independent of any other
  72. log filtering mechanisms, e.g., levels. Setting it to
  73. useDefaultReporting(4) resets the log (i.e., empties) and
  74. returns all event levels to the factory-default reporting."
  75. ::= { clabAniDevSysLoggingObjects 1 }
  76. aniDevSysLoggingSize OBJECT-TYPE
  77. SYNTAX Unsigned32
  78. UNITS "bytes"
  79. MAX-ACCESS read-write
  80. STATUS current
  81. DESCRIPTION
  82. "Setting this object modifies the size of the system
  83. logging table. When set to zero, all entries are removed
  84. and new entries are not allowed to be added. When set
  85. less than the current size, the oldest entries are removed
  86. until the new size is reached."
  87. ::= { clabAniDevSysLoggingObjects 2 }
  88. --
  89. -- The following Object controls the reporting of the various classes
  90. -- of system log messages.
  91. --
  92. aniDevSysLoggingLevelCtrl OBJECT-TYPE
  93. SYNTAX INTEGER {
  94. all(1),
  95. trace(2),
  96. debug(3),
  97. info(4),
  98. warn(5),
  99. error(6),
  100. fatal(7),
  101. off(8)
  102. }
  103. MAX-ACCESS read-write
  104. STATUS current
  105. DESCRIPTION
  106. "The current logging priority level for system messages.
  107. Setting a level sets all levels from the level specified
  108. to the highest severity level except for “off”. The level
  109. “all” indicates all levels. The log levels are derived from
  110. the log4j class.
  111. all(1) The all level has the lowest possible rank and is intended
  112. to turn on all logging.
  113. trace(2) The trace level designates finer-grained informational
  114. events than the DEBUG (see log4j class for further definition).
  115. debug(3) The debug level designates fine-grained informational
  116. events that are most useful to debug an application.
  117. info(4) The info level designates informational messages that
  118. highlight the progress of the application at coarse-grained level.
  119. warn(5) The warn level designates potentially harmful situations.
  120. error(6) The error level designates error events that might still
  121. allow the application to continue running.
  122. fatal(7) The fatal level designates very severe error events
  123. that will presumably lead the application to abort.
  124. off(8) The off has the highest possible rank and is intended to
  125. turn off logging."
  126. ::= { clabAniDevSysLoggingObjects 3 }
  127. aniDevSysLoggingGroupCtrl OBJECT-TYPE
  128. SYNTAX BITS {
  129. none(0),
  130. all(1),
  131. Group1(2),
  132. Group2(3),
  133. Group3(4),
  134. Group4(5),
  135. Group5(6)
  136. }
  137. MAX-ACCESS read-write
  138. STATUS current
  139. DESCRIPTION
  140. "The system 'group' or 'groups' to be logged.
  141. If all(1) is set, then other bits are
  142. ignored. If set to 'none(0)', messages that do not include
  143. a 'group' are candidates to be logged. Logging Groups for
  144. Event Logs are defined in the controlling Access Network
  145. Independent device specification for equipment implementing
  146. this MIB. Returns WrongValue error if an attempt is made
  147. to set the bit for a Logging Group not supported by the device."
  148. DEFVAL {{ none }}
  149. ::= { clabAniDevSysLoggingObjects 4 }
  150. -- The ANI Device System Logging table.
  151. --
  152. -- This table is used as an event logging table shared by the system
  153. -- and applications. Note that network-related events are still
  154. -- recorded in the aniDevSysLoggingEventTable. The ANI device adds an
  155. -- event by adding a conceptual row to the end of the table.
  156. -- Once the table 'fills' by reaching aniDevSysLoggingSize, adding a
  157. -- new event causes the oldest conceptual row to be removed.
  158. --
  159. aniDevSysLoggingEventTable OBJECT-TYPE
  160. SYNTAX SEQUENCE OF AniDevSysLoggingEventEntry
  161. MAX-ACCESS not-accessible
  162. STATUS current
  163. DESCRIPTION
  164. "This table is a cyclic table of events."
  165. ::= { clabAniDevSysLoggingObjects 5 }
  166. aniDevSysLoggingEventEntry OBJECT-TYPE
  167. SYNTAX AniDevSysLoggingEventEntry
  168. MAX-ACCESS not-accessible
  169. STATUS current
  170. DESCRIPTION
  171. "A logging event entry."
  172. INDEX { aniDevSysLoggingEventIndex }
  173. ::= { aniDevSysLoggingEventTable 1 }
  174. AniDevSysLoggingEventEntry::= SEQUENCE {
  175. aniDevSysLoggingEventIndex Integer32,
  176. aniDevSysLoggingEventTimeStamp DateAndTime,
  177. aniDevSysLoggingEventMessage SnmpAdminString
  178. }
  179. aniDevSysLoggingEventIndex OBJECT-TYPE
  180. SYNTAX Unsigned32
  181. MAX-ACCESS not-accessible
  182. STATUS current
  183. DESCRIPTION
  184. "Provides relative ordering of the objects in the event
  185. log. This object will always increase except when
  186. (a) the log is reset via
  187. aniDevSysLoggingEventCtrlReset or
  188. (b) the device reboots and does not implement
  189. non-volatile storage for this log.
  190. The next entry for all the above cases is 1."
  191. ::= { aniDevSysLoggingEventEntry 1 }
  192. aniDevSysLoggingEventTimeStamp OBJECT-TYPE
  193. SYNTAX DateAndTime
  194. MAX-ACCESS read-only
  195. STATUS current
  196. DESCRIPTION
  197. "The time stamp of this event logging entry. The timestamp
  198. is established when the event occurs."
  199. ::= { aniDevSysLoggingEventEntry 2 }
  200. aniDevSysLoggingEventMessage OBJECT-TYPE
  201. SYNTAX SnmpAdminString
  202. MAX-ACCESS read-only
  203. STATUS current
  204. DESCRIPTION
  205. "The event message."
  206. ::= { aniDevSysLoggingEventEntry 3 }
  207. -- Conformance Definitions
  208. clabAniDevConformance OBJECT IDENTIFIER ::= { clabAniDevMib 2 }
  209. clabAniDevCompliances OBJECT IDENTIFIER ::= { clabAniDevConformance 1 }
  210. clabAniDevGroups OBJECT IDENTIFIER ::= { clabAniDevConformance 2 }
  211. clabAniDevCompliance MODULE-COMPLIANCE
  212. STATUS current
  213. DESCRIPTION
  214. "The compliance statement for CableLabs ANI devices."
  215. MODULE --- clabAni
  216. MANDATORY-GROUPS {
  217. clabAniDevGroup
  218. }
  219. ::= { clabAniDevCompliances 1 }
  220. clabAniDevGroup OBJECT-GROUP
  221. OBJECTS {
  222. aniDevResetNow,
  223. aniDevLoggingCtrlReset,
  224. aniDevSysLoggingSize,
  225. aniDevSysLoggingLevelCtrl,
  226. aniDevSysLoggingGroupCtrl,
  227. aniDevSysLoggingEventTimeStamp,
  228. aniDevSysLoggingEventMessage
  229. }
  230. STATUS current
  231. DESCRIPTION
  232. "Object(s) implemented for the management of ANI devices."
  233. ::= { clabAniDevGroups 1 }
  234. END