YoutubeProxy-MIB DEFINITIONS ::= BEGIN
 
IMPORTS
	OBJECT-TYPE, MODULE-IDENTITY, Integer32, TimeTicks, Unsigned32
		FROM SNMPv2-SMI
 
	DisplayString, DateAndTime, TruthValue
		FROM SNMPv2-TC
 
	inconcertAgents
		FROM INCONCERT-MIB;
 
youtubeproxy MODULE-IDENTITY
	LAST-UPDATED	"201111301500Z"
	ORGANIZATION	"inConcert Corporation"
	CONTACT-INFO
		"Guillermo Winkler
		Postal: inConcert Corporation
		        8 de Octubre 2297
		        Montevideo
		        Uruguay
		   Tel: +598 99 691341
		 Email: gwinkler@inconcertcc.com"
	DESCRIPTION
		"Youtube Proxy is a distributed server that manages Youtube accounts."
	REVISION	"201111301500Z"
	DESCRIPTION
		"Initial published revision."
	::= { inconcertAgents 14 }
 
youtubeproxyVersion                       OBJECT IDENTIFIER ::= { youtubeproxy 1 }
youtubeproxyConfiguration                 OBJECT IDENTIFIER ::= { youtubeproxy 2 }
youtubeproxyNetwork                       OBJECT IDENTIFIER ::= { youtubeproxy 3 }
youtubeproxyInformation                   OBJECT IDENTIFIER ::= { youtubeproxy 4 }


-- youtubeproxyVersionString
youtubeproxyVersionString OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Text version string of the version of Youtube Proxy that
		the SNMP Agent was compiled to run against."
	::= { youtubeproxyVersion 1 }
 
-- youtubeproxyConfiguration

youtubeproxyUpTime OBJECT-TYPE
	SYNTAX		TimeTicks
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Time ticks since this Youtube Proxy was started."
	::= { youtubeproxyConfiguration 1 }
 
youtubeproxyPid OBJECT-TYPE
	SYNTAX		Integer32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The process id of the running Youtube Proxy process."
	::= { youtubeproxyConfiguration 2 }
 
youtubeproxyPort OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The port on which the Youtube Proxy listens for connections."
	::= { youtubeproxyConfiguration 3 }
 
youtubeproxyThreads OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Number of process threads."
	::= { youtubeproxyConfiguration 4 }

youtubeproxyHandles	 OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Number of process handles."
	::= { youtubeproxyConfiguration 5 }

-- youtubeproxyNetwork

youtubeproxyCluster OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Cluster of which the Youtube Proxy is part."
	::= { youtubeproxyNetwork 1 }

youtubeproxySiblingTable OBJECT-TYPE
	SYNTAX		SEQUENCE OF YoutubeProxySiblingEntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Table with details of the fellow Youtube Proxies on the cluster."
	::= { youtubeproxyNetwork 2 }

youtubeproxySiblingEntry OBJECT-TYPE
	SYNTAX		YoutubeProxySiblingEntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Details of a fellow Youtube Proxy."
	INDEX	{ youtubeproxySiblingAddress }
	::= { youtubeproxySiblingTable 1 }
 
youtubeproxySiblingAddress OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Address (IP:port) of the sibling."
	::= { youtubeproxySiblingEntry 1 }

youtubeproxySiblingIP OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"IP of the sibling."
	::= { youtubeproxySiblingEntry 2 }

youtubeproxySiblingPort OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Port of the sibling."
	::= { youtubeproxySiblingEntry 3 }

YoutubeProxySiblingEntry ::= SEQUENCE {
	youtubeproxySiblingAddress    DisplayString,
	youtubeproxySiblingIP         DisplayString,
	youtubeproxySiblingPort       Unsigned32
}

youtubeproxyIRTable OBJECT-TYPE
	SYNTAX		SEQUENCE OF YoutubeProxyIREntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Table with details of the Interaction Routers connected to the Youtube Proxy."
	::= { youtubeproxyNetwork 3 }

youtubeproxyIREntry OBJECT-TYPE
	SYNTAX		YoutubeProxyIREntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Details of a known IR."
	INDEX	{ youtubeproxyIRIndex }
	::= { youtubeproxyIRTable 1 }
 
YoutubeProxyIREntry ::= SEQUENCE {
	youtubeproxyIRIndex      Unsigned32,
	youtubeproxyIRIP         DisplayString,
	youtubeproxyIRPort       Unsigned32,
	youtubeproxyIRStatus     DisplayString
}

youtubeproxyIRIndex OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Index table."
	::= { youtubeproxyIREntry 1 }

youtubeproxyIRIP OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"IP of the IR."
	::= { youtubeproxyIREntry 2 }

youtubeproxyIRPort OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Port of the IR."
	::= { youtubeproxyIREntry 3 }

youtubeproxyIRStatus OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Connection status of the IR."
	::= { youtubeproxyIREntry 4 }

-- youtubeproxyInformation

youtubeproxyActiveAccounts OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Number of active (connected) accounts."
	::= { youtubeproxyInformation 1 }

youtubeproxyInactiveAccounts OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The number of accounts which are not connected."
	::= { youtubeproxyInformation 2 }
	
youtubeproxyLastFailedAPICalls OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The number API calls that failed in the last minute."
	::= { youtubeproxyInformation 3 }
	
youtubeproxyLastSentMessages OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The number of sent messages in the last minute."
	::= { youtubeproxyInformation 4 }
	
youtubeproxyLastRecvMessages OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The number of received messages in the last minute."
	::= { youtubeproxyInformation 5 }

END
