-- The Barix Audio MIB leaf -- The Barix MIB Registration Authority is barix.mib -- Version: 2.3 -- Date: 03 June, 2010 -- Copyright (c) 2004-2010 Barix AG -- Changes: -- 20050503 KPS Updated according to Barix MIB registration authority -- 20060116 KS/PK Added streaming variables -- 20060307 KS unit net, hostname added -- 20060307 KS instreaming levels added -- 20100603 PK exstreamingError codes 17,18 and 19 added BARIXAUDIOSNMP-MIB DEFINITIONS ::= BEGIN IMPORTS enterprises, IpAddress, Counter, TimeTicks, Gauge FROM RFC1155-SMI OBJECT-TYPE FROM RFC-1212 DisplayString FROM RFC-1213; barix OBJECT IDENTIFIER ::= { enterprises 17491 } products OBJECT IDENTIFIER ::= { barix 1 } systems OBJECT IDENTIFIER ::= { barix 2 } unit OBJECT IDENTIFIER ::= { barix 3 } -- 4-9 Spare oem OBJECT IDENTIFIER ::= { barix 10 } -- Audio Section -- states for dynamic audio states that don't fit into any streaming category -- streaming for general streaming information -- exstreaming for specific out to audio information -- instreaming for specific in from audio information audio OBJECT IDENTIFIER ::= { systems 1 } states OBJECT IDENTIFIER ::= { audio 1 } streaming OBJECT IDENTIFIER ::= { audio 2 } exstreaming OBJECT IDENTIFIER ::= { audio 3 } instreaming OBJECT IDENTIFIER ::= { audio 4 } -- unit Group -- contains information common to all Barix units -- net OBJECT IDENTIFIER ::= { unit 1 } netHostName OBJECT-TYPE SYNTAX DisplayString (SIZE (0..15)) MAX-ACCESS read-only STATUS current DESCRIPTION "The bootP and DHCP host name" ::= { net 1 } -- Barix Audio MIB audioStateLeft OBJECT-TYPE SYNTAX INTEGER(0..65535) ACCESS read-only STATUS mandatory DESCRIPTION "Audio State Left Channel 0 = silence 1 = running 2 = high" ::= { states 1 } audioStateRight OBJECT-TYPE SYNTAX INTEGER(0..65535) ACCESS read-only STATUS mandatory DESCRIPTION "Audio State Right Channel 0 = silence 1 = running 2 = high" ::= { states 2 } -- streaming -- Buffer level streamingBufferLevel OBJECT-TYPE SYNTAX Gauge ACCESS read-only STATUS mandatory DESCRIPTION "Streaming buffer level" ::= { streaming 1 } -- Frame drop out count streamingFrameLoss OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS current DESCRIPTION "Lost frames counter" ::= { streaming 2 } -- Stream drift correction counter streamingSoftErrorCount OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS current DESCRIPTION "Number of soft errors since stream start. Soft error is: RTP: lost more frames than could be corrected TCP, UDP: buffer empty (sampled every 100ms) " ::= { streaming 3 } -- exstreaming -- Current Stream number exstreamingStreamNumber OBJECT-TYPE SYNTAX INTEGER(0..65535) ACCESS read-only STATUS mandatory DESCRIPTION "Current stream number 0 - inactive 1 and more - stream number " ::= { exstreaming 1 } -- Current URL exstreamingURL OBJECT-TYPE SYNTAX OCTET STRING ACCESS read-only STATUS mandatory DESCRIPTION "Current URL" ::= { exstreaming 2 } -- Stream bitrate exstreamingBitrate OBJECT-TYPE SYNTAX INTEGER(0..65535) ACCESS read-only STATUS mandatory DESCRIPTION "Stream bitrate in Kbits/sec" ::= { exstreaming 3 } -- Number of reconnects exstreamingReconnects OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS mandatory DESCRIPTION "Number of reconnects/stream-switches since device startup" ::= { exstreaming 4 } -- Time of last reconnect exstreamingReconnectTime OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory DESCRIPTION "Time of last reconnect" ::= { exstreaming 5 } -- Last streaming error exstreamingError OBJECT-TYPE SYNTAX INTEGER{ No-Error(0), DNS-Problem(1), No-TCP-Reply(2), TCP-Closed(3) No-HTTP-Response(4), Invalid-HTTP-Response(5), Missing-Path(6), Missing-Port-Number(7), Missing-Hostname(8), Invalid-Filetype(9), Filesystem-Error(10), Connection-Timed-Out(11), Invalid-Protocol(12), Too-Many-Dropouts(13), Invalid-Port(14), Wrong-Filename(15), Playlist-Error(16), Empty-URL(17), Bad-MMS-Response(18), Unsupported-Audio-Format(19), Internal-Error(99), HTTP-Bad-Request(400), HTTP-Unauthorized(401), HTTP-Payment-Required(402), HTTP-Forbidden(403), HTTP-Not-Found(404), HTTP-Method-Not-Allowed(405), HTTP-Not-Acceptable(406), HTTP-Proxy-Authentication-Required(407), HTTP-Request-Time-Out(408), HTTP-Conflict(409), HTTP-Gone(410), HTTP-Length-Required(411), HTTP-Precondition-Failed(412), HTTP-Request-Entity-Too-Large(413), HTTP-Request-URL-Too-Large(414), HTTP-Unsupported-Media-Type(415), HTTP-Server-Error(500), HTTP-Not-Implemented(501), HTTP-Bad-Gateway(502), HTTP-Out-of-Resources(503), HTTP-Gateway-Time-Out(504), HTTP-Version-not-supported(505) } ACCESS read-only STATUS mandatory DESCRIPTION "Last streaming error 0-90 = connection/configuration errors 90-99 = internal errors 400-599 = HTTP errors" ::= { exstreaming 6 } -- Time of last streaming error exstreamingErrorTime OBJECT-TYPE SYNTAX TimeTicks ACCESS read-only STATUS mandatory DESCRIPTION "Time of last error" ::= { exstreaming 7 } -- --- Trap -- name NOTIFICATION-TYPE -- OBJECTS { -- Object -- } -- STATUS current -- DESCRIPTION -- "" -- ::= { OID in MIB tree } -- -- -- instreaming Levels -- levels OBJECT IDENTIFIER ::= { instreaming 1 } audioInputLevelLeft OBJECT-TYPE SYNTAX INTEGER(0..65535) ACCESS read-only STATUS mandatory DESCRIPTION "Audio Level Left Channel" ::= { levels 1 } audioInputLevelRight OBJECT-TYPE SYNTAX INTEGER(0..65535) ACCESS read-only STATUS mandatory DESCRIPTION "Audio Level Right Channel" ::= { levels 2 } END