BODET-Harmonys-Speaker-MIB DEFINITIONS ::= BEGIN

--******************************************************************************
-- MIB objects for agent module 
--******************************************************************************

	IMPORTS
		MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE, enterprises
			FROM SNMPv2-SMI
		MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
			FROM SNMPv2-CONF
		DisplayString
			FROM SNMPv2-TC
		;

	speaker MODULE-IDENTITY
		LAST-UPDATED	"201706070000Z"	-- 07 June 2017
		ORGANIZATION	"BODET S.A"
		CONTACT-INFO	"
						BODET S.A
						postal: BP1
						49340 TREMENTINES
						FRANCE
						email:	assistance.ts@bodet.com
						"
		DESCRIPTION	"MIB for Harmonys Speaker"
		
		REVISION	"201706070000Z"	-- 07 June 2017
		DESCRIPTION	"Initial Release"
		::= { harmonys 1 }
		

--******************************************************************************
-- Definition
--******************************************************************************
	bodetSnmp 			OBJECT IDENTIFIER ::= { enterprises 30731 }
	harmonys   			OBJECT IDENTIFIER ::= { bodetSnmp 6 }

	data            	OBJECT IDENTIFIER ::= { speaker 1 }

	traps        		OBJECT IDENTIFIER ::= { speaker 2 }

	speakerConformance  	OBJECT IDENTIFIER ::= { speaker 3 }
	speakerCompliances  	OBJECT IDENTIFIER ::= { speakerConformance 1 }
	speakerGroups       	OBJECT IDENTIFIER ::= { speakerConformance 2 }

--******************************************************************************
-- Objects
--******************************************************************************
	dnsName OBJECT-TYPE
			SYNTAX 			DisplayString(SIZE(0..51))
			MAX-ACCESS 		read-only
			STATUS 			current
			DESCRIPTION		"Hostname"
			::= { data 1 }

	statusAlarm OBJECT-TYPE
			SYNTAX 			DisplayString(SIZE(0..32))
			MAX-ACCESS 		read-only
			STATUS 			current
			DESCRIPTION		"Current Status"
			::= { data 2 }


--******************************************************************************
-- Traps
--******************************************************************************

	trapInfoReboot NOTIFICATION-TYPE
			STATUS 			current
			DESCRIPTION		"Power Recovery"
			::= { traps 1 }
			
	trapScheduledMelody NOTIFICATION-TYPE
			STATUS 			current
			DESCRIPTION		"Scheduled Melody"
			::= { traps 2 }

	trapManualMelody NOTIFICATION-TYPE
			STATUS 			current
			DESCRIPTION		"Manual Melody"
			::= { traps 3 }

	trapAlertMelody NOTIFICATION-TYPE
			STATUS 			current
			DESCRIPTION		"Alert Melody"
			::= { traps 4 }
			
	trapStatus NOTIFICATION-TYPE
			STATUS 			current
			DESCRIPTION		"Status"
			::= { traps 5 }

	trapWebAccess NOTIFICATION-TYPE
			STATUS 			current
			DESCRIPTION		"Web Access"
			::= { traps 6 }

	trapAuthentificationFailure NOTIFICATION-TYPE
			STATUS 			current
			DESCRIPTION		"Authentification Failure in Web Server"
			::= { traps 7 }

	trapRepeaterFailure NOTIFICATION-TYPE
			STATUS 			current
			DESCRIPTION		"Repeater Failure"
			::= { traps 8 }

	trapStreaming NOTIFICATION-TYPE
			STATUS 			current
			DESCRIPTION		"Streaming"
			::= { traps 9 }

	trapMissingMelody NOTIFICATION-TYPE
			STATUS 			current
			DESCRIPTION		"Missing Melody"
			::= { traps 10 }


--******************************************************************************
-- Conformance Section 
--******************************************************************************

	speakerCompliance		MODULE-COMPLIANCE
			STATUS        	current
			DESCRIPTION		"Compliance statement for Bodet Speaker SNMP MIB"
			MODULE
					MANDATORY-GROUPS { speakerObjectsGroup,
									   speakerTrapsGroup }
			::= { speakerCompliances 1 }

--******************************************************************************
-- Groups
--******************************************************************************

	speakerObjectsGroup    OBJECT-GROUP
			OBJECTS       	{ 	
								dnsName,
								statusAlarm
							}
			STATUS        	current
			DESCRIPTION   	"Collection of objects for Bodet Speaker MIB"
			::= { speakerGroups 1 }

	speakerTrapsGroup      NOTIFICATION-GROUP
			NOTIFICATIONS 	{ 	
								trapInfoReboot,
								trapScheduledMelody,
								trapManualMelody,
								trapAlertMelody,
								trapStatus,
								trapWebAccess,
								trapAuthentificationFailure,
								trapRepeaterFailure,
								trapStreaming,
								trapMissingMelody
							}
			STATUS        	current
			DESCRIPTION   	"Collection of traps for Bodet Speaker MIB"
			::= { speakerGroups 2 }

END
