summaryrefslogtreecommitdiff
path: root/MIBS/bluecatnetworks/BCN-TFTP-MIB
blob: 4a97005fdfcdf334400a5960cfa24799522e6383 (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
-- Copyright 2017 BlueCat Networks. All rights reserved.
-- *****************************************************************
-- BCN-TFTP-MIB.mib:  BlueCat Networks TFTP services
--
--
-- December 2010, Fabian Ischia
--
-- All rights reserved.
-- 
-- *****************************************************************

BCN-TFTP-MIB DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-IDENTITY,
    OBJECT-TYPE, Unsigned32
        FROM SNMPv2-SMI
    DisplayString, TruthValue
        FROM SNMPv2-TC
    OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
        FROM SNMPv2-CONF
    BcnAlarmSeverity
        FROM BCN-TC-MIB
    bcnServices
        FROM BCN-SMI-MIB;

bcnTftpMIB MODULE-IDENTITY
    LAST-UPDATED	"201011301200Z"
    ORGANIZATION	"BlueCat Networks"
    CONTACT-INFO
        "BlueCat Networks. Customer Care.

        North America
        Call: +1.866.491.2228
        Europe
        Call: +44.8081.011.306
        Other
        Call: +1.416.646.8433
        
        Email: support@bluecatnetworks.com"
    DESCRIPTION
        "This module provides status as well as statistical information
        about the TFTP service."
    REVISION "201011301200Z"
    DESCRIPTION
        "Initial version of this MIB module."
    ::= { bcnTftp 1 }

bcnTftp OBJECT IDENTIFIER  ::= { bcnServices 3 }

-- Organization

bcnTftpObjects OBJECT IDENTIFIER 
    ::= { bcnTftp 2 }

bcnTftpNotification OBJECT IDENTIFIER 
    ::= { bcnTftp 3 }

bcnTftpConformance OBJECT IDENTIFIER 
    ::= { bcnTftp 4 }


-- Data objects

bcnTftpServiceStatus OBJECT-IDENTITY
    STATUS current
    DESCRIPTION
        "General state of the TFTP Service."
    ::= { bcnTftpObjects 1 }

bcnTftpSerOperState OBJECT-TYPE
    SYNTAX      INTEGER {
      running(1),
      notRunning(2),
      starting(3),
      stopping(4),
      fault(5)
    }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Operational state of the Service. The possible states are:
        running(1)    The service is running normally.
        notRunning(2) The service is stopped either intentionally (i.e.:
                      the service is not supposed to run on this node) or
                      unintentionally (a problem has occurred).
        starting(3)   The service is in the process of starting, either
                      for the first time of after an event occurred.
        stopping(4)   The service is in the process of stopping. Stopping
                      a service might be necessary after a configuration
                      change.
        fault(5)      An error has been detected and the state is undefined.
        "
    ::= { bcnTftpServiceStatus 1 }

bcnTftpServiceStatistics OBJECT-IDENTITY
    STATUS current
    DESCRIPTION
        "TFTP statistics objects container"
    ::= { bcnTftpObjects 2 }

bcnTftpSerDirs OBJECT-TYPE
    SYNTAX          Unsigned32
    MAX-ACCESS      read-only
    STATUS          current
    DESCRIPTION
        "Number of directories on the TFTP subtree." 
    ::= { bcnTftpServiceStatistics 1 }

bcnTftpSerFiles OBJECT-TYPE
    SYNTAX          Unsigned32
    MAX-ACCESS      read-only
    STATUS          current
    DESCRIPTION
        "Number of files on the TFTP subtree." 
    ::= { bcnTftpServiceStatistics 2 }

bcnTftpSerFilesSize OBJECT-TYPE
    SYNTAX          Unsigned32
	UNITS			"KBytes"
    MAX-ACCESS      read-only
    STATUS          current
    DESCRIPTION
        "The sum of the size of all files in kilobytes.
		Notice that this value does not include the actual space on disk
        based on disk geometry allocation or space used up by directories." 
    ::= { bcnTftpServiceStatistics 3 }

bcnTftpSerPartialList OBJECT-TYPE
    SYNTAX          TruthValue
    MAX-ACCESS      read-only
    STATUS          current
    DESCRIPTION
        "The TFTP information is partial.
		 The value 'false' indicates that the information provided for
         directories, files and size is complete. The entire TFTP tree
         was explored.
         The value 'true' indicates that some problem prevented the
         exploration of the entire TFTP tree, the information provided
         is therefore partially correct." 
    ::= { bcnTftpServiceStatistics 4 }

-- Notification definitions

bcnTftpNotificationEvents OBJECT IDENTIFIER 
    ::= { bcnTftpNotification 0 }

bcnTftpNotificationData OBJECT IDENTIFIER 
    ::= { bcnTftpNotification 1 }

-- Notification data

bcnTftpAlarmSeverity OBJECT-TYPE
    SYNTAX          BcnAlarmSeverity
    MAX-ACCESS      accessible-for-notify
    STATUS          current
    DESCRIPTION
        "Severity classification for the alarm."
    ::= { bcnTftpNotificationData 1 }

bcnTftpAlarmInfo OBJECT-TYPE
    SYNTAX          DisplayString
    MAX-ACCESS      accessible-for-notify
    STATUS          current
    DESCRIPTION
        "Descriptive information about the alarm event."
    ::= { bcnTftpNotificationData 2 }


-- Notification events

bcnTftpAlarmNotif NOTIFICATION-TYPE
    OBJECTS {   
                bcnTftpSerOperState,
                bcnTftpAlarmSeverity,
                bcnTftpAlarmInfo
            }
    STATUS          current
    DESCRIPTION
        "A bcnTftpAlarmNotif signifies that the TFTP service has transitioned
        state or a particular event has been detected on the service."
   ::= { bcnTftpNotificationEvents 1 }

-- Conformance

bcnTftpServiceCompliances OBJECT IDENTIFIER 
    ::= { bcnTftpConformance 1 }

bcnTftpServiceGroups OBJECT IDENTIFIER 
    ::= { bcnTftpConformance 2 }


bcnTftpServiceStatusGroup OBJECT-GROUP
    OBJECTS { 
          bcnTftpSerOperState, bcnTftpSerDirs, bcnTftpSerFiles,
          bcnTftpSerFilesSize, bcnTftpSerPartialList
    }
    STATUS current
    DESCRIPTION "Status conformance."
    ::= { bcnTftpServiceGroups 1 }


bcnTftpNotificationEventGroup NOTIFICATION-GROUP
    NOTIFICATIONS { 
          bcnTftpAlarmNotif
    }
    STATUS current
    DESCRIPTION "Server statistics conformance."
    ::= { bcnTftpServiceGroups 2 }

bcnTftpNotificationDataGroup OBJECT-GROUP
    OBJECTS { 
          bcnTftpAlarmSeverity, 
          bcnTftpAlarmInfo
    }
    STATUS current
    DESCRIPTION "Server statistics conformance."
    ::= { bcnTftpServiceGroups 3 }


bcnTftpStatusCompliance MODULE-COMPLIANCE
    STATUS current
    DESCRIPTION "Basic conformance"
    MODULE -- This module
    MANDATORY-GROUPS {
        bcnTftpServiceStatusGroup,
        bcnTftpNotificationEventGroup, 
        bcnTftpNotificationDataGroup }
    ::= {bcnTftpServiceCompliances 1 }


END