Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

373 lines
9.8 KiB

  1. LanMgr-Alerts-II-MIB DEFINITIONS ::= BEGIN
  2. --
  3. -- Notes:
  4. --
  5. -- This MIB is documented in "LAN Manager 2.0 Management
  6. -- Information Base - Alerts, LAN Manager MIB Working Group,
  7. -- Internet Draft: LanMgr-Alerts-II" by Microsoft.
  8. --
  9. -- This MIB module description file was derived from the OS/2
  10. -- LAN Manager SNMP MIB. It has been seperated into its two
  11. -- distinct parts and some general corrections have been made.
  12. --
  13. IMPORTS
  14. enterprises, OBJECT-TYPE, Counter, Gauge
  15. FROM RFC1155-SMI
  16. lanmanager
  17. FROM LanMgr-Mib-II-MIB ;
  18. alerts-2 OBJECT IDENTIFIER ::= { lanmanager 2 }
  19. -- Alert Tree
  20. alerts OBJECT IDENTIFIER ::= { alerts-2 1 }
  21. alert-conditions OBJECT IDENTIFIER ::= { alerts-2 2 }
  22. alert-mgmt OBJECT IDENTIFIER ::= { alerts-2 3 }
  23. bytesAvailData OBJECT IDENTIFIER ::= { alert-conditions 1 }
  24. netIOErrorsData OBJECT IDENTIFIER ::= { alert-conditions 2 }
  25. serverErrorsData OBJECT IDENTIFIER ::= { alert-conditions 3 }
  26. pwViolationsData OBJECT IDENTIFIER ::= { alert-conditions 4 }
  27. accessViolatData OBJECT IDENTIFIER ::= { alert-conditions 5 }
  28. pdcFailData OBJECT IDENTIFIER ::= { alert-conditions 6 }
  29. rplFailData OBJECT IDENTIFIER ::= { alert-conditions 7 }
  30. diskData OBJECT IDENTIFIER ::= { alert-conditions 8 }
  31. auditLogData OBJECT IDENTIFIER ::= { alert-conditions 9 }
  32. powerData OBJECT IDENTIFIER ::= { alert-conditions 10 }
  33. -- Alert Data Group
  34. primaryDCName OBJECT-TYPE
  35. SYNTAX DisplayString (size (1..15))
  36. ACCESS read-only
  37. STATUS mandatory
  38. ::= { pdcFailData 1 }
  39. primaryDCFailed OBJECT-TYPE
  40. SYNTAX
  41. INTEGER {
  42. pdc-Status-OK(1),
  43. pdc-Status-Failed(2)
  44. }
  45. ACCESS read-only
  46. STATUS mandatory
  47. ::= { pdcFailData 2 }
  48. replMasterName OBJECT-TYPE
  49. SYNTAX DisplayString (size (1..15))
  50. ACCESS read-only
  51. STATUS mandatory
  52. ::= { rplFailData 1 }
  53. replMasterFailed OBJECT-TYPE
  54. SYNTAX
  55. INTEGER {
  56. rpl-Status-OK(1),
  57. rpl-Status-Failed(2),
  58. rpl-Status-Unknown(3)
  59. }
  60. ACCESS read-only
  61. STATUS mandatory
  62. ::= { rplFailData 2 }
  63. netIOAlertLevel OBJECT-TYPE
  64. SYNTAX INTEGER
  65. ACCESS read-write
  66. STATUS mandatory
  67. ::= { netIOErrorsData 1 }
  68. numNetIOErrors OBJECT-TYPE
  69. SYNTAX INTEGER
  70. ACCESS not-accessible
  71. STATUS mandatory
  72. ::= { netIOErrorsData 2 }
  73. networkId OBJECT-TYPE
  74. SYNTAX INTEGER
  75. ACCESS not-accessible
  76. STATUS mandatory
  77. ::= { netIOErrorsData 3 }
  78. netIOErrorStatus OBJECT-TYPE
  79. SYNTAX
  80. INTEGER {
  81. ioError-Status-OK(1),
  82. ioError-Status-Alert(2)
  83. }
  84. ACCESS read-only
  85. STATUS mandatory
  86. ::= { netIOErrorsData 4 }
  87. serverErrorAlertLevel OBJECT-TYPE
  88. SYNTAX INTEGER
  89. ACCESS read-write
  90. STATUS mandatory
  91. ::= { serverErrorsData 1 }
  92. numServerErrors OBJECT-TYPE
  93. SYNTAX INTEGER
  94. ACCESS not-accessible
  95. STATUS mandatory
  96. ::= { serverErrorsData 2 }
  97. serverErrorStatus OBJECT-TYPE
  98. SYNTAX
  99. INTEGER {
  100. svError-Status-OK(1),
  101. svError-Status-Alert(2)
  102. }
  103. ACCESS read-only
  104. STATUS mandatory
  105. ::= { serverErrorsData 3 }
  106. pwLogonAlertLevel OBJECT-TYPE
  107. SYNTAX INTEGER
  108. ACCESS read-write
  109. STATUS mandatory
  110. ::= { pwViolationsData 1 }
  111. numPWViolations OBJECT-TYPE
  112. SYNTAX INTEGER
  113. ACCESS not-accessible
  114. STATUS mandatory
  115. ::= { pwViolationsData 2 }
  116. passwordErrorStatus OBJECT-TYPE
  117. SYNTAX
  118. INTEGER {
  119. pwError-Status-OK(1),
  120. pwError-Status-Alert(2)
  121. }
  122. ACCESS read-only
  123. STATUS mandatory
  124. ::= { pwViolationsData 3 }
  125. accessAlertLevel OBJECT-TYPE
  126. SYNTAX INTEGER
  127. ACCESS read-write
  128. STATUS mandatory
  129. ::= { accessViolatData 1 }
  130. numAccessViolations OBJECT-TYPE
  131. SYNTAX INTEGER
  132. ACCESS not-accessible
  133. STATUS mandatory
  134. ::= { accessViolatData 2 }
  135. accessErrorStatus OBJECT-TYPE
  136. SYNTAX
  137. INTEGER {
  138. pwError-Status-OK(1),
  139. pwError-Status-Alert(2)
  140. }
  141. ACCESS read-only
  142. STATUS mandatory
  143. ::= { accessViolatData 3 }
  144. numDiskDrives OBJECT-TYPE
  145. SYNTAX INTEGER
  146. ACCESS read-only
  147. STATUS mandatory
  148. ::= { bytesAvailData 1 }
  149. bytesAvailTable OBJECT-TYPE
  150. SYNTAX SEQUENCE OF BytesAvailEntry
  151. ACCESS read-only
  152. STATUS mandatory
  153. ::= { bytesAvailData 2 }
  154. bytesAvailEntry OBJECT-TYPE
  155. SYNTAX BytesAvailEntry
  156. ACCESS read-only
  157. STATUS mandatory
  158. INDEX { diskDrive }
  159. ::= { bytesAvailTable 1 }
  160. BytesAvailEntry ::= SEQUENCE {
  161. diskDrive
  162. DisplayString,
  163. bytesAvail
  164. Gauge
  165. }
  166. diskDrive OBJECT-TYPE
  167. --ERROR SYNTAX DisplayString (size (1..20)
  168. SYNTAX DisplayString (size (1..20))
  169. ACCESS read-only
  170. STATUS mandatory
  171. ::= { bytesAvailEntry 1 }
  172. bytesAvail OBJECT-TYPE
  173. SYNTAX Gauge
  174. ACCESS read-only
  175. STATUS mandatory
  176. ::= { bytesAvailEntry 2 }
  177. diskAlertLevel OBJECT-TYPE
  178. SYNTAX INTEGER
  179. ACCESS read-write
  180. STATUS mandatory
  181. ::= { bytesAvailData 3 }
  182. diskHotFixes OBJECT-TYPE
  183. SYNTAX Counter
  184. ACCESS read-write
  185. STATUS mandatory
  186. ::= { diskData 1 }
  187. diskHardErrors OBJECT-TYPE
  188. SYNTAX Counter
  189. ACCESS read-write
  190. STATUS mandatory
  191. ::= { diskData 2 }
  192. auditLogStatus OBJECT-TYPE
  193. SYNTAX
  194. INTEGER {
  195. audit-log-OK(1),
  196. audit-log-80(2),
  197. audit-log-Full(3)
  198. }
  199. ACCESS read-write
  200. STATUS mandatory
  201. ::= { auditLogData 1 }
  202. powerStatus OBJECT-TYPE
  203. SYNTAX
  204. INTEGER {
  205. power-OK(1),
  206. power-Battery(2),
  207. power-Shutdown(3)
  208. }
  209. ACCESS read-only
  210. STATUS mandatory
  211. ::= { powerData 1 }
  212. -- The Alert Management Group
  213. alertNameNumber OBJECT-TYPE
  214. SYNTAX INTEGER
  215. ACCESS read-only
  216. STATUS mandatory
  217. ::= { alert-mgmt 1 }
  218. alertNameTable OBJECT-TYPE
  219. SYNTAX SEQUENCE OF SvAlertNameEntry
  220. ACCESS not-accessible
  221. STATUS mandatory
  222. ::= { alert-mgmt 2 }
  223. svAlertNameEntry OBJECT-TYPE
  224. SYNTAX SvAlertNameEntry
  225. ACCESS not-accessible
  226. STATUS mandatory
  227. INDEX { svAlertName }
  228. ::= { alertNameTable 1 }
  229. SvAlertNameEntry ::= SEQUENCE {
  230. svAlertName
  231. DisplayString
  232. }
  233. svAlertName OBJECT-TYPE
  234. SYNTAX DisplayString (size (1..20))
  235. ACCESS read-write
  236. STATUS mandatory
  237. ::= { svAlertNameEntry 1 }
  238. alertSchedule OBJECT-TYPE
  239. SYNTAX INTEGER
  240. ACCESS read-write
  241. STATUS mandatory
  242. ::= { alert-mgmt 3 }
  243. -- Trap Definitions
  244. bytesAvailAlert TRAP-TYPE
  245. ENTERPRISE lanmanager.Alert-2.alerts
  246. --ERROR VARIABLES { }
  247. ::= 1
  248. netIOErrorsAlert TRAP-TYPE
  249. ENTERPRISE lanmanager.Alert-2.alerts
  250. VARIABLES { alert-conditions.NetIOErrorsData.networkID,
  251. --ERROR alert-conditions.NetIOErrorsData.numNetIOErrors
  252. alert-conditions.NetIOErrorsData.numNetIOErrors }
  253. ::= 2
  254. serverErrorsAlert TRAP-TYPE
  255. ENTERPRISE lanmanager.Alert-2.alerts
  256. VARIABLES { alert-conditions.serverErrorsData }
  257. ::= 3
  258. pwViolationsAlert TRAP-TYPE
  259. ENTERPRISE lanmanager.Alert-2.alerts
  260. VARIABLES { alert-conditions.pwViolationsData.numPWViolations }
  261. ::= 4
  262. accessViolationsAlert TRAP-TYPE
  263. ENTERPRISE lanmanager.Alert-2.alerts
  264. VARIABLES {
  265. alert-conditions.accessViolationsData.numAccessViolations
  266. }
  267. ::= 5
  268. auditLogFullAlert TRAP-TYPE
  269. ENTERPRISE lanmanager.Alert-2.alerts
  270. --ERROR VARIABLES { }
  271. ::= 6
  272. auditLog80Alert TRAP-TYPE
  273. ENTERPRISE lanmanager.Alert-2.alerts
  274. --ERROR VARIABLES { }
  275. ::= 7
  276. upsPowerOutWarnAlert TRAP-TYPE
  277. ENTERPRISE lanmanager.Alert-2.alerts
  278. --ERROR VARIABLES { }
  279. ::= 8
  280. upsPowerOutShutdownAlert TRAP-TYPE
  281. ENTERPRISE lanmanager.Alert-2.alerts
  282. --ERROR VARIABLES { }
  283. ::= 9
  284. upsPowerRestoredAlert TRAP-TYPE
  285. ENTERPRISE lanmanager.Alert-2.alerts
  286. --ERROR VARIABLES { }
  287. ::= 10
  288. logonPrimaryDCFailureAlert TRAP-TYPE
  289. ENTERPRISE lanmanager.Alert-2.alerts
  290. VARIABLES { alert-conditions.pdcFailData.primaryDCName }
  291. ::= 11
  292. --ERRORreplMasterFailure alert TRAP-TYPE
  293. replMasterFailurealert TRAP-TYPE
  294. ENTERPRISE lanmanager.Alert-2.alerts
  295. VARIABLES { alert-conditions.rplFailData.replMasterName }
  296. ::= 12
  297. --ERRORdiskHotFix alert TRAP-TYPE
  298. diskHotFixAlert TRAP-TYPE
  299. ENTERPRISE lanmanager.Alert-2.alerts
  300. VARIABLES {
  301. alert-conditions.bytesAvailData.bytesAvailTable.bytesAvailEntry.diskDrive
  302. }
  303. ::= 13
  304. diskHardErrorAlert TRAP-TYPE
  305. ENTERPRISE lanmanager.Alert-2.alerts
  306. VARIABLES {
  307. alert-conditions.bytesAvailData.bytesAvailTable.bytesAvailEntry.diskDrive
  308. }
  309. ::= 14
  310. END