summaryrefslogtreecommitdiff
path: root/MIBS/opengear/OG-HOST-MIB
blob: e46ea9e28621474588a7e381ddea96bb96a950a3 (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
-- =====================================================================
-- == OG-HOST-MIB:                                             ==
-- == Opengear user connect notification Management Information Base  ==
-- ==                                                                 ==
-- == (c) Copyright 2005-2014 Opengear Inc.                           ==
-- =====================================================================

OG-HOST-MIB DEFINITIONS ::= BEGIN

IMPORTS
	ogMgmt
		FROM OG-SMI-MIB
	MODULE-IDENTITY, NOTIFICATION-TYPE, OBJECT-TYPE, Integer32
		FROM SNMPv2-SMI
	MODULE-COMPLIANCE, NOTIFICATION-GROUP, OBJECT-GROUP
		FROM SNMPv2-CONF
	DisplayString
		FROM SNMPv2-TC;

ogHostMib MODULE-IDENTITY
	LAST-UPDATED "201308110000Z"
	ORGANIZATION "Opengear Inc."
	CONTACT-INFO
		"Opengear Inc.
		630 West 9560 South,
		 Sandy, UT 84070
		 support@opengear.com"
	DESCRIPTION
		 "Opengear host connection MIB"
	REVISION "201308110000Z"
	DESCRIPTION
		"Renamed from OPENGEAR-HOST-MIB to OG-HOST-MIB to
		fix naming discrepancy."
	REVISION "201003221127Z"
	DESCRIPTION
		"Syntax corrections by Opengear Inc."
	REVISION "200811271140Z"
	DESCRIPTION
		"Initial version."
        ::= { ogMgmt 14 }

ogHostMibObjects OBJECT IDENTIFIER ::= { ogHostMib 10 }

-- Subgroups

oghostEvent OBJECT IDENTIFIER ::= { ogHostMibObjects 1 }

oghostEventTable OBJECT-TYPE
        SYNTAX     SEQUENCE OF OgHostEventEntry
        MAX-ACCESS not-accessible
        STATUS     current
        DESCRIPTION
                "A table of sensor status events generated by this device."
        ::= { oghostEvent 1 }

oghostEventEntry OBJECT-TYPE
        SYNTAX     OgHostEventEntry
        MAX-ACCESS not-accessible
        STATUS     current
        DESCRIPTION
                "A console connection event occuring at this
                 device. Each entry is indexed by a message index."
        INDEX   { oghostEventIndex }
        ::= { oghostEventTable 1 }

OgHostEventEntry ::=
    SEQUENCE {
        oghostEventIndex       Integer32,
	oghostEventUsername    DisplayString,
	oghostEventType        DisplayString,
	oghostEventAddress     DisplayString,
	oghostEventDescription DisplayString,
	oghostEventProtocol    DisplayString,
	oghostEventPort        Integer32
    }

oghostEventIndex OBJECT-TYPE
        SYNTAX     Integer32 (1..2147483647)
        MAX-ACCESS not-accessible
        STATUS     current
        DESCRIPTION
                "A monotonically increasing integer for the sole
                 purpose of indexing messages.  When it reaches the
                 maximum value the agent flushes the table and wraps
                 the value back to 1."
        ::= { oghostEventEntry 1 }

oghostEventUsername OBJECT-TYPE
	SYNTAX DisplayString
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "The user pertaining to the connection event"
	::= { oghostEventEntry 10 }

oghostEventType OBJECT-TYPE
	SYNTAX DisplayString
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
	        "The type of connection event"
	::= { oghostEventEntry 11 }

oghostEventAddress OBJECT-TYPE
	SYNTAX DisplayString
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
		"The address of the host to which this connection applies."
	::= { oghostEventEntry 12 }

oghostEventDescription OBJECT-TYPE
	SYNTAX DisplayString
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
		"The description of the host to which this connection applies."
	::= { oghostEventEntry 13 }

oghostEventProtocol OBJECT-TYPE
	SYNTAX DisplayString
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
		"The internet protocl to which this connection applies."
	::= { oghostEventEntry 14 }

oghostEventPort OBJECT-TYPE
	SYNTAX Integer32
	MAX-ACCESS read-only
	STATUS current
	DESCRIPTION
		"The applicable port number of the host."
	::= { oghostEventEntry 15 }

ogHostMibNotificationPrefix    OBJECT IDENTIFIER ::= {
	ogHostMib 2
}

oghostMibNotifications         OBJECT IDENTIFIER ::= {
	ogHostMibNotificationPrefix 0
}

oghostEventOccurred NOTIFICATION-TYPE
	OBJECTS {
		oghostEventUsername,
		oghostEventType,
		oghostEventAddress,
		oghostEventDescription,
		oghostEventProtocol,
		oghostEventPort }
	STATUS current
	DESCRIPTION
		"The notification sent when a user connection event occurs"
	::= { oghostMibNotifications 200 }

-- conformance information

ogHostMibConformance OBJECT IDENTIFIER ::= { ogHostMib 3 }
ogHostMibCompliances OBJECT IDENTIFIER ::= { ogHostMibConformance 1 }
ogHostMibGroups      OBJECT IDENTIFIER ::= { ogHostMibConformance 2 }

-- compliance statements

ogHostMibCompliance MODULE-COMPLIANCE
       STATUS  current
       DESCRIPTION
               "The compliance statement for entities which implement
                the Opengear Host MIB."
       MODULE  -- this module
               MANDATORY-GROUPS { ogHostMibGroup }

       GROUP oghostNotificationsGroup
       DESCRIPTION
           "The implementation of this group is
           mandatory for those systems where
           sensor notification is supported."

       ::= { ogHostMibCompliances 1 }

-- Units of conformance

ogHostMibGroup OBJECT-GROUP
       OBJECTS { oghostEventUsername,
	         oghostEventType,
		 oghostEventAddress,
		 oghostEventDescription,
		 oghostEventProtocol,
		 oghostEventPort }
       STATUS  current
       DESCRIPTION
               "A collection of objects providing the sensor MIB capability."
      ::= { ogHostMibGroups 1 }

oghostNotificationsGroup NOTIFICATION-GROUP
       NOTIFICATIONS {
               oghostEventOccurred
       }
       STATUS  current
       DESCRIPTION
               "A collection of notification(s) for sensor system."
       ::= { ogHostMibGroups 2 }

END