BODET-Harmonys-Control-Box-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
		;

	controlbox MODULE-IDENTITY
		LAST-UPDATED	"201706190000Z"	-- 19 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 Control Box"
		
		REVISION	"201706190000Z"	-- 19 June 2017
		DESCRIPTION	"Initial Release"
		::= { harmonys 3 }
		

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

	data            	OBJECT IDENTIFIER ::= { controlbox 1 }

	traps        		OBJECT IDENTIFIER ::= { controlbox 2 }

	controlboxConformance  	OBJECT IDENTIFIER ::= { controlbox 3 }
	controlboxCompliances  	OBJECT IDENTIFIER ::= { controlboxConformance 1 }
	controlboxGroups       	OBJECT IDENTIFIER ::= { controlboxConformance 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 }
			
	trapButtonPressed NOTIFICATION-TYPE
			STATUS 			current
			DESCRIPTION		" Button pressed"
			::= { traps 2 }

	trapStatus NOTIFICATION-TYPE
			STATUS 			current
			DESCRIPTION		"Status"
			::= { traps 3 }

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

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

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

	controlboxCompliance		MODULE-COMPLIANCE
			STATUS        	current
			DESCRIPTION		"Compliance statement for Bodet Control Box SNMP MIB"
			MODULE
					MANDATORY-GROUPS { controlboxObjectsGroup,
									   controlboxTrapsGroup }
			::= { controlboxCompliances 1 }

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

	controlboxObjectsGroup    OBJECT-GROUP
			OBJECTS       	{ 	
								dnsName,
								statusAlarm,
							}
			STATUS        	current
			DESCRIPTION   	"Collection of objects for Bodet Control Box MIB"
			::= { controlboxGroups 1 }

	controlboxTrapsGroup      NOTIFICATION-GROUP
			NOTIFICATIONS 	{ 	
								trapInfoReboot,
								trapButtonPressed,
								trapStatus,
								trapWebAccess,
								trapAuthentificationFailure,
							}
			STATUS        	current
			DESCRIPTION   	"Collection of traps for Bodet Control Box MIB"
			::= { controlboxGroups 2 }

END
