aboutsummaryrefslogtreecommitdiff
path: root/SENDMAIL-STATS.txt
blob: ab1280e5442244dac8fb9e07717ba4d0b2bb4116 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
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:

Return to:

Send suggestions and report system problems to the System administrator.