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


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

fbproxyUpTime OBJECT-TYPE
	SYNTAX		TimeTicks
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Time ticks since this FB Proxy was started."
	::= { fbproxyConfiguration 1 }
 
fbproxyPid OBJECT-TYPE
	SYNTAX		Integer32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The process id of the running FB Proxy process."
	::= { fbproxyConfiguration 2 }
 
fbproxyPort OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"The port on which the FB Proxy listens for connections."
	::= { fbproxyConfiguration 3 }
 
fbproxyThreads OBJECT-TYPE
	SYNTAX		Unsigned32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"Number of process threads."
	::= { fbproxyConfiguration 4 }

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

-- fbproxyNetwork

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

fbproxySiblingTable OBJECT-TYPE
	SYNTAX		SEQUENCE OF FBProxySiblingEntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Table with details of the fellow FB Proxies on the cluster."
	::= { fbproxyNetwork 2 }

fbproxySiblingEntry OBJECT-TYPE
	SYNTAX		FBProxySiblingEntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Details of a fellow FB Proxy."
	INDEX	{ fbproxySiblingAddress }
	::= { fbproxySiblingTable 1 }
 
fbproxySiblingAddress OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Address (IP:port) of the sibling."
	::= { fbproxySiblingEntry 1 }

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

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

FBProxySiblingEntry ::= SEQUENCE {
	fbproxySiblingAddress    DisplayString,
	fbproxySiblingIP         DisplayString,
	fbproxySiblingPort       Unsigned32
}

fbproxyIRTable OBJECT-TYPE
	SYNTAX		SEQUENCE OF FBProxyIREntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Table with details of the Interaction Routers connected to the FB Proxy."
	::= { fbproxyNetwork 3 }

fbproxyIREntry OBJECT-TYPE
	SYNTAX		FBProxyIREntry
	MAX-ACCESS	not-accessible
	STATUS		current
	DESCRIPTION
		"Details of a known IR."
	INDEX	{ fbproxyIRIndex }
	::= { fbproxyIRTable 1 }
 
FBProxyIREntry ::= SEQUENCE {
	fbproxyIRIndex      Unsigned32,
	fbproxyIRIP         DisplayString,
	fbproxyIRPort       Unsigned32,
	fbproxyIRStatus     DisplayString
}

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

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

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

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

-- fbproxyInformation

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

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

END
