	USAGE-MIB DEFINITIONS ::= BEGIN

	IMPORTS
		MODULE-IDENTITY,OBJECT-TYPE,NOTIFICATION-TYPE
			FROM SNMPv2-SMI
		TEXTUAL-CONVENTION,TimeStamp,TruthValue,DisplayString
			FROM SNMPv2-TC
		MODULE-COMPLIANCE,OBJECT-GROUP
			FROM SNMPv2-CONF
		blueCoatMgmt
			 FROM BLUECOAT-MIB;

	deviceUsageMIB MODULE-IDENTITY
		LAST-UPDATED "0211060300Z"
		ORGANIZATION "Blue Coat Systems, Inc."
		CONTACT-INFO
		"support@bluecoat.com"
		DESCRIPTION
			"The USAGE-MIB is used to monitor
			resource usage of the device."
		::= { blueCoatMgmt 4 }

deviceUsageMIBObjects
		OBJECT IDENTIFIER ::= { deviceUsageMIB 1 }

deviceUsageMIBNotifications
		OBJECT IDENTIFIER ::= { deviceUsageMIB 2 }

deviceUsageMIBNotificationsPrefix
		OBJECT IDENTIFIER ::= { deviceUsageMIBNotifications 0 }

--
-- textual conventions
--

Percent ::= TEXTUAL-CONVENTION
	STATUS		 current
	DESCRIPTION
		"Percent value."
	SYNTAX INTEGER ( 0..100)

UsageStatus ::= TEXTUAL-CONVENTION
	STATUS		 current
	DESCRIPTION
		"Current status of the deviceUsagePercent.
		 ok    : value within limit.
		 high  : value surpassed high limit.
		"
	SYNTAX INTEGER {
		ok(1),
		high(2)
	}
--
-- MIB variables
--

deviceUsageTable OBJECT-TYPE
	SYNTAX		  SEQUENCE OF DeviceUsageEntry
	MAX-ACCESS	  not-accessible
	STATUS		  current
	DESCRIPTION
		"This table lists the various attacks that are
		detected."

	::= { deviceUsageMIBObjects 1 }

deviceUsageEntry OBJECT-TYPE
	SYNTAX		  DeviceUsageEntry
	MAX-ACCESS	  not-accessible
	STATUS		  current
	DESCRIPTION
		"A deviceUsage entry describes the
		present usage of a resource."

	INDEX		  { deviceUsageIndex }
	::= { deviceUsageTable 1 }

DeviceUsageEntry ::= SEQUENCE {
	deviceUsageIndex 		INTEGER,
	deviceUsageTrapEnabled	TruthValue,
	deviceUsageName			DisplayString,
	deviceUsagePercent		Percent,
	deviceUsageHigh			Percent,
	deviceUsageStatus		UsageStatus,
	deviceUsageTime			TimeStamp
	}

deviceUsageIndex    OBJECT-TYPE
	SYNTAX			INTEGER (1..2147483647)
	MAX-ACCESS		not-accessible
	STATUS			current
	DESCRIPTION
			"An arbitrary value which uniquely identifies a resource."

	::= { deviceUsageEntry 1 }

deviceUsageTrapEnabled OBJECT-TYPE
	SYNTAX		  TruthValue
	MAX-ACCESS	  read-write
	STATUS		  current
	DESCRIPTION
		"This variable controls generation of
		deviceUsageTrap for this resource.

		When this variable is true(1), generation of
		deviceUsageTrap is enabled.	When this
		variable is false(2), generation of
		deviceUsageTrap is disabled.

		The default start-up value is true(1)."
	::= { deviceUsageEntry 2 }

deviceUsageName OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
			"The textual name of the resource i.e. Disk."

	::= { deviceUsageEntry 3  }

deviceUsagePercent	OBJECT-TYPE
	SYNTAX			Percent
	MAX-ACCESS		read-only
	STATUS			current
	DESCRIPTION
		"Percent of resource in use. When the resource is Disk, it is
		the amount of disk used by the cache subsytem"

	::= { deviceUsageEntry 4 }

deviceUsageHigh		OBJECT-TYPE
	SYNTAX			Percent
	MAX-ACCESS		read-write
	STATUS			current
	DESCRIPTION
		"Percent usage which a notification will be sent when the value is reached.
		 For example if deviceUsageHigh is set to 79 then notification will be send
		 when the value changes from less than	79 to 79.
		 The default is defined by the device for a particular resource.
		 When the resource is Disk, it is the amount of disk used by the 
		 cache subsytem"

	::= { deviceUsageEntry 5 }

deviceUsageStatus	OBJECT-TYPE
	SYNTAX			UsageStatus
	MAX-ACCESS		read-only
	STATUS			current
	DESCRIPTION
		"Comparison of deviceUsagePercent with deviceUsageHigh."

	::= { deviceUsageEntry 6 }
deviceUsageTime	   OBJECT-TYPE
	SYNTAX			TimeStamp
	MAX-ACCESS		read-only
	STATUS			current
	DESCRIPTION
		"value of 'sysUpTime.0' at last resource reading."

	::= { deviceUsageEntry 7 }

--
-- notifications
-- "enterprise".0 for v1 v2 compatibility
--
deviceUsageTrap NOTIFICATION-TYPE
	OBJECTS { deviceUsageName, deviceUsagePercent, deviceUsageStatus }
	STATUS current
	DESCRIPTION
		"At notification is sent when the deviceUsagePercent
		exceeds a threshold."

	::= { deviceUsageMIBNotificationsPrefix 1 }


END
