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
|
-- ----------------------------------------------------------------------------
--
-- SIAE MICROELETTRONICA s.p.a.
--
-- Via Michelangelo Buonarroti, 21
-- 20093 - Cologno Monzese
-- Milano
-- ITALY
--
-- ----------------------------------------------------------------------------
-- ----------------------------------------------------------------------------
SIAE-CLOG-MIB
DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE,
Unsigned32
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC
siaeMib
FROM SIAE-TREE-MIB
alarmTrap
FROM SIAE-ALARM-MIB
accessControlLoginIpAddress
FROM SIAE-USER-MIB
equipIpSnmpAgentAddress
FROM SIAE-EQUIP-MIB;
commandLog MODULE-IDENTITY
LAST-UPDATED "201503230000Z"
ORGANIZATION "SIAE MICROELETTRONICA spa"
CONTACT-INFO
"SIAE MICROELETTONICA s.p.a.
Via Michelangelo Buonarroti, 21
20093 - Cologno Monzese
Milano - ITALY
Phone : +39-02-27325-1
E-mail: help@siaemic.com
"
DESCRIPTION
"Recorder of the commands entered from SNMP/CLI/WEB
"
REVISION "201503230000Z"
DESCRIPTION
"Removed alarmTrapNumber from commandLogFtpStatusTrap and IMPORTS.
"
REVISION "201406230000Z"
DESCRIPTION
"Fixed IMPORTS of accessControlLoginIpAddress
"
REVISION "201402030000Z"
DESCRIPTION
"Improved description of commandLogMibVersion
"
REVISION "201312180000Z"
DESCRIPTION
"Initial version 01.00.00
"
::= { siaeMib 40 }
----------------------------------------------------------------------------------
-- object identifier inside the module
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
-- commandLog GROUP
----------------------------------------------------------------------------------
--
-- This group is used to manage the command log.
--
----------------------------------------------------------------------------------
------ Beginning --------------------------------------------------------------
commandLogMibVersion OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Numerical version of this module.
The string version of this MIB have the following format:
XX.YY.ZZ
so, for example, the value 1 should be interpreted as 00.00.01
and the value 10001 should be interpreted as 01.00.01."
::= {commandLog 1}
--
------- The following objects are used to map the "action"
------- (delete log record or transfer the log using FTP):
--
commandLogActionRequest OBJECT-TYPE
SYNTAX INTEGER {
notActive (0),
delete (1),
read (2)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This leaf is used to delete record or to read it by FTP."
::= {commandLog 2}
commandLogFtpFile OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This leaf is reserved to file path where to transfer data."
::= {commandLog 3}
--
------- The following objects are used to filter
------- commands when an action (read or delete) is required
--
commandLogMgmtInterfaceFilter OBJECT-TYPE
SYNTAX BITS {
cli(0), -- local CLIe
web(1), -- WEB interface
snmp(2), -- SNMP management
remoteCli(3) -- CLI on SSH, TELNET ...
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Select which items are to be read or deleted
according to interface used to enter the registered command.
Bits set to 1 select the relative interface, bits set to 0
filter the relative interface"
::= {commandLog 4}
commandLogStartTimeFilter OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The events with EventTime greater than this object are
read/delete from the log.
Null value means no filter."
::= {commandLog 5}
commandLogEndTimeFilter OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The events with EventTime less than this object are read/delete
from the log.
Null value means no filter."
::= {commandLog 6}
commandLogUserNameFilter OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..31))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Name of the user that sent the request for the filter to manage
commands in the record. ** value means no filter."
::= {commandLog 7}
commandLogSourceAddressFilter OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..16))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"IP address of source machine of filter to manage
commands in the record. 0 value means no filter."
::= {commandLog 8}
--
------- The following objects are used to manage
------- action in the FTP transfer
--
commandLogFtpStatus OBJECT-TYPE
SYNTAX INTEGER {
transferring (1),
completed (2),
interrupted (3),
empty (4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This leaf is used for the status of transfer."
::= {commandLog 9}
commandLogFtpStatusTrapNotification OBJECT-TYPE
SYNTAX INTEGER {
trapDisable (1),
trapEnable (2),
trapEnableWithACK (3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Enables/disables the trap generation on FTP tranfer operation."
::= {commandLog 10}
commandLogLastCommandTime OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Describes the time, in seconds since 01/01/1970, of the last
SNMP command. The commands saves must be from a LOM. Some type
of commands, as login action or timestamp set, are skipped."
::= {commandLog 11}
commandLogLastCommandUser OBJECT-TYPE
SYNTAX DisplayString (SIZE(0..31))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Describes the user that have made of the last SNMP command.
The commands saves must be from a LOM. Some type
of commands, as login action or timestamp set, are skipped."
::= {commandLog 12}
-----------------------
--
-- The commandLog Group generates the following TRAP:
--
-----------------------
commandLogFtpStatusTrap NOTIFICATION-TYPE
OBJECTS {equipIpSnmpAgentAddress, commandLogFtpStatus, accessControlLoginIpAddress}
STATUS current
DESCRIPTION
"This event is generated when the status of FTP transfer is changed.
The data passed with the event are:
1) equipIpSnmpAgentAddress
2) commandLogFtpStatus
3) accessControlLoginIpAddress"
::= {alarmTrap 4001}
------ End group -----------------------------------------------------------------
END
|