-- The Beholder SNMP variables -- -- The file contains the formal definitions of the variables defined by -- The Beholder network monitor. -- -- The Beholder also implements a number of standard MIB-2 variables, -- and generates the standard MIB-2 SNMP-traps (cold-boot warm-boot). -- Beholder-MIB { iso org(3) dod(6) internet(1) private(4) enterprise(1) beholder(99) } DEFINITIONS ::= BEGIN -- Beholder-MIB IMPORTS enterprises, OBJECT-TYPE, DisplayString, Counter, ObjectName, TimeTicks, Gauge FROM RFC1155-SMI; beholder OBJECT IDENTIFIER ::= { enterprises 99 } beholderSystem OBJECT IDENTIFIER ::= { beholder 1 } beholderMeas OBJECT IDENTIFIER ::= { beholder 2 } beholderApplic OBJECT IDENTIFIER ::= { beholder 3 } -- -- Most importants standard variables -- systemDescription OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory ::= { beholderSystem 1 } -- -- Description of the Beholder Station -- systemBirthDay OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS manatory ::= { beholderSystem 2 } -- -- Link Date of the Beholder Software -- systemUpTime OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory ::= { beholderSystem 3 } -- -- Time sinds startup of Beholder software -- systemNrDevices OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory ::= { beholderSystem 4 } -- -- Number of devices moinitored by the Beholder software -- systemNrApplics OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory ::= { beholderSystem 5} -- -- Number of active applications in the Beholder software -- measDeviceTable OBJECT-TYPE SYNTAX SEQUENCE OF MeasDeviceEntry ACCESS not-accessible STATUS mandatory ::= { beholderMeas 1 } -- -- Table containing Device measurement information -- -- retreive information from this table with: -- -- measDeviceEntry.. -- measDeviceEntry OBJECT-TYPE SYNTAX MeasDeviceEntry ACCESS not-accessible STATUS mandatory ::= { measDeviceTable 1} MeasDeviceEntry ::= SEQUENCE { deviceIndex INTEGER, deviceTime TimeTicks, deviceDescription DisplayString, deviceClass INTEGER, -- see Packet driver Definition deviceType INTEGER, -- idem devicePackets Counter, deviceBytes Counter, deviceTimeLast TimeTicks } deviceIndex OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { measDeviceEntry 1} -- -- Index of the device -- deviceTime OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory ::= { measDeviceEntry 2} -- -- Time of retrieval -- deviceDescription OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory ::= { measDeviceEntry 3} -- -- Description of the device, obtained from the packet device driver -- deviceClass OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { measDeviceEntry 4} -- -- Class of device, obtained from the packet device driver -- deviceType OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { measDeviceEntry 5} -- -- Type of device, obtained from the packet device driver -- devicePackets OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory ::= { measDeviceEntry 6} -- -- Number of packets received by device since time defined in -- systemUpTime -- deviceBytes OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory ::= { measDeviceEntry 7} -- -- Number of bytes received by device since time defined in -- systemUpTime -- deviceTimeLast OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory ::= { measDeviceEntry 8} -- -- Time this device last received a packet -- measSizeTable OBJECT-TYPE SYNTAX SEQUENCE OF MeasSizeEntry ACCESS not-accessible STATUS mandatory ::= { beholderMeas 2 } -- -- Table containing Size ditribution information -- -- retreive information from this table with: -- -- measSizeEntry... -- -- size-index = 0...20 -- size-index*(maxlength/20) < length(packet) < (size-index+1)*(maxlength/20) -- measSizeEntry OBJECT-TYPE SYNTAX MeasSizeEntry ACCESS not-accessible STATUS mandatory ::= { measSizeTable 1} MeasSizeEntry ::= SEQUENCE { sizeIndexDevice INTEGER, sizeIndexSize INTEGER, sizeTime TimeTicks, sizePackets Counter, sizeBytes Counter, sizeTimeLast TimeTicks } sizeIndexDevice OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { measSizeEntry 1} -- -- Device index -- sizeIndexSize OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { measSizeEntry 2} -- -- Size index -- sizeTime OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory ::= { measSizeEntry 3} -- -- Time of retrieval -- sizePackets OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory ::= { measSizeEntry 4} -- -- Number of packets in this class received till time of -- retrieval -- sizeBytes OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory ::= { measSizeEntry 5} -- -- Number of bytes in this class received till time of -- retrieval -- sizeTimeLast OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory ::= { measSizeEntry 6} -- -- Time last packet in this class was received -- -- -- Ethernet Type Information Table -- measTypeTable OBJECT-TYPE SYNTAX SEQUENCE OF MeasTypeEntry ACCESS not-accessible STATUS mandatory ::= { beholderMeas 3 } -- -- Table containing Type distribution information -- -- retreive information from this table with: -- -- measTypeEntry... -- -- type = ethernet type -- = 0 if 802.3 packet -- measTypeEntry OBJECT-TYPE SYNTAX MeasTypeEntry ACCESS not-accessible STATUS mandatory ::= { measTypeTable 1} MeasTypeEntry ::= SEQUENCE { typeIndexDevice INTEGER, typeIndexType INTEGER, typeTime TimeTicks, typePackets Counter, typeBytes Counter, typeTimeLast TimeTicks } typeIndexDevice OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { measTypeEntry 1} -- -- Device index -- typeIndexType OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { measTypeEntry 2} -- -- Type index -- typeTime OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory ::= { measTypeEntry 3} -- -- Time of retrieval -- typePackets OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory ::= { measTypeEntry 4} -- -- Number of packets from this type received till time of -- retrieval -- typeBytes OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory ::= { measTypeEntry 5} -- -- Number of bytes from this type received till time of -- retrieval -- typeTimeLast OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory ::= { measTypeEntry 6} -- -- Time last packet was received from this type -- -- -- Host Table -- measHostTable OBJECT-TYPE SYNTAX SEQUENCE OF MeasHostEntry ACCESS not-accessible STATUS mandatory ::= { beholderMeas 4 } -- -- Table containing Hosts on this network. -- -- retreive information from this table with: -- -- measHostEntry... -- measHostEntry OBJECT-TYPE SYNTAX MeasHostEntry ACCESS not-accessible STATUS mandatory ::= { measHostTable 1} MeasHostEntry ::= SEQUENCE { hostIndexDevice INTEGER, hostIndexHost OCTETSTRING } hostIndexDevice OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { measHostEntry 1} -- -- Device index -- hostIndexHost OBJECT-TYPE SYNTAX OCTETSTRING ACCESS read-only STATUS mandatory ::= { measHostEntry 2} -- -- Host index -- -- -- Connection Table -- measConnTable OBJECT-TYPE SYNTAX SEQUENCE OF MeasConnEntry ACCESS not-accessible STATUS mandatory ::= { beholderMeas 5 } -- -- Table containing Connections on network -- -- retreive information from this table with: -- -- -- measTypeEntry.... -- measConnEntry OBJECT-TYPE SYNTAX MeasConnEntry ACCESS not-accessible STATUS mandatory ::= { measConnTable 1} MeasConnEntry ::= SEQUENCE { connIndexDevice INTEGER, connIndexSource OCTETSTRING, connIndexDestination OCTETSTRING, connTime TimeTicks, connPackets Counter, connBytes Counter, connTimeLast TimeTicks } connIndexDevice OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { measConnEntry 1} -- -- Device index -- connIndexSource OBJECT-TYPE SYNTAX OCTETSTRING ACCESS read-only STATUS mandatory ::= { measConnEntry 2} -- -- Source index -- connIndexDestination OBJECT-TYPE SYNTAX OCTETSTRING ACCESS read-only STATUS mandatory ::= { measConnEntry 3} -- -- Destination index -- connTime OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory ::= { measConnEntry 4} -- -- Time of retrieval -- connPackets OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory ::= { measConnEntry 5} -- -- Number of packets for this connection received till time of -- retrieval -- connBytes OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory ::= { measConnEntry 6} -- -- Number of bytes for this connection received till time of -- retrieval -- connTimeLast OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory ::= { measConnEntry 7} -- -- Time last packet was received for this connection -- -- -- Beholder Application information -- applicStatusTable OBJECT-TYPE SYNTAX SEQUENCE OF ApplicStatusEntry ACCESS not-accessible STATUS mandatory ::= { beholderApplic 1 } -- -- Table containing information about Beholder Application -- -- retreive information from this table with: -- -- applicStatusEntry.. -- applicStatusEntry OBJECT-TYPE SYNTAX ApplicStatusEntry ACCESS not-accessible STATUS mandatory ::= { applicStatusTable 1} ApplicStatusEntry ::= SEQUENCE { applicIndex INTEGER, applicDescription DisplayString, applicStatus INTEGER } applicIndex OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { applicStatusEntry 1} -- -- Application index -- applicDescription OBJECT-TYPE SYNTAX DisplayString ACCESS read-only STATUS mandatory ::= { applicStatusEntry 2} -- -- Description of the beholder application -- applicStatus OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { applicStatusEntry 3} -- -- Status of beholder application -- applicProfileTable OBJECT-TYPE SYNTAX SEQUENCE OF ApplicProfileEntry ACCESS read-only STATUS mandatory ::= { beholderApplic 2 } -- -- Table containing information about Beholder Application -- -- retreive information from this table with: -- -- applicStatusEntry... -- -- each entry gives the number of milliseconds the application -- has consumed since systemUpTime -- applicProfileEntry OBJECT-TYPE SYNTAX ApplicProfileEntry ACCESS not-accessible STATUS mandatory ::= { applicProfileTable 1} ApplicProfileEntry ::= SEQUENCE { profileIndexApplic INTEGER, profileIndexEvent INTEGER, profileTimeSpoiled Gauge } profileIndexApplic OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { applicProfilecEntry 1} -- -- Application index -- profileIndexEvent OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory ::= { applicProfileEntry 2} -- -- Event index -- profileTimeSpoiled OBJECT-TYPE SYNTAX Gauge ACCESS read-only STATUS mandatory ::= { applicProfileEntry 3 } -- -- Number of milliseconds that has been spoiled by this event --