OID Assignments in 1.3.6.1.4.1.9163:           Chapter:FastBack: gitacl.schema   Up: Top   FastForward: SESSION-STATS.txt   Contents: Table of Contents

Appendix C SENDMAIL-STATS.txt

This MIB provides access to the Sendmail statistics information obtained by mailq and mailstats. It is used by the NetSNMP::Sendmail module (see https://metacpan.org/pod/NetSNMP::Sendmail).

The most recent version of this MIB is available from http://git.gnu.org.ua/cgit/netsnmp-sendmail.git/tree/SENDMAIL-STATS.txt.

Base OID: 1.3.6.1.4.1.9163.100

SENDMAIL-STATS DEFINITIONS ::= BEGIN

-- *************************************************************
--
-- Sendmail statistics MIB
--
-- *************************************************************

IMPORTS
	MODULE-IDENTITY, OBJECT-TYPE, enterprises, Integer32, Counter64,
		Gauge32
		FROM SNMPv2-SMI
	TEXTUAL-CONVENTION
		FROM SNMPv2-TC
	OBJECT-GROUP, MODULE-COMPLIANCE
	        FROM SNMPv2-CONF;

sendmail MODULE-IDENTITY
        LAST-UPDATED "201509250219Z"
	ORGANIZATION "Gray Software"
	CONTACT-INFO "Sergey Poznyakoff <gray@gnu.org>"
	DESCRIPTION
	        "This MIB module defines objects for Sendmail statistics."
	REVISION "201509250219Z"
	DESCRIPTION
	        "First revision."
	::= { enterprises 9163 100 }
	
queue      OBJECT IDENTIFIER       ::= { sendmail 1 }

queueTotal	OBJECT-TYPE
        SYNTAX Gauge32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of messages in queue."
     	::= { queue 1 }

QueueNameString ::= TEXTUAL-CONVENTION
	DISPLAY-HINT "128t"
	STATUS current
	DESCRIPTION "A string containing Sendmail queue name."
        SYNTAX OCTET STRING (SIZE (0..128))
	
QueuePathString ::= TEXTUAL-CONVENTION
	DISPLAY-HINT "1024t"
	STATUS current
	DESCRIPTION "A string representing Sendmail queue directory."
        SYNTAX OCTET STRING (SIZE (0..1024))

QueueEntry ::=	     SEQUENCE {
	queueIndex      Integer32,
	queueName	QueueNameString,
	queueDirectory  QueuePathString,
	queueMessages	Gauge32
}	

queueTable   	     OBJECT-TYPE
        SYNTAX  SEQUENCE OF QueueEntry
	MAX-ACCESS not-accessible
	STATUS  current
	DESCRIPTION
	        "Queue table."
	::= { queue 2 }

queueEntry          OBJECT-TYPE
        SYNTAX	   QueueEntry
	MAX-ACCESS not-accessible
	STATUS	   current
	DESCRIPTION
	        "An entry (conceptual row) describing a queue."
	INDEX { queueIndex }
	::= { queueTable 1 }
	
queueIndex	        OBJECT-TYPE
        SYNTAX  Integer32 (0..65535)
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION
	        "A number uniquely identifying each queue."
	::= { queueEntry 1 }
	
queueName		OBJECT-TYPE
        SYNTAX QueueNameString
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "The name of the queue."
     	::= { queueEntry 2 }
	
queueDirectory		OBJECT-TYPE
        SYNTAX QueuePathString
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Queue directory."
     	::= { queueEntry 3 }
	
queueMessages	OBJECT-TYPE
        SYNTAX Gauge32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of messages in the queue."
     	::= { queueEntry 4 }
	
MailerNameString ::= TEXTUAL-CONVENTION
	DISPLAY-HINT "128t"
	STATUS current
	DESCRIPTION "A string containing Sendmail mailer name."
        SYNTAX OCTET STRING (SIZE (0..128))
	
MailerEntry ::=	     SEQUENCE {
	mailerIndex		  Integer32,
	mailerName   	          MailerNameString,
	mailerMessagesFrom        Counter64,
	mailerKBytesFrom          Counter64,	      
	mailerMessagesTo          Counter64,	
	mailerKBytesTo	          Counter64,	
	mailerMessagesRejected    Counter64,	
	mailerMessagesDiscarded   Counter64, 
	mailerMessagesQuarantined Counter64
}	

mailerTable   	     OBJECT-TYPE
        SYNTAX  SEQUENCE OF MailerEntry
	MAX-ACCESS not-accessible
	STATUS  current
	DESCRIPTION
	        "Mailer statistics table."
	::= { sendmail 2 }
	
mailerEntry          OBJECT-TYPE
        SYNTAX	   MailerEntry
	MAX-ACCESS not-accessible
	STATUS	   current
	DESCRIPTION
	        "An entry (conceptual row) describing a mailer."
	INDEX { mailerIndex }
	::= { mailerTable 1 }
	
mailerIndex	        OBJECT-TYPE
        SYNTAX  Integer32 (0..65535)
	MAX-ACCESS not-accessible
	STATUS current
	DESCRIPTION
	        "A number uniquely identifying each mailer."
	::= { mailerEntry 1 }

mailerName		OBJECT-TYPE
        SYNTAX MailerNameString
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "The name of the mailer."
     	::= { mailerEntry 2 }
	
mailerMessagesFrom	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of messages sent from the mailer."
     	::= { mailerEntry 3 }
	
mailerKBytesFrom	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of kilobytes sent from the mailer."
     	::= { mailerEntry 4 }
	
mailerMessagesTo	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of messages sent to the mailer."
     	::= { mailerEntry 5 }
	
mailerKBytesTo		OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of kilobytes sent to the mailer."
     	::= { mailerEntry 6 }
	
mailerMessagesRejected	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of messages rejected by this mailer."
     	::= { mailerEntry 7 }
	
mailerMessagesDiscarded		OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of messages discarded by the mailer."
     	::= { mailerEntry 8 }
	
mailerMessagesQuarantined	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Number of messages quarantined by the mailer."
     	::= { mailerEntry 9 }

totals     OBJECT IDENTIFIER       ::= { sendmail 3 }

totalMessagesFrom	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Total number of messages received."
     	::= { totals 1 }
	
totalKBytesFrom	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Total number of kilobytes received."
     	::= { totals 2 }
	
totalMessagesTo	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Total number of messages sent."
     	::= { totals 3 }
	
totalKBytesTo		OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Total number of kilobytes sent."
     	::= { totals 4 }
	
totalMessagesRejected	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Total number of messages rejected."
     	::= { totals 5 }
	
totalMessagesDiscarded		OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Total number of messages discarded."
     	::= { totals 6 }
	
totalMessagesQuarantined	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Total number of messages quarantined."
     	::= { totals 7 }

connection OBJECT IDENTIFIER       ::= { sendmail 4 }


connectionMessagesFrom	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Total number of messages received over TCP."
     	::= { connection 1 }
	
connectionMessagesTo	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Total number of messages sent over TCP."
     	::= { connection 2 }

connectionMessagesRejected	OBJECT-TYPE
        SYNTAX Counter64
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "Total number of messages rejected over TCP."
     	::= { connection 3 }
	
END

-- Local variables:
-- eval: (add-hook 'write-file-hooks 'time-stamp)
-- time-stamp-start: "\\(LAST-UPDATED\\|REVISION\\)  *\""
-- time-stamp-end: "\""
-- time-stamp-format: "%:y%02m%02d%02H%02MZ"
-- time-stamp-line-limit: 32
-- time-stamp-count: 2
-- end: