1-- *****************************************************************
2-- CISCO-TELNET-SERVER-MIB.my
3--
4-- MIB file for telnet application server.
5-- May 2007, Zaryab Munir.
6--
7-- Copyright (c) 2007 by cisco Systems Inc.
8-- All rights reserved.
9--
10-- ****************************************************************
11
12CISCO-TELNET-SERVER-MIB DEFINITIONS ::= BEGIN
13
14IMPORTS
15    MODULE-IDENTITY,
16    OBJECT-TYPE,
17    NOTIFICATION-TYPE,
18    Unsigned32
19        FROM SNMPv2-SMI
20    MODULE-COMPLIANCE,
21    NOTIFICATION-GROUP,
22    OBJECT-GROUP
23        FROM SNMPv2-CONF
24    SnmpAdminString
25        FROM SNMP-FRAMEWORK-MIB
26    InetAddressType,
27    InetAddress,
28    InetPortNumber
29        FROM INET-ADDRESS-MIB
30    TruthValue
31        FROM SNMPv2-TC
32    ciscoMgmt
33        FROM CISCO-SMI;
34
35
36ciscoTelnetServerMIB MODULE-IDENTITY
37    LAST-UPDATED    "200705080000Z"
38    ORGANIZATION    "Cisco Systems, Inc."
39    CONTACT-INFO
40            "Cisco Systems
41            Postal: 170 W Tasman Drive
42            San Jose, CA  95134
43            USA
44            Tel: +1 800 553 -NETS
45            E-mail: cs-san@cisco.com,
46                    cs-lan-switch-snmp@cisco.com"
47    DESCRIPTION
48        "MIB module for displaying and configuring
49        Telnet related features in a device.
50        Telnet is a program to log into another computer over
51        a network, to execute commands in a remote machine."
52    REVISION        "200705080000Z"
53    DESCRIPTION
54        "Initial version of this MIB module."
55    ::= { ciscoMgmt 630 }
56
57
58ciscoTelnetServerMIBNotifs  OBJECT IDENTIFIER
59    ::= { ciscoTelnetServerMIB 0 }
60
61ciscoTelnetServerMIBObjects  OBJECT IDENTIFIER
62    ::= { ciscoTelnetServerMIB 1 }
63
64ciscoTelnetServerMIBConform  OBJECT IDENTIFIER
65    ::= { ciscoTelnetServerMIB 2 }
66
67-- Conformance
68
69ciscoTelnetServerMIBCompliances  OBJECT IDENTIFIER
70    ::= { ciscoTelnetServerMIBConform 1 }
71
72ciscoTelnetServerConfigObjects  OBJECT IDENTIFIER
73    ::= { ciscoTelnetServerMIBObjects 1 }
74
75ciscoTelnetServerStatusObjects  OBJECT IDENTIFIER
76    ::= { ciscoTelnetServerMIBObjects 2 }
77
78
79ctsTelnetActivation OBJECT-TYPE
80    SYNTAX          TruthValue
81    MAX-ACCESS      read-write
82    STATUS          current
83    DESCRIPTION
84        "This object specifies whether the Telnet access service on
85        the device is enabled."
86    ::= { ciscoTelnetServerConfigObjects 1 }
87
88ctsSessionEndedNotifEnable OBJECT-TYPE
89    SYNTAX          TruthValue
90    MAX-ACCESS      read-write
91    STATUS          current
92    DESCRIPTION
93        "This object controls whether the system produces
94        ctsSessionEnded notifications. A 'false' value will prevent
95        ctsSessionEnded notifications from being generated by this
96        system."
97    ::= { ciscoTelnetServerConfigObjects 2 }
98
99ctsSessionStartedNotifEnable OBJECT-TYPE
100    SYNTAX          TruthValue
101    MAX-ACCESS      read-write
102    STATUS          current
103    DESCRIPTION
104        "This object controls whether the system produces
105        ctsSessionStarted notifications. A 'false' value will prevent
106        ctsSessionStarted notifications from being generated by this
107        system."
108    ::= { ciscoTelnetServerConfigObjects 3 }
109
110ctsSessionDeniedNotifEnable OBJECT-TYPE
111    SYNTAX          TruthValue
112    MAX-ACCESS      read-write
113    STATUS          current
114    DESCRIPTION
115        "This object controls whether the system produces
116        ctsSessionDenied notifications. A 'false' value will prevent
117        ctsSessionDenied notifications from being generated by this
118        system."
119    ::= { ciscoTelnetServerConfigObjects 4 }
120
121ctsSessionFailureNotifEnable OBJECT-TYPE
122    SYNTAX          TruthValue
123    MAX-ACCESS      read-only
124    STATUS          current
125    DESCRIPTION
126        "This object controls whether the system produces
127        ctsSessionLoginFailure notifications. A 'false' value will
128        prevent ctsSessionLoginFailure notifications from being
129        generated by this system."
130    ::= { ciscoTelnetServerConfigObjects 5 }
131
132ctsSessionsTable OBJECT-TYPE
133    SYNTAX          SEQUENCE OF CtsSessionsEntry
134    MAX-ACCESS      not-accessible
135    STATUS          current
136    DESCRIPTION
137        "This table provides data for each telnet session on an entity
138        capable of running telnet server."
139    ::= { ciscoTelnetServerStatusObjects 1 }
140
141ctsSessionsEntry OBJECT-TYPE
142    SYNTAX          CtsSessionsEntry
143    MAX-ACCESS      not-accessible
144    STATUS          current
145    DESCRIPTION
146        "An entry (conceptual row) in the ctsSessionsTable.
147        This entry lists the data for the telnet session on the entity
148        running the telnet server.
149
150        An entry in the ctsSessionTable, that provides
151        detailed information about all the existing telnet sessions on
152        the device.
153
154        An entry will be created for every telnet session established
155        on the device. The entry will be removed upon termination
156        of the telnet session."
157    INDEX           { ctsSessionID }
158    ::= { ctsSessionsTable 1 }
159
160CtsSessionsEntry ::= SEQUENCE {
161        ctsSessionID                Unsigned32,
162        ctsSessionDescription       SnmpAdminString,
163        ctsSessionClientAddressType InetAddressType,
164        ctsSessionsClientAddress    InetAddress,
165        ctsSessionPID               Unsigned32,
166        ctsSessionUserID            SnmpAdminString,
167        ctsSessionTcpPort           InetPortNumber
168}
169
170ctsSessionID OBJECT-TYPE
171    SYNTAX          Unsigned32
172    MAX-ACCESS      not-accessible
173    STATUS          current
174    DESCRIPTION
175        "An arbitrary index that uniquely identifies a Telnet Session."
176    ::= { ctsSessionsEntry 1 }
177
178ctsSessionDescription OBJECT-TYPE
179    SYNTAX          SnmpAdminString
180    MAX-ACCESS      read-only
181    STATUS          current
182    DESCRIPTION
183        "Human readable description about the session."
184    ::= { ctsSessionsEntry 2 }
185
186ctsSessionClientAddressType OBJECT-TYPE
187    SYNTAX          InetAddressType
188    MAX-ACCESS      read-only
189    STATUS          current
190    DESCRIPTION
191        "The type of Internet address of the client that requested this
192        session."
193    ::= { ctsSessionsEntry 3 }
194
195ctsSessionsClientAddress OBJECT-TYPE
196    SYNTAX          InetAddress
197    MAX-ACCESS      read-only
198    STATUS          current
199    DESCRIPTION
200        "The Internet address of the client that requested this session.
201        The type of this address is determined by the value of the
202        ctsSessionClientAddressType object."
203    ::= { ctsSessionsEntry 4 }
204
205ctsSessionPID OBJECT-TYPE
206    SYNTAX          Unsigned32
207    MAX-ACCESS      read-only
208    STATUS          current
209    DESCRIPTION
210        "The object indicates the process ID of the process
211        serving this telnet session on the device."
212    ::= { ctsSessionsEntry 5 }
213
214ctsSessionUserID OBJECT-TYPE
215    SYNTAX          SnmpAdminString
216    MAX-ACCESS      read-only
217    STATUS          current
218    DESCRIPTION
219        "The object indicates user name associated with this
220        telnet session."
221    ::= { ctsSessionsEntry 6 }
222
223ctsSessionTcpPort OBJECT-TYPE
224    SYNTAX          InetPortNumber
225    MAX-ACCESS      read-only
226    STATUS          current
227    DESCRIPTION
228        "The TCP source port number of the remote client."
229    ::= { ctsSessionsEntry 7 }
230
231
232
233ctsSessionEnded NOTIFICATION-TYPE
234    OBJECTS         {
235                        ctsSessionClientAddressType,
236                        ctsSessionsClientAddress,
237                        ctsSessionUserID,
238                        ctsSessionTcpPort
239                    }
240    STATUS          current
241    DESCRIPTION
242        "This notification signifies that the agent entity has detected
243        end of a telnet session."
244   ::= { ciscoTelnetServerMIBNotifs 1 }
245
246ctsSessionStarted NOTIFICATION-TYPE
247    OBJECTS         {
248                        ctsSessionClientAddressType,
249                        ctsSessionsClientAddress,
250                        ctsSessionUserID
251                    }
252    STATUS          current
253    DESCRIPTION
254        "This notification is sent when the agent entity has accepted a
255        new telnet session."
256   ::= { ciscoTelnetServerMIBNotifs 2 }
257
258ctsSessionDenied NOTIFICATION-TYPE
259    OBJECTS         {
260                        ctsSessionClientAddressType,
261                        ctsSessionsClientAddress,
262                        ctsSessionTcpPort
263                    }
264    STATUS          current
265    DESCRIPTION
266        "This notification signifies that the agent has refused a telnet
267        session."
268   ::= { ciscoTelnetServerMIBNotifs 3 }
269
270ctsSessionLoginFailure NOTIFICATION-TYPE
271    OBJECTS         {
272                        ctsSessionClientAddressType,
273                        ctsSessionsClientAddress,
274                        ctsSessionUserID,
275                        ctsSessionTcpPort
276                    }
277    STATUS          current
278    DESCRIPTION
279        "This notification is sent when the agent entity has detected
280        attempt to login with wrong credentials."
281   ::= { ciscoTelnetServerMIBNotifs 4 }
282ciscoTelnetServerMIBGroups  OBJECT IDENTIFIER
283    ::= { ciscoTelnetServerMIBConform 2 }
284
285
286ciscoTelnetServerMIBCompliance MODULE-COMPLIANCE
287    STATUS          current
288    DESCRIPTION
289        "The compliance statement for SNMP Agents which implement this
290        MIB."
291    MODULE          -- this module
292    MANDATORY-GROUPS {
293                        ctsMIBSessionsObjectGroup,
294                        ctsMIBNotificationGroup
295                    }
296
297    GROUP           ctsSessionNotifsControlGroup
298    DESCRIPTION
299        "This group is optional."
300    ::= { ciscoTelnetServerMIBCompliances 1 }
301
302-- Units of Conformance
303
304ctsMIBSessionsObjectGroup OBJECT-GROUP
305    OBJECTS         {
306                        ctsSessionDescription,
307                        ctsSessionClientAddressType,
308                        ctsSessionsClientAddress,
309                        ctsTelnetActivation,
310                        ctsSessionPID,
311                        ctsSessionUserID,
312                        ctsSessionTcpPort
313                    }
314    STATUS          current
315    DESCRIPTION
316        "This group of objects maintains informative data for each
317        Telnet session on a device that runs Telnet Server."
318    ::= { ciscoTelnetServerMIBGroups 1 }
319
320ctsMIBNotificationGroup NOTIFICATION-GROUP
321   NOTIFICATIONS    {
322                        ctsSessionEnded,
323                        ctsSessionStarted,
324                        ctsSessionDenied,
325                        ctsSessionLoginFailure
326                    }
327    STATUS          current
328    DESCRIPTION
329        "This group contains notifications for this MIB."
330    ::= { ciscoTelnetServerMIBGroups 2 }
331
332ctsSessionNotifsControlGroup OBJECT-GROUP
333    OBJECTS         {
334                        ctsSessionEndedNotifEnable,
335                        ctsSessionStartedNotifEnable,
336                        ctsSessionDeniedNotifEnable,
337                        ctsSessionFailureNotifEnable
338                    }
339    STATUS          current
340    DESCRIPTION
341        "A collection of objects providing configuration information
342        applicable to all session notifications."
343    ::= { ciscoTelnetServerMIBGroups 3 }
344
345END
346
347
348
349