CTCH-CTASD-MIB DEFINITIONS ::= BEGIN

-- IMPORTS: Include definitions from other mibs here, which is always
-- the first item in a MIB file.
--	OBJECT-TYPE, Integer32,
IMPORTS
	MODULE-IDENTITY, enterprises FROM SNMPv2-SMI,
	MODULE-IDENTITY                       FROM SNMPv2-SMI
	MODULE-COMPLIANCE, OBJECT-GROUP       FROM SNMPv2-CONF;

ctch	OBJECT IDENTIFIER ::= {enterprises 9915 }

--
-- A brief description and update information about this mib.
--
ctasd MODULE-IDENTITY
    LAST-UPDATED "200512300000Z" -- 30 Dec 2005, midnight
    ORGANIZATION "Commtouch Software,Ltd."
    CONTACT-INFO "postal:   4A Hatsoran St.
                            P.O. Box 8511
		  email:    info@commtouch.com
                 "
    DESCRIPTION  
    		"The MIB module for Commtouch ctasd daemon."
    ::= { ctch 3 }

-------------------------------------------------------------------------------
-- General MIB

generalInfo OBJECT IDENTIFIER ::= { ctasd 1 }

pid OBJECT-TYPE
	SYNTAX		Integer32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"Shows the Process ID number."
	::= { generalInfo 1 }

uptime OBJECT-TYPE
	SYNTAX		Timeticks
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The length of time of the current session."
	::= { generalInfo 2 }

totalEmails OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of ClassifyMessage queries successfully received and classified by ctasd."
	::= { generalInfo 3 }

totalSpamSuspected OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of Suspected-Spam classifications returned by ctasd."
	::= { generalInfo 4 }

totalSpamBulk OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of Bulk classifications returned by ctasd."
	::= { generalInfo 5 }

totalSpamConfirmied OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of Confirmed-Spam classifications returned by ctasd."
	::= { generalInfo 6 }

totalNonSpam OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of Non-Spam classifications returned by ctasd."
	::= { generalInfo 7 }

totalSpamUncategorized OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of Uncategorized spam classifications returned by ctasd."
	::= { generalInfo 8 }
	
totalVodMedium OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of Medium malware risk classifications returned by ctasd."
	::= { generalInfo 9 }
	
totalVodHigh OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of High malware risk classifications returned by ctasd."
	::= { generalInfo 10 }

totalVodVirus OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of confirmed Virus classifications returned by ctasd."
	::= { generalInfo 11 }

totalVodNonVirus OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of Non-virus classifications returned by ctasd."
	::= { generalInfo 12 }

totalVodUncategorized OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of Uncategorized malware risk classifications returned by ctasd."
	::= { generalInfo 13 }

totalEmailsUncategorized OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of Uncategorized messages processed by ctasd containing both spam and malware services."
	::= { generalInfo 14 }

-------------------------------------------------------------------------------
-- Http Server MIB

httpServer OBJECT IDENTIFIER ::= { ctasd 2 }

httpCurrReq OBJECT-TYPE
	SYNTAX		Gauge32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The number of HTTP requests that ctasd is currently processing."
	::= { httpServer 1 }

httpQueueSize OBJECT-TYPE
	SYNTAX		Gauge32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The number of HTTP connections waiting to be processed."
	::= { httpServer 2 }

totalWaitTime OBJECT-TYPE
	SYNTAX		Timeticks
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"Total wait time of all requests in the queue."
	::= { httpServer 3 }

httpTotalClassifyReq OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of ClassifyMessage requests which were sent to ctasd."
	::= { httpServer 4 }

httpTotalClassifyErr OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of errors occurred as a result of ClassifyMessage requests which were sent to ctasd."
	::= { httpServer 5 }

httpTotalClassifyTime OBJECT-TYPE
	SYNTAX		Timeticks
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total amount of processing time on ClassifyMessage requests which were sent to ctasd."
	::= { httpServer 6 }

httpTotalReportFPReq OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of ReportFP requests which were sent to ctasd."
	::= { httpServer 7 }

httpTotalReportFPErr OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of errors occurred as a result of ReportFP requests which were sent to ctasd."
	::= { httpServer 8 }

httpTotalReportFPTime OBJECT-TYPE
	SYNTAX		Timeticks
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total amount of processing time on ReportFP requests which were sent to ctasd."
	::= { httpServer 9 }

httpTotalReportFNReq OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of ReportFN requests which were sent to ctasd."
	::= { httpServer 10 }

httpTotalReportFNErr OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of errors occurred as a result of ReportFN requests which were sent to ctasd."
	::= { httpServer 11 }

httpTotalReportFNTime OBJECT-TYPE
	SYNTAX		Timeticks
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total amount of processing time on ReportFN requests which were sent to ctasd."
	::= { httpServer 12 }

httpTotalGetServicesReq OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"Total number of GetServices requests which were sent to ctasd."
	::= { httpServer 13 }

httpTotalGetServicesErr OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of errors occurred as a result of GetServices requests which were sent to ctasd."
	::= { httpServer 14 }

httpTotalGetServicesTime OBJECT-TYPE
	SYNTAX		Timeticks
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total amount of processing time on GetServices requests which were sent to ctasd."
	::= { httpServer 15 }

httpTotalGetStatusReq OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of GetStatus requests which were sent to ctasd."
	::= { httpServer 16 }

httpTotalGetStatusErr OBJECT-TYPE
	SYNTAX		Counter32
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total number of errors occurred as a result of GetStatus requests which were sent to ctasd."
	::= { httpServer 17 }

httpTotalGetStatusTime OBJECT-TYPE
	SYNTAX		Timeticks
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION  
    		"The total amount of processing time on GetStatus requests that which sent to ctasd."
	::= { httpServer 18 }


END


