home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / MSDOS / WATTCP / BEHOLDER.ZIP / BEHOLDER.MIB < prev    next >
Encoding:
Text File  |  1991-05-07  |  12.3 KB  |  680 lines

  1. -- The Beholder SNMP variables
  2. --
  3. -- The file contains the formal definitions of the variables defined by
  4. -- The Beholder network monitor.
  5. -- 
  6. -- The Beholder also implements a number of standard MIB-2 variables,
  7. -- and generates the standard MIB-2 SNMP-traps (cold-boot warm-boot).
  8. --
  9.  
  10. Beholder-MIB { iso org(3) dod(6) internet(1) private(4)
  11. enterprise(1) beholder(99) }
  12.  
  13.               
  14. DEFINITIONS ::= BEGIN
  15.  
  16. -- Beholder-MIB
  17.  
  18. IMPORTS
  19.     enterprises, OBJECT-TYPE, DisplayString, Counter, ObjectName,
  20. TimeTicks, Gauge
  21.         FROM RFC1155-SMI;
  22.  
  23. beholder        OBJECT IDENTIFIER ::= { enterprises 99 }
  24. beholderSystem    OBJECT IDENTIFIER ::= { beholder 1 }
  25. beholderMeas    OBJECT IDENTIFIER ::= { beholder 2 }
  26. beholderApplic    OBJECT IDENTIFIER ::= { beholder 3 }
  27.  
  28. --
  29. -- Most importants standard variables 
  30. --
  31.  
  32. systemDescription OBJECT-TYPE
  33.         SYNTAX DisplayString
  34.         ACCESS read-only
  35.         STATUS mandatory
  36.         ::= { beholderSystem 1 }
  37. -- 
  38. -- Description of the Beholder Station
  39. --
  40.  
  41. systemBirthDay  OBJECT-TYPE
  42.         SYNTAX DisplayString
  43.         ACCESS read-only
  44.         STATUS manatory
  45.         ::= { beholderSystem 2 }
  46. --
  47. -- Link Date of the Beholder Software
  48. --
  49.  
  50. systemUpTime    OBJECT-TYPE
  51.         SYNTAX TimeTicks
  52.         ACCESS read-only
  53.         STATUS mandatory
  54.         ::= { beholderSystem 3 }
  55. --
  56. -- Time sinds startup of Beholder software
  57. --
  58.  
  59. systemNrDevices OBJECT-TYPE
  60.         SYNTAX Counter
  61.         ACCESS read-only
  62.         STATUS mandatory
  63.         ::= { beholderSystem 4 }
  64. --
  65. -- Number of devices moinitored by the Beholder software
  66. --
  67.  
  68. systemNrApplics OBJECT-TYPE
  69.         SYNTAX Counter
  70.         ACCESS read-only
  71.         STATUS mandatory
  72.         ::= { beholderSystem 5}
  73. --
  74. -- Number of active applications in the Beholder software
  75. --
  76.  
  77. measDeviceTable    OBJECT-TYPE
  78.         SYNTAX SEQUENCE OF MeasDeviceEntry
  79.         ACCESS not-accessible
  80.         STATUS mandatory
  81.         ::= { beholderMeas 1 }
  82. --
  83. -- Table containing Device measurement information
  84. --
  85. -- retreive information from this table with:
  86. --
  87. --        measDeviceEntry.<item>.<device-index>
  88. --
  89.  
  90. measDeviceEntry    OBJECT-TYPE
  91.         SYNTAX MeasDeviceEntry
  92.         ACCESS not-accessible
  93.         STATUS mandatory
  94.         ::= { measDeviceTable 1}
  95.  
  96. MeasDeviceEntry ::= SEQUENCE 
  97. {
  98.          deviceIndex
  99.             INTEGER,
  100.         deviceTime
  101.             TimeTicks,
  102.         deviceDescription
  103.             DisplayString,
  104.         deviceClass
  105.             INTEGER,        --  see Packet driver Definition
  106.         deviceType
  107.             INTEGER,        --  idem
  108.         devicePackets
  109.             Counter,
  110.         deviceBytes
  111.             Counter,
  112.         deviceTimeLast
  113.             TimeTicks
  114. }
  115.  
  116.  
  117. deviceIndex OBJECT-TYPE
  118.         SYNTAX INTEGER
  119.         ACCESS read-only
  120.         STATUS mandatory
  121.         ::= { measDeviceEntry 1}
  122. --
  123. -- Index of the device
  124. --
  125.  
  126. deviceTime OBJECT-TYPE
  127.         SYNTAX TimeTicks
  128.         ACCESS read-only
  129.         STATUS mandatory
  130.         ::= { measDeviceEntry 2}
  131. --
  132. -- Time of retrieval
  133. --
  134.  
  135. deviceDescription OBJECT-TYPE
  136.         SYNTAX DisplayString
  137.         ACCESS read-only
  138.         STATUS mandatory
  139.         ::= { measDeviceEntry 3}
  140. --
  141. -- Description of the device, obtained from the packet device driver
  142. --
  143.  
  144. deviceClass    OBJECT-TYPE
  145.         SYNTAX     INTEGER
  146.         ACCESS read-only
  147.         STATUS mandatory
  148.         ::= { measDeviceEntry 4}
  149. --
  150. -- Class of device, obtained from the packet device driver
  151. --
  152.  
  153. deviceType     OBJECT-TYPE
  154.         SYNTAX INTEGER
  155.         ACCESS read-only
  156.         STATUS mandatory
  157.         ::= { measDeviceEntry 5}
  158. --
  159. -- Type of device, obtained from the packet device driver
  160. --
  161.  
  162. devicePackets     OBJECT-TYPE
  163.         SYNTAX Counter
  164.         ACCESS read-only
  165.         STATUS mandatory
  166.         ::= { measDeviceEntry 6}
  167. --
  168. -- Number of packets received by device since time defined in
  169. -- systemUpTime
  170. --
  171.  
  172. deviceBytes      OBJECT-TYPE
  173.         SYNTAX Counter
  174.         ACCESS read-only
  175.         STATUS mandatory
  176.         ::= { measDeviceEntry 7}
  177. --
  178. -- Number of bytes received by device since time defined in 
  179. -- systemUpTime
  180. --
  181.  
  182. deviceTimeLast     OBJECT-TYPE
  183.         SYNTAX TimeTicks
  184.         ACCESS read-only
  185.         STATUS mandatory
  186.         ::= { measDeviceEntry 8}
  187. --
  188. -- Time this device last received a packet
  189. --
  190.  
  191.  
  192. measSizeTable    OBJECT-TYPE
  193.         SYNTAX SEQUENCE OF MeasSizeEntry
  194.         ACCESS not-accessible
  195.         STATUS mandatory
  196.         ::= { beholderMeas 2 }
  197. --
  198. -- Table containing Size ditribution information
  199. --
  200. -- retreive information from this table with:
  201. --
  202. --        measSizeEntry.<item>.<device-index>.<size-index>
  203. --
  204. --        size-index = 0...20 
  205. --        size-index*(maxlength/20) < length(packet) < (size-index+1)*(maxlength/20)
  206. --
  207.  
  208.  
  209. measSizeEntry    OBJECT-TYPE
  210.         SYNTAX MeasSizeEntry
  211.         ACCESS not-accessible
  212.         STATUS mandatory
  213.         ::= { measSizeTable 1}
  214.  
  215. MeasSizeEntry ::= SEQUENCE 
  216. {
  217.         sizeIndexDevice
  218.             INTEGER,
  219.         sizeIndexSize
  220.             INTEGER,
  221.         sizeTime
  222.             TimeTicks,
  223.          sizePackets
  224.             Counter,
  225.         sizeBytes
  226.             Counter,
  227.         sizeTimeLast
  228.             TimeTicks
  229. }
  230.  
  231. sizeIndexDevice    OBJECT-TYPE
  232.         SYNTAX INTEGER
  233.         ACCESS read-only
  234.         STATUS mandatory
  235.         ::= { measSizeEntry 1}
  236. --
  237. -- Device index
  238. --
  239.  
  240.  
  241. sizeIndexSize OBJECT-TYPE
  242.         SYNTAX INTEGER
  243.         ACCESS read-only
  244.         STATUS mandatory
  245.         ::= { measSizeEntry 2}
  246. --
  247. -- Size index
  248. --
  249.  
  250. sizeTime OBJECT-TYPE
  251.         SYNTAX TimeTicks
  252.         ACCESS read-only
  253.         STATUS mandatory
  254.         ::= { measSizeEntry 3}
  255. --
  256. -- Time of retrieval
  257. --
  258.  
  259. sizePackets    OBJECT-TYPE
  260.         SYNTAX Counter
  261.         ACCESS read-only
  262.         STATUS mandatory
  263.         ::= { measSizeEntry 4}
  264. --
  265. -- Number of packets in this class received till time of 
  266. -- retrieval
  267. --
  268.  
  269. sizeBytes    OBJECT-TYPE
  270.         SYNTAX Counter
  271.         ACCESS read-only
  272.         STATUS mandatory
  273.         ::= { measSizeEntry 5}
  274. --
  275. -- Number of bytes in this class received till time of 
  276. -- retrieval
  277. --
  278.  
  279. sizeTimeLast    OBJECT-TYPE
  280.         SYNTAX TimeTicks
  281.         ACCESS read-only
  282.         STATUS mandatory
  283.         ::= { measSizeEntry 6}
  284. --
  285. -- Time last packet in this class was received
  286. --
  287.  
  288.  
  289. --
  290. -- Ethernet Type Information Table
  291. --
  292.  
  293. measTypeTable    OBJECT-TYPE
  294.         SYNTAX SEQUENCE OF MeasTypeEntry
  295.         ACCESS not-accessible
  296.         STATUS mandatory
  297.         ::= { beholderMeas 3 }
  298. --
  299. -- Table containing Type distribution information
  300. --
  301. -- retreive information from this table with:
  302. --
  303. --        measTypeEntry.<item>.<device-index>.<type-index>
  304. --
  305. --        type = ethernet type
  306. --             = 0 if 802.3 packet
  307. --
  308.  
  309. measTypeEntry    OBJECT-TYPE
  310.         SYNTAX MeasTypeEntry
  311.         ACCESS not-accessible
  312.         STATUS mandatory
  313.         ::= { measTypeTable 1}
  314.  
  315. MeasTypeEntry ::= SEQUENCE 
  316. {
  317.         typeIndexDevice
  318.             INTEGER,
  319.         typeIndexType
  320.             INTEGER,
  321.         typeTime
  322.             TimeTicks,
  323.          typePackets
  324.             Counter,
  325.         typeBytes
  326.             Counter,
  327.         typeTimeLast
  328.             TimeTicks
  329. }
  330.  
  331. typeIndexDevice    OBJECT-TYPE
  332.         SYNTAX INTEGER
  333.         ACCESS read-only
  334.         STATUS mandatory
  335.         ::= { measTypeEntry 1}
  336. --
  337. -- Device index
  338. --
  339.  
  340. typeIndexType OBJECT-TYPE
  341.         SYNTAX INTEGER
  342.         ACCESS read-only
  343.         STATUS mandatory
  344.         ::= { measTypeEntry 2}
  345. --
  346. -- Type index 
  347. --
  348.  
  349. typeTime OBJECT-TYPE
  350.         SYNTAX TimeTicks
  351.         ACCESS read-only
  352.         STATUS mandatory
  353.         ::= { measTypeEntry 3}
  354. --
  355. -- Time of retrieval
  356. --
  357.  
  358.  
  359. typePackets    OBJECT-TYPE
  360.         SYNTAX Counter
  361.         ACCESS read-only
  362.         STATUS mandatory
  363.         ::= { measTypeEntry 4}
  364. --
  365. -- Number of packets from this type received till time of 
  366. -- retrieval
  367. --
  368.  
  369. typeBytes    OBJECT-TYPE
  370.         SYNTAX Counter
  371.         ACCESS read-only
  372.         STATUS mandatory
  373.         ::= { measTypeEntry 5}
  374. --
  375. -- Number of bytes from this type received till time of 
  376. -- retrieval
  377. --
  378.  
  379. typeTimeLast    OBJECT-TYPE
  380.         SYNTAX TimeTicks
  381.         ACCESS read-only
  382.         STATUS mandatory
  383.         ::= { measTypeEntry 6}
  384. --
  385. -- Time last packet was received from this type
  386. --
  387.  
  388. --
  389. -- Host Table
  390. --
  391.  
  392. measHostTable    OBJECT-TYPE
  393.         SYNTAX SEQUENCE OF MeasHostEntry
  394.         ACCESS not-accessible
  395.         STATUS mandatory
  396.         ::= { beholderMeas 4 }
  397. --
  398. -- Table containing Hosts on this network.
  399. --
  400. -- retreive information from this table with:
  401. --
  402. --        measHostEntry.<item>.<device-index>.<host-index>
  403. --
  404.  
  405. measHostEntry    OBJECT-TYPE
  406.         SYNTAX MeasHostEntry
  407.         ACCESS not-accessible
  408.         STATUS mandatory
  409.         ::= { measHostTable 1}
  410.  
  411. MeasHostEntry ::= SEQUENCE 
  412. {
  413.         hostIndexDevice
  414.             INTEGER,
  415.         hostIndexHost
  416.             OCTETSTRING
  417. }
  418.  
  419. hostIndexDevice    OBJECT-TYPE
  420.         SYNTAX INTEGER
  421.         ACCESS read-only
  422.         STATUS mandatory
  423.         ::= { measHostEntry 1}
  424. --
  425. -- Device index
  426. --
  427.  
  428. hostIndexHost OBJECT-TYPE
  429.         SYNTAX OCTETSTRING
  430.         ACCESS read-only
  431.         STATUS mandatory
  432.         ::= { measHostEntry 2}
  433. --
  434. -- Host index 
  435. --
  436.  
  437. --
  438. -- Connection Table
  439. --
  440.  
  441. measConnTable    OBJECT-TYPE
  442.         SYNTAX SEQUENCE OF MeasConnEntry
  443.         ACCESS not-accessible
  444.         STATUS mandatory
  445.         ::= { beholderMeas 5 }
  446. --
  447. -- Table containing Connections on network
  448. --
  449. -- retreive information from this table with:
  450. --
  451. --       
  452. --      measTypeEntry.<item>.<device-index>.<source-index>.<dest-index>
  453. --
  454.  
  455. measConnEntry    OBJECT-TYPE
  456.         SYNTAX MeasConnEntry
  457.         ACCESS not-accessible
  458.         STATUS mandatory
  459.         ::= { measConnTable 1}
  460.  
  461. MeasConnEntry ::= SEQUENCE 
  462. {
  463.         connIndexDevice
  464.             INTEGER,
  465.         connIndexSource
  466.             OCTETSTRING,
  467.         connIndexDestination
  468.             OCTETSTRING,
  469.         connTime
  470.             TimeTicks,
  471.          connPackets
  472.             Counter,
  473.         connBytes
  474.             Counter,
  475.         connTimeLast
  476.             TimeTicks
  477. }
  478.  
  479. connIndexDevice    OBJECT-TYPE
  480.         SYNTAX INTEGER
  481.         ACCESS read-only
  482.         STATUS mandatory
  483.         ::= { measConnEntry 1}
  484. --
  485. -- Device index
  486. --
  487.  
  488. connIndexSource OBJECT-TYPE
  489.         SYNTAX OCTETSTRING
  490.         ACCESS read-only
  491.         STATUS mandatory
  492.         ::= { measConnEntry 2}
  493. --
  494. -- Source index 
  495. --
  496.  
  497. connIndexDestination OBJECT-TYPE
  498.         SYNTAX OCTETSTRING
  499.         ACCESS read-only
  500.         STATUS mandatory
  501.         ::= { measConnEntry 3}
  502. --
  503. -- Destination index 
  504. --
  505.  
  506. connTime OBJECT-TYPE
  507.         SYNTAX TimeTicks
  508.         ACCESS read-only
  509.         STATUS mandatory
  510.         ::= { measConnEntry 4}
  511. --
  512. -- Time of retrieval
  513. --
  514.  
  515.  
  516. connPackets    OBJECT-TYPE
  517.         SYNTAX Counter
  518.         ACCESS read-only
  519.         STATUS mandatory
  520.         ::= { measConnEntry 5}
  521. --
  522. -- Number of packets for this connection received till time of
  523. -- retrieval
  524. --
  525.  
  526. connBytes    OBJECT-TYPE
  527.         SYNTAX Counter
  528.         ACCESS read-only
  529.         STATUS mandatory
  530.         ::= { measConnEntry 6}
  531. --
  532. -- Number of bytes for this connection received till time of
  533. -- retrieval
  534. --
  535.  
  536. connTimeLast    OBJECT-TYPE
  537.         SYNTAX TimeTicks
  538.         ACCESS read-only
  539.         STATUS mandatory
  540.         ::= { measConnEntry 7}
  541. --
  542. -- Time last packet was received for this connection
  543. --
  544.  
  545. --
  546. -- Beholder Application information
  547. --
  548.  
  549.  
  550. applicStatusTable    OBJECT-TYPE
  551.         SYNTAX SEQUENCE OF ApplicStatusEntry
  552.         ACCESS not-accessible
  553.         STATUS mandatory
  554.         ::= { beholderApplic 1 }
  555. --
  556. -- Table containing information about Beholder Application
  557. --
  558. -- retreive information from this table with:
  559. --
  560. --        applicStatusEntry.<item>.<applic-index>
  561. --
  562.  
  563.  
  564. applicStatusEntry    OBJECT-TYPE
  565.         SYNTAX ApplicStatusEntry
  566.         ACCESS not-accessible
  567.         STATUS mandatory
  568.         ::= { applicStatusTable 1}
  569.  
  570. ApplicStatusEntry ::= SEQUENCE 
  571. {
  572.         applicIndex
  573.             INTEGER,
  574.         applicDescription
  575.             DisplayString,
  576.         applicStatus
  577.             INTEGER
  578. }
  579.  
  580. applicIndex OBJECT-TYPE
  581.         SYNTAX INTEGER
  582.         ACCESS read-only
  583.         STATUS mandatory
  584.         ::= { applicStatusEntry 1}
  585. --
  586. -- Application index
  587. --
  588.  
  589. applicDescription OBJECT-TYPE
  590.         SYNTAX DisplayString
  591.         ACCESS read-only
  592.         STATUS mandatory
  593.         ::= { applicStatusEntry 2}
  594. --
  595. -- Description of the beholder application
  596. --
  597.  
  598. applicStatus    OBJECT-TYPE
  599.         SYNTAX    INTEGER
  600.         ACCESS    read-only
  601.         STATUS    mandatory
  602.         ::= { applicStatusEntry 3}
  603. --
  604. -- Status of beholder application
  605. --
  606.  
  607. applicProfileTable    OBJECT-TYPE
  608.         SYNTAX SEQUENCE OF ApplicProfileEntry
  609.         ACCESS read-only
  610.         STATUS mandatory
  611.         ::= { beholderApplic 2 }
  612. --
  613. -- Table containing information about Beholder Application
  614. --
  615. -- retreive information from this table with:
  616. --
  617. --        applicStatusEntry.<item>.<applic-index>.<event-index>
  618. --
  619. -- each entry gives the number of milliseconds the application
  620. -- has consumed since systemUpTime
  621. --
  622.  
  623. applicProfileEntry    OBJECT-TYPE
  624.         SYNTAX ApplicProfileEntry
  625.         ACCESS not-accessible
  626.         STATUS mandatory
  627.         ::= { applicProfileTable 1}
  628.  
  629. ApplicProfileEntry ::= SEQUENCE 
  630. {
  631.          profileIndexApplic
  632.             INTEGER,
  633.         profileIndexEvent
  634.             INTEGER,
  635.         profileTimeSpoiled
  636.             Gauge
  637. }
  638.  
  639. profileIndexApplic OBJECT-TYPE
  640.         SYNTAX INTEGER
  641.         ACCESS read-only
  642.         STATUS mandatory
  643.         ::= { applicProfilecEntry 1}
  644. --
  645. -- Application index
  646. --
  647.  
  648. profileIndexEvent OBJECT-TYPE
  649.         SYNTAX INTEGER
  650.         ACCESS read-only
  651.         STATUS mandatory
  652.         ::= { applicProfileEntry 2}
  653. --
  654. -- Event index
  655. --
  656.  
  657. profileTimeSpoiled OBJECT-TYPE
  658.         SYNTAX Gauge
  659.         ACCESS read-only
  660.         STATUS mandatory
  661.         ::= { applicProfileEntry 3 }
  662. --
  663. -- Number of milliseconds that has been spoiled by this event
  664. --
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.