AppstoreProxy-MIB DEFINITIONS ::= BEGIN
 
IMPORTS
	OBJECT-TYPE, MODULE-IDENTITY, Integer32, TimeTicks, Unsigned32
		FROM SNMPv2-SMI
 
	DisplayString, DateAndTime, TruthValue
		FROM SNMPv2-TC
 
	inconcertAgents
		FROM INCONCERT-MIB;
 
appstoreproxy 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
		"Appstore Proxy is a distributed server that manages Appstore accounts."
	REVISION	"201111301500Z"
	DESCRIPTION
		"Initial published revision."
	::= { inconcertAgents 14 }
 
appstoreproxyVersion                       OBJECT IDENTIFIER ::= { appstoreproxy 1 }
appstoreproxyConfiguration                 OBJECT IDENTIFIER ::= { appstoreproxy 2 }
appstoreproxyNetwork                       OBJECT IDENTIFIER ::= { appstoreproxy 3 }
appstoreproxyInformation                   OBJECT IDENTIFIER ::= { appstoreproxy 4 }


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

appstoreproxyUpTime OBJECT-TYPE
	SYNTAX		TimeTicks
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Time ticks since this Appstore Proxy was started."
	::= { appstoreproxyConfiguration 1 }
 
appstoreproxyPid OBJECT-TYPE
	SYNTAX		Integer32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The process id of the running Appstore Proxy process."
	::= { appstoreproxyConfiguration 2 }
 
appstoreproxyPort OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The port on which the Appstore Proxy listens for connections."
	::= { appstoreproxyConfiguration 3 }
 
appstoreproxyThreads OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Number of process threads."
	::= { appstoreproxyConfiguration 4 }

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

-- appstoreproxyNetwork

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

appstoreproxySiblingTable OBJECT-TYPE
	SYNTAX		SEQUENCE OF AppstoreProxySiblingEntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Table with details of the fellow Appstore Proxies on the cluster."
	::= { appstoreproxyNetwork 2 }

appstoreproxySiblingEntry OBJECT-TYPE
	SYNTAX		AppstoreProxySiblingEntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Details of a fellow Appstore Proxy."
	INDEX	{ appstoreproxySiblingAddress }
	::= { appstoreproxySiblingTable 1 }
 
appstoreproxySiblingAddress OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Address (IP:port) of the sibling."
	::= { appstoreproxySiblingEntry 1 }

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

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

AppstoreProxySiblingEntry ::= SEQUENCE {
	appstoreproxySiblingAddress    DisplayString,
	appstoreproxySiblingIP         DisplayString,
	appstoreproxySiblingPort       Unsigned32
}

appstoreproxyIRTable OBJECT-TYPE
	SYNTAX		SEQUENCE OF AppstoreProxyIREntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Table with details of the Interaction Routers connected to the Appstore Proxy."
	::= { appstoreproxyNetwork 3 }

appstoreproxyIREntry OBJECT-TYPE
	SYNTAX		AppstoreProxyIREntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Details of a known IR."
	INDEX	{ appstoreproxyIRIndex }
	::= { appstoreproxyIRTable 1 }
 
AppstoreProxyIREntry ::= SEQUENCE {
	appstoreproxyIRIndex      Unsigned32,
	appstoreproxyIRIP         DisplayString,
	appstoreproxyIRPort       Unsigned32,
	appstoreproxyIRStatus     DisplayString
}

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

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

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

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

-- appstoreproxyInformation

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

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

END
