telemetry-snmp 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/rspec.yml +44 -0
- data/.github/workflows/rubocop.yml +28 -0
- data/.github/workflows/sourcehawk-scan.yml +20 -0
- data/.gitignore +14 -0
- data/.rspec +4 -0
- data/.rubocop.yml +26 -0
- data/CHANGELOG.md +4 -0
- data/CODE_OF_CONDUCT.md +75 -0
- data/CONTRIBUTING.md +54 -0
- data/Gemfile +10 -0
- data/INDIVIDUAL_CONTRIBUTOR_LICENSE.md +30 -0
- data/LICENSE +201 -0
- data/NOTICE.txt +9 -0
- data/README.md +54 -0
- data/attribution.txt +1 -0
- data/config.ru +15 -0
- data/exe/snmp_collector +55 -0
- data/lib/telemetry/snmp.rb +23 -0
- data/lib/telemetry/snmp/api.rb +55 -0
- data/lib/telemetry/snmp/auth.rb +54 -0
- data/lib/telemetry/snmp/auth/defaults.rb +41 -0
- data/lib/telemetry/snmp/client.rb +104 -0
- data/lib/telemetry/snmp/controllers/device_creds.rb +105 -0
- data/lib/telemetry/snmp/controllers/devices.rb +94 -0
- data/lib/telemetry/snmp/controllers/oid_groups.rb +71 -0
- data/lib/telemetry/snmp/controllers/oids.rb +80 -0
- data/lib/telemetry/snmp/controllers/users.rb +81 -0
- data/lib/telemetry/snmp/controllers/walks.rb +89 -0
- data/lib/telemetry/snmp/data.rb +69 -0
- data/lib/telemetry/snmp/data/default_opts.rb +73 -0
- data/lib/telemetry/snmp/data/migrations/001_device_creds.rb +19 -0
- data/lib/telemetry/snmp/data/migrations/002_create_devices_table.rb +31 -0
- data/lib/telemetry/snmp/data/migrations/003_create_oids_tables.rb +16 -0
- data/lib/telemetry/snmp/data/migrations/004_create_oid_groups.rb +15 -0
- data/lib/telemetry/snmp/data/migrations/005_create_oids_oid_groups.rb +17 -0
- data/lib/telemetry/snmp/data/migrations/006_device_to_oid_group.rb +15 -0
- data/lib/telemetry/snmp/data/migrations/007_create_users.rb +20 -0
- data/lib/telemetry/snmp/data/migrations/008_create_walks_table.rb +14 -0
- data/lib/telemetry/snmp/data/migrations/009_create_tag_name_column.rb +7 -0
- data/lib/telemetry/snmp/data/migrations/010_create_user_audit_table.rb +18 -0
- data/lib/telemetry/snmp/data/models/device.rb +11 -0
- data/lib/telemetry/snmp/data/models/device_cred.rb +11 -0
- data/lib/telemetry/snmp/data/models/oid.rb +10 -0
- data/lib/telemetry/snmp/data/models/oid_group.rb +10 -0
- data/lib/telemetry/snmp/data/models/oid_oid_groups.rb +10 -0
- data/lib/telemetry/snmp/data/models/oid_walk.rb +10 -0
- data/lib/telemetry/snmp/data/models/user.rb +10 -0
- data/lib/telemetry/snmp/data/models/user_audit_log.rb +19 -0
- data/lib/telemetry/snmp/mibs/AGENTX-MIB.txt +527 -0
- data/lib/telemetry/snmp/mibs/AIRPORT-BASESTATION-3-MIB.txt +461 -0
- data/lib/telemetry/snmp/mibs/BRIDGE-MIB.txt +1472 -0
- data/lib/telemetry/snmp/mibs/DISMAN-EVENT-MIB.txt +1882 -0
- data/lib/telemetry/snmp/mibs/DISMAN-SCHEDULE-MIB.txt +699 -0
- data/lib/telemetry/snmp/mibs/DISMAN-SCRIPT-MIB.txt +1764 -0
- data/lib/telemetry/snmp/mibs/EtherLike-MIB.txt +1862 -0
- data/lib/telemetry/snmp/mibs/HCNUM-TC.txt +118 -0
- data/lib/telemetry/snmp/mibs/HOST-RESOURCES-MIB.txt +1540 -0
- data/lib/telemetry/snmp/mibs/HOST-RESOURCES-TYPES.txt +389 -0
- data/lib/telemetry/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt +123 -0
- data/lib/telemetry/snmp/mibs/IANA-LANGUAGE-MIB.txt +123 -0
- data/lib/telemetry/snmp/mibs/IANA-RTPROTO-MIB.txt +91 -0
- data/lib/telemetry/snmp/mibs/IANAifType-MIB.txt +619 -0
- data/lib/telemetry/snmp/mibs/IF-INVERTED-STACK-MIB.txt +149 -0
- data/lib/telemetry/snmp/mibs/IF-MIB.txt +1814 -0
- data/lib/telemetry/snmp/mibs/INET-ADDRESS-MIB.txt +402 -0
- data/lib/telemetry/snmp/mibs/IP-FORWARD-MIB.txt +1277 -0
- data/lib/telemetry/snmp/mibs/IP-MIB.txt +4993 -0
- data/lib/telemetry/snmp/mibs/IPV6-FLOW-LABEL-MIB.txt +58 -0
- data/lib/telemetry/snmp/mibs/IPV6-ICMP-MIB.txt +529 -0
- data/lib/telemetry/snmp/mibs/IPV6-MIB.txt +1443 -0
- data/lib/telemetry/snmp/mibs/IPV6-TC.txt +67 -0
- data/lib/telemetry/snmp/mibs/IPV6-TCP-MIB.txt +211 -0
- data/lib/telemetry/snmp/mibs/IPV6-UDP-MIB.txt +141 -0
- data/lib/telemetry/snmp/mibs/NET-SNMP-AGENT-MIB.txt +554 -0
- data/lib/telemetry/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt +285 -0
- data/lib/telemetry/snmp/mibs/NET-SNMP-EXTEND-MIB.txt +325 -0
- data/lib/telemetry/snmp/mibs/NET-SNMP-MIB.txt +67 -0
- data/lib/telemetry/snmp/mibs/NET-SNMP-PASS-MIB.txt +124 -0
- data/lib/telemetry/snmp/mibs/NET-SNMP-TC.txt +128 -0
- data/lib/telemetry/snmp/mibs/NET-SNMP-VACM-MIB.txt +154 -0
- data/lib/telemetry/snmp/mibs/NOTIFICATION-LOG-MIB.txt +753 -0
- data/lib/telemetry/snmp/mibs/PAN-COMMON-MIB.md5 +1 -0
- data/lib/telemetry/snmp/mibs/PAN-COMMON-MIB.my +2293 -0
- data/lib/telemetry/snmp/mibs/PAN-ENTITY-EXT-MIB.md5 +1 -0
- data/lib/telemetry/snmp/mibs/PAN-ENTITY-EXT-MIB.my +293 -0
- data/lib/telemetry/snmp/mibs/PAN-GLOBAL-REG-MIB.md5 +1 -0
- data/lib/telemetry/snmp/mibs/PAN-GLOBAL-REG-MIB.my +84 -0
- data/lib/telemetry/snmp/mibs/PAN-GLOBAL-TC-MIB.md5 +1 -0
- data/lib/telemetry/snmp/mibs/PAN-GLOBAL-TC-MIB.my +68 -0
- data/lib/telemetry/snmp/mibs/PAN-LC-MIB.md5 +1 -0
- data/lib/telemetry/snmp/mibs/PAN-LC-MIB.my +204 -0
- data/lib/telemetry/snmp/mibs/PAN-PRODUCT-MIB.md5 +1 -0
- data/lib/telemetry/snmp/mibs/PAN-PRODUCT-MIB.my +305 -0
- data/lib/telemetry/snmp/mibs/PAN-TRAPS.md5 +1 -0
- data/lib/telemetry/snmp/mibs/PAN-TRAPS.my +7809 -0
- data/lib/telemetry/snmp/mibs/RFC-1215.txt +38 -0
- data/lib/telemetry/snmp/mibs/RFC1155-SMI.txt +119 -0
- data/lib/telemetry/snmp/mibs/RFC1213-MIB.txt +2613 -0
- data/lib/telemetry/snmp/mibs/RMON-MIB.txt +3980 -0
- data/lib/telemetry/snmp/mibs/SCTP-MIB.txt +1342 -0
- data/lib/telemetry/snmp/mibs/SMUX-MIB.txt +160 -0
- data/lib/telemetry/snmp/mibs/SNMP-COMMUNITY-MIB.txt +429 -0
- data/lib/telemetry/snmp/mibs/SNMP-FRAMEWORK-MIB.txt +526 -0
- data/lib/telemetry/snmp/mibs/SNMP-MPD-MIB.txt +145 -0
- data/lib/telemetry/snmp/mibs/SNMP-NOTIFICATION-MIB.txt +589 -0
- data/lib/telemetry/snmp/mibs/SNMP-PROXY-MIB.txt +294 -0
- data/lib/telemetry/snmp/mibs/SNMP-TARGET-MIB.txt +660 -0
- data/lib/telemetry/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt +912 -0
- data/lib/telemetry/snmp/mibs/SNMP-USM-AES-MIB.txt +62 -0
- data/lib/telemetry/snmp/mibs/SNMP-USM-DH-OBJECTS-MIB.txt +532 -0
- data/lib/telemetry/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt +830 -0
- data/lib/telemetry/snmp/mibs/SNMPv2-CONF.txt +322 -0
- data/lib/telemetry/snmp/mibs/SNMPv2-MIB.txt +854 -0
- data/lib/telemetry/snmp/mibs/SNMPv2-SMI.txt +344 -0
- data/lib/telemetry/snmp/mibs/SNMPv2-TC.txt +772 -0
- data/lib/telemetry/snmp/mibs/SNMPv2-TM.txt +176 -0
- data/lib/telemetry/snmp/mibs/TCP-MIB.txt +785 -0
- data/lib/telemetry/snmp/mibs/TRANSPORT-ADDRESS-MIB.txt +421 -0
- data/lib/telemetry/snmp/mibs/TUNNEL-MIB.txt +738 -0
- data/lib/telemetry/snmp/mibs/UCD-DEMO-MIB.txt +74 -0
- data/lib/telemetry/snmp/mibs/UCD-DISKIO-MIB.txt +171 -0
- data/lib/telemetry/snmp/mibs/UCD-DLMOD-MIB.txt +124 -0
- data/lib/telemetry/snmp/mibs/UCD-IPFWACC-MIB.txt +327 -0
- data/lib/telemetry/snmp/mibs/UCD-SNMP-MIB.txt +1712 -0
- data/lib/telemetry/snmp/mibs/UDP-MIB.txt +549 -0
- data/lib/telemetry/snmp/publisher.rb +130 -0
- data/lib/telemetry/snmp/version.rb +7 -0
- data/sourcehawk.yml +4 -0
- data/telemetry-snmp.gemspec +48 -0
- metadata +456 -0
@@ -0,0 +1,67 @@
|
|
1
|
+
IPV6-TC DEFINITIONS ::= BEGIN
|
2
|
+
|
3
|
+
IMPORTS
|
4
|
+
Integer32 FROM SNMPv2-SMI
|
5
|
+
TEXTUAL-CONVENTION FROM SNMPv2-TC;
|
6
|
+
|
7
|
+
-- definition of textual conventions
|
8
|
+
Ipv6Address ::= TEXTUAL-CONVENTION
|
9
|
+
DISPLAY-HINT "2x:"
|
10
|
+
STATUS current
|
11
|
+
DESCRIPTION
|
12
|
+
"This data type is used to model IPv6 addresses.
|
13
|
+
This is a binary string of 16 octets in network
|
14
|
+
byte-order."
|
15
|
+
SYNTAX OCTET STRING (SIZE (16))
|
16
|
+
|
17
|
+
Ipv6AddressPrefix ::= TEXTUAL-CONVENTION
|
18
|
+
DISPLAY-HINT "2x:"
|
19
|
+
STATUS current
|
20
|
+
DESCRIPTION
|
21
|
+
"This data type is used to model IPv6 address
|
22
|
+
prefixes. This is a binary string of up to 16
|
23
|
+
octets in network byte-order."
|
24
|
+
SYNTAX OCTET STRING (SIZE (0..16))
|
25
|
+
|
26
|
+
Ipv6AddressIfIdentifier ::= TEXTUAL-CONVENTION
|
27
|
+
DISPLAY-HINT "2x:"
|
28
|
+
STATUS current
|
29
|
+
DESCRIPTION
|
30
|
+
"This data type is used to model IPv6 address
|
31
|
+
interface identifiers. This is a binary string
|
32
|
+
of up to 8 octets in network byte-order."
|
33
|
+
SYNTAX OCTET STRING (SIZE (0..8))
|
34
|
+
|
35
|
+
Ipv6IfIndex ::= TEXTUAL-CONVENTION
|
36
|
+
DISPLAY-HINT "d"
|
37
|
+
STATUS current
|
38
|
+
DESCRIPTION
|
39
|
+
"A unique value, greater than zero for each
|
40
|
+
internetwork-layer interface in the managed
|
41
|
+
system. It is recommended that values are assigned
|
42
|
+
contiguously starting from 1. The value for each
|
43
|
+
internetwork-layer interface must remain constant
|
44
|
+
at least from one re-initialization of the entity's
|
45
|
+
network management system to the next
|
46
|
+
|
47
|
+
re-initialization."
|
48
|
+
SYNTAX Integer32 (1..2147483647)
|
49
|
+
|
50
|
+
Ipv6IfIndexOrZero ::= TEXTUAL-CONVENTION
|
51
|
+
DISPLAY-HINT "d"
|
52
|
+
STATUS current
|
53
|
+
DESCRIPTION
|
54
|
+
"This textual convention is an extension of the
|
55
|
+
Ipv6IfIndex convention. The latter defines
|
56
|
+
a greater than zero value used to identify an IPv6
|
57
|
+
interface in the managed system. This extension
|
58
|
+
permits the additional value of zero. The value
|
59
|
+
zero is object-specific and must therefore be
|
60
|
+
defined as part of the description of any object
|
61
|
+
which uses this syntax. Examples of the usage of
|
62
|
+
zero might include situations where interface was
|
63
|
+
unknown, or when none or all interfaces need to be
|
64
|
+
referenced."
|
65
|
+
SYNTAX Integer32 (0..2147483647)
|
66
|
+
|
67
|
+
END
|
@@ -0,0 +1,211 @@
|
|
1
|
+
IPV6-TCP-MIB DEFINITIONS ::= BEGIN
|
2
|
+
|
3
|
+
IMPORTS
|
4
|
+
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
|
5
|
+
MODULE-IDENTITY, OBJECT-TYPE,
|
6
|
+
mib-2, experimental FROM SNMPv2-SMI
|
7
|
+
Ipv6Address, Ipv6IfIndexOrZero FROM IPV6-TC;
|
8
|
+
|
9
|
+
ipv6TcpMIB MODULE-IDENTITY
|
10
|
+
LAST-UPDATED "9801290000Z"
|
11
|
+
ORGANIZATION "IETF IPv6 MIB Working Group"
|
12
|
+
CONTACT-INFO
|
13
|
+
" Mike Daniele
|
14
|
+
|
15
|
+
Postal: Compaq Computer Corporation
|
16
|
+
110 Spitbrook Rd
|
17
|
+
Nashua, NH 03062.
|
18
|
+
US
|
19
|
+
|
20
|
+
Phone: +1 603 884 1423
|
21
|
+
Email: daniele@zk3.dec.com"
|
22
|
+
DESCRIPTION
|
23
|
+
"The MIB module for entities implementing TCP over IPv6."
|
24
|
+
::= { experimental 86 }
|
25
|
+
|
26
|
+
-- objects specific to TCP for IPv6
|
27
|
+
|
28
|
+
tcp OBJECT IDENTIFIER ::= { mib-2 6 }
|
29
|
+
|
30
|
+
-- the TCP over IPv6 Connection table
|
31
|
+
|
32
|
+
-- This connection table contains information about this
|
33
|
+
-- entity's existing TCP connections between IPv6 endpoints.
|
34
|
+
-- Only connections between IPv6 addresses are contained in
|
35
|
+
-- this table. This entity's connections between IPv4
|
36
|
+
-- endpoints are contained in tcpConnTable.
|
37
|
+
|
38
|
+
ipv6TcpConnTable OBJECT-TYPE
|
39
|
+
SYNTAX SEQUENCE OF Ipv6TcpConnEntry
|
40
|
+
MAX-ACCESS not-accessible
|
41
|
+
STATUS current
|
42
|
+
DESCRIPTION
|
43
|
+
"A table containing TCP connection-specific information,
|
44
|
+
for only those connections whose endpoints are IPv6 addresses."
|
45
|
+
::= { tcp 16 }
|
46
|
+
|
47
|
+
ipv6TcpConnEntry OBJECT-TYPE
|
48
|
+
SYNTAX Ipv6TcpConnEntry
|
49
|
+
MAX-ACCESS not-accessible
|
50
|
+
STATUS current
|
51
|
+
DESCRIPTION
|
52
|
+
"A conceptual row of the ipv6TcpConnTable containing
|
53
|
+
information about a particular current TCP connection.
|
54
|
+
Each row of this table is transient, in that it ceases to
|
55
|
+
exist when (or soon after) the connection makes the transition
|
56
|
+
to the CLOSED state.
|
57
|
+
|
58
|
+
Note that conceptual rows in this table require an additional
|
59
|
+
index object compared to tcpConnTable, since IPv6 addresses
|
60
|
+
are not guaranteed to be unique on the managed node."
|
61
|
+
INDEX { ipv6TcpConnLocalAddress,
|
62
|
+
ipv6TcpConnLocalPort,
|
63
|
+
ipv6TcpConnRemAddress,
|
64
|
+
ipv6TcpConnRemPort,
|
65
|
+
ipv6TcpConnIfIndex }
|
66
|
+
::= { ipv6TcpConnTable 1 }
|
67
|
+
|
68
|
+
Ipv6TcpConnEntry ::=
|
69
|
+
SEQUENCE { ipv6TcpConnLocalAddress Ipv6Address,
|
70
|
+
ipv6TcpConnLocalPort INTEGER (0..65535),
|
71
|
+
ipv6TcpConnRemAddress Ipv6Address,
|
72
|
+
ipv6TcpConnRemPort INTEGER (0..65535),
|
73
|
+
ipv6TcpConnIfIndex Ipv6IfIndexOrZero,
|
74
|
+
ipv6TcpConnState INTEGER }
|
75
|
+
|
76
|
+
ipv6TcpConnLocalAddress OBJECT-TYPE
|
77
|
+
SYNTAX Ipv6Address
|
78
|
+
MAX-ACCESS not-accessible
|
79
|
+
STATUS current
|
80
|
+
DESCRIPTION
|
81
|
+
"The local IPv6 address for this TCP connection. In
|
82
|
+
the case of a connection in the listen state which
|
83
|
+
is willing to accept connections for any IPv6
|
84
|
+
address associated with the managed node, the value
|
85
|
+
::0 is used."
|
86
|
+
::= { ipv6TcpConnEntry 1 }
|
87
|
+
|
88
|
+
ipv6TcpConnLocalPort OBJECT-TYPE
|
89
|
+
SYNTAX INTEGER (0..65535)
|
90
|
+
MAX-ACCESS not-accessible
|
91
|
+
STATUS current
|
92
|
+
DESCRIPTION
|
93
|
+
"The local port number for this TCP connection."
|
94
|
+
::= { ipv6TcpConnEntry 2 }
|
95
|
+
|
96
|
+
ipv6TcpConnRemAddress OBJECT-TYPE
|
97
|
+
SYNTAX Ipv6Address
|
98
|
+
MAX-ACCESS not-accessible
|
99
|
+
STATUS current
|
100
|
+
DESCRIPTION
|
101
|
+
"The remote IPv6 address for this TCP connection."
|
102
|
+
::= { ipv6TcpConnEntry 3 }
|
103
|
+
|
104
|
+
ipv6TcpConnRemPort OBJECT-TYPE
|
105
|
+
SYNTAX INTEGER (0..65535)
|
106
|
+
MAX-ACCESS not-accessible
|
107
|
+
STATUS current
|
108
|
+
DESCRIPTION
|
109
|
+
"The remote port number for this TCP connection."
|
110
|
+
::= { ipv6TcpConnEntry 4 }
|
111
|
+
|
112
|
+
ipv6TcpConnIfIndex OBJECT-TYPE
|
113
|
+
SYNTAX Ipv6IfIndexOrZero
|
114
|
+
MAX-ACCESS not-accessible
|
115
|
+
STATUS current
|
116
|
+
DESCRIPTION
|
117
|
+
"An index object used to disambiguate conceptual rows in
|
118
|
+
the table, since the connection 4-tuple may not be unique.
|
119
|
+
|
120
|
+
If the connection's remote address (ipv6TcpConnRemAddress)
|
121
|
+
is a link-local address and the connection's local address
|
122
|
+
|
123
|
+
(ipv6TcpConnLocalAddress) is not a link-local address, this
|
124
|
+
object identifies a local interface on the same link as
|
125
|
+
the connection's remote link-local address.
|
126
|
+
|
127
|
+
Otherwise, this object identifies the local interface that
|
128
|
+
is associated with the ipv6TcpConnLocalAddress for this
|
129
|
+
TCP connection. If such a local interface cannot be determined,
|
130
|
+
this object should take on the value 0. (A possible example
|
131
|
+
of this would be if the value of ipv6TcpConnLocalAddress is ::0.)
|
132
|
+
|
133
|
+
The interface identified by a particular non-0 value of this
|
134
|
+
index is the same interface as identified by the same value
|
135
|
+
of ipv6IfIndex.
|
136
|
+
|
137
|
+
The value of this object must remain constant during the life
|
138
|
+
of the TCP connection."
|
139
|
+
::= { ipv6TcpConnEntry 5 }
|
140
|
+
|
141
|
+
ipv6TcpConnState OBJECT-TYPE
|
142
|
+
SYNTAX INTEGER {
|
143
|
+
closed(1),
|
144
|
+
listen(2),
|
145
|
+
synSent(3),
|
146
|
+
synReceived(4),
|
147
|
+
established(5),
|
148
|
+
finWait1(6),
|
149
|
+
finWait2(7),
|
150
|
+
closeWait(8),
|
151
|
+
lastAck(9),
|
152
|
+
closing(10),
|
153
|
+
timeWait(11),
|
154
|
+
deleteTCB(12) }
|
155
|
+
MAX-ACCESS read-write
|
156
|
+
STATUS current
|
157
|
+
DESCRIPTION
|
158
|
+
"The state of this TCP connection.
|
159
|
+
|
160
|
+
The only value which may be set by a management station is
|
161
|
+
deleteTCB(12). Accordingly, it is appropriate for an agent
|
162
|
+
to return an error response (`badValue' for SNMPv1, 'wrongValue'
|
163
|
+
for SNMPv2) if a management station attempts to set this
|
164
|
+
object to any other value.
|
165
|
+
|
166
|
+
If a management station sets this object to the value
|
167
|
+
deleteTCB(12), then this has the effect of deleting the TCB
|
168
|
+
(as defined in RFC 793) of the corresponding connection on
|
169
|
+
the managed node, resulting in immediate termination of the
|
170
|
+
connection.
|
171
|
+
|
172
|
+
As an implementation-specific option, a RST segment may be
|
173
|
+
sent from the managed node to the other TCP endpoint (note
|
174
|
+
however that RST segments are not sent reliably)."
|
175
|
+
::= { ipv6TcpConnEntry 6 }
|
176
|
+
|
177
|
+
--
|
178
|
+
-- conformance information
|
179
|
+
--
|
180
|
+
|
181
|
+
ipv6TcpConformance OBJECT IDENTIFIER ::= { ipv6TcpMIB 2 }
|
182
|
+
|
183
|
+
ipv6TcpCompliances OBJECT IDENTIFIER ::= { ipv6TcpConformance 1 }
|
184
|
+
ipv6TcpGroups OBJECT IDENTIFIER ::= { ipv6TcpConformance 2 }
|
185
|
+
|
186
|
+
-- compliance statements
|
187
|
+
|
188
|
+
ipv6TcpCompliance MODULE-COMPLIANCE
|
189
|
+
STATUS current
|
190
|
+
DESCRIPTION
|
191
|
+
"The compliance statement for SNMPv2 entities which
|
192
|
+
implement TCP over IPv6."
|
193
|
+
MODULE -- this module
|
194
|
+
MANDATORY-GROUPS { ipv6TcpGroup }
|
195
|
+
::= { ipv6TcpCompliances 1 }
|
196
|
+
|
197
|
+
ipv6TcpGroup OBJECT-GROUP
|
198
|
+
OBJECTS { -- these are defined in this module
|
199
|
+
-- ipv6TcpConnLocalAddress (not-accessible)
|
200
|
+
-- ipv6TcpConnLocalPort (not-accessible)
|
201
|
+
-- ipv6TcpConnRemAddress (not-accessible)
|
202
|
+
-- ipv6TcpConnRemPort (not-accessible)
|
203
|
+
-- ipv6TcpConnIfIndex (not-accessible)
|
204
|
+
ipv6TcpConnState }
|
205
|
+
STATUS current
|
206
|
+
DESCRIPTION
|
207
|
+
"The group of objects providing management of
|
208
|
+
TCP over IPv6."
|
209
|
+
::= { ipv6TcpGroups 1 }
|
210
|
+
|
211
|
+
END
|
@@ -0,0 +1,141 @@
|
|
1
|
+
IPV6-UDP-MIB DEFINITIONS ::= BEGIN
|
2
|
+
|
3
|
+
IMPORTS
|
4
|
+
MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF
|
5
|
+
MODULE-IDENTITY, OBJECT-TYPE,
|
6
|
+
mib-2, experimental FROM SNMPv2-SMI
|
7
|
+
Ipv6Address, Ipv6IfIndexOrZero FROM IPV6-TC;
|
8
|
+
|
9
|
+
ipv6UdpMIB MODULE-IDENTITY
|
10
|
+
LAST-UPDATED "9801290000Z"
|
11
|
+
ORGANIZATION "IETF IPv6 MIB Working Group"
|
12
|
+
CONTACT-INFO
|
13
|
+
" Mike Daniele
|
14
|
+
|
15
|
+
Postal: Compaq Computer Corporation
|
16
|
+
110 Spitbrook Rd
|
17
|
+
Nashua, NH 03062.
|
18
|
+
US
|
19
|
+
|
20
|
+
Phone: +1 603 884 1423
|
21
|
+
Email: daniele@zk3.dec.com"
|
22
|
+
DESCRIPTION
|
23
|
+
"The MIB module for entities implementing UDP over IPv6."
|
24
|
+
::= { experimental 87 }
|
25
|
+
|
26
|
+
-- objects specific to UDP for IPv6
|
27
|
+
|
28
|
+
udp OBJECT IDENTIFIER ::= { mib-2 7 }
|
29
|
+
|
30
|
+
-- the UDP over IPv6 Listener table
|
31
|
+
|
32
|
+
-- This table contains information about this entity's
|
33
|
+
-- UDP/IPv6 endpoints. Only endpoints utilizing IPv6 addresses
|
34
|
+
-- are contained in this table. This entity's UDP/IPv4 endpoints
|
35
|
+
-- are contained in udpTable.
|
36
|
+
|
37
|
+
ipv6UdpTable OBJECT-TYPE
|
38
|
+
SYNTAX SEQUENCE OF Ipv6UdpEntry
|
39
|
+
MAX-ACCESS not-accessible
|
40
|
+
STATUS current
|
41
|
+
DESCRIPTION
|
42
|
+
"A table containing UDP listener information for
|
43
|
+
UDP/IPv6 endpoints."
|
44
|
+
::= { udp 6 }
|
45
|
+
|
46
|
+
ipv6UdpEntry OBJECT-TYPE
|
47
|
+
SYNTAX Ipv6UdpEntry
|
48
|
+
MAX-ACCESS not-accessible
|
49
|
+
STATUS current
|
50
|
+
DESCRIPTION
|
51
|
+
"Information about a particular current UDP listener.
|
52
|
+
|
53
|
+
Note that conceptual rows in this table require an
|
54
|
+
additional index object compared to udpTable, since
|
55
|
+
IPv6 addresses are not guaranteed to be unique on the
|
56
|
+
managed node."
|
57
|
+
INDEX { ipv6UdpLocalAddress,
|
58
|
+
ipv6UdpLocalPort,
|
59
|
+
ipv6UdpIfIndex }
|
60
|
+
::= { ipv6UdpTable 1 }
|
61
|
+
|
62
|
+
Ipv6UdpEntry ::= SEQUENCE {
|
63
|
+
ipv6UdpLocalAddress Ipv6Address,
|
64
|
+
ipv6UdpLocalPort INTEGER (0..65535),
|
65
|
+
ipv6UdpIfIndex Ipv6IfIndexOrZero }
|
66
|
+
|
67
|
+
ipv6UdpLocalAddress OBJECT-TYPE
|
68
|
+
SYNTAX Ipv6Address
|
69
|
+
MAX-ACCESS not-accessible
|
70
|
+
STATUS current
|
71
|
+
DESCRIPTION
|
72
|
+
"The local IPv6 address for this UDP listener.
|
73
|
+
In the case of a UDP listener which is willing
|
74
|
+
to accept datagrams for any IPv6 address
|
75
|
+
associated with the managed node, the value ::0
|
76
|
+
is used."
|
77
|
+
::= { ipv6UdpEntry 1 }
|
78
|
+
|
79
|
+
ipv6UdpLocalPort OBJECT-TYPE
|
80
|
+
SYNTAX INTEGER (0..65535)
|
81
|
+
MAX-ACCESS not-accessible
|
82
|
+
STATUS current
|
83
|
+
DESCRIPTION
|
84
|
+
"The local port number for this UDP listener."
|
85
|
+
::= { ipv6UdpEntry 2 }
|
86
|
+
|
87
|
+
ipv6UdpIfIndex OBJECT-TYPE
|
88
|
+
SYNTAX Ipv6IfIndexOrZero
|
89
|
+
MAX-ACCESS read-only
|
90
|
+
STATUS current
|
91
|
+
DESCRIPTION
|
92
|
+
"An index object used to disambiguate conceptual rows in
|
93
|
+
the table, since the ipv6UdpLocalAddress/ipv6UdpLocalPort
|
94
|
+
pair may not be unique.
|
95
|
+
|
96
|
+
This object identifies the local interface that is
|
97
|
+
associated with ipv6UdpLocalAddress for this UDP listener.
|
98
|
+
If such a local interface cannot be determined, this object
|
99
|
+
should take on the value 0. (A possible example of this
|
100
|
+
would be if the value of ipv6UdpLocalAddress is ::0.)
|
101
|
+
|
102
|
+
The interface identified by a particular non-0 value of
|
103
|
+
this index is the same interface as identified by the same
|
104
|
+
value of ipv6IfIndex.
|
105
|
+
|
106
|
+
The value of this object must remain constant during
|
107
|
+
the life of this UDP endpoint."
|
108
|
+
::= { ipv6UdpEntry 3 }
|
109
|
+
|
110
|
+
--
|
111
|
+
-- conformance information
|
112
|
+
--
|
113
|
+
|
114
|
+
ipv6UdpConformance OBJECT IDENTIFIER ::= { ipv6UdpMIB 2 }
|
115
|
+
|
116
|
+
ipv6UdpCompliances OBJECT IDENTIFIER ::= { ipv6UdpConformance 1 }
|
117
|
+
ipv6UdpGroups OBJECT IDENTIFIER ::= { ipv6UdpConformance 2 }
|
118
|
+
|
119
|
+
-- compliance statements
|
120
|
+
|
121
|
+
ipv6UdpCompliance MODULE-COMPLIANCE
|
122
|
+
STATUS current
|
123
|
+
DESCRIPTION
|
124
|
+
"The compliance statement for SNMPv2 entities which
|
125
|
+
implement UDP over IPv6."
|
126
|
+
MODULE -- this module
|
127
|
+
MANDATORY-GROUPS { ipv6UdpGroup }
|
128
|
+
::= { ipv6UdpCompliances 1 }
|
129
|
+
|
130
|
+
ipv6UdpGroup OBJECT-GROUP
|
131
|
+
OBJECTS { -- these are defined in this module
|
132
|
+
-- ipv6UdpLocalAddress (not-accessible)
|
133
|
+
-- ipv6UdpLocalPort (not-accessible)
|
134
|
+
ipv6UdpIfIndex }
|
135
|
+
STATUS current
|
136
|
+
DESCRIPTION
|
137
|
+
"The group of objects providing management of
|
138
|
+
UDP over IPv6."
|
139
|
+
::= { ipv6UdpGroups 1 }
|
140
|
+
|
141
|
+
END
|
@@ -0,0 +1,554 @@
|
|
1
|
+
NET-SNMP-AGENT-MIB DEFINITIONS ::= BEGIN
|
2
|
+
|
3
|
+
--
|
4
|
+
-- Defines control and monitoring structures for the Net-SNMP agent.
|
5
|
+
--
|
6
|
+
|
7
|
+
IMPORTS
|
8
|
+
SnmpAdminString
|
9
|
+
FROM SNMP-FRAMEWORK-MIB
|
10
|
+
|
11
|
+
netSnmpObjects, netSnmpModuleIDs, netSnmpNotifications, netSnmpGroups
|
12
|
+
FROM NET-SNMP-MIB
|
13
|
+
|
14
|
+
OBJECT-TYPE, NOTIFICATION-TYPE, MODULE-IDENTITY, Integer32, Unsigned32
|
15
|
+
FROM SNMPv2-SMI
|
16
|
+
|
17
|
+
OBJECT-GROUP, NOTIFICATION-GROUP
|
18
|
+
FROM SNMPv2-CONF
|
19
|
+
|
20
|
+
TEXTUAL-CONVENTION, DisplayString, RowStatus, TruthValue
|
21
|
+
FROM SNMPv2-TC;
|
22
|
+
|
23
|
+
|
24
|
+
netSnmpAgentMIB MODULE-IDENTITY
|
25
|
+
LAST-UPDATED "201003170000Z"
|
26
|
+
ORGANIZATION "www.net-snmp.org"
|
27
|
+
CONTACT-INFO
|
28
|
+
"postal: Wes Hardaker
|
29
|
+
P.O. Box 382
|
30
|
+
Davis CA 95617
|
31
|
+
|
32
|
+
email: net-snmp-coders@lists.sourceforge.net"
|
33
|
+
DESCRIPTION
|
34
|
+
"Defines control and monitoring structures for the Net-SNMP agent."
|
35
|
+
REVISION "201003170000Z"
|
36
|
+
DESCRIPTION
|
37
|
+
"Made sure that this MIB can be compiled by MIB compilers that do not
|
38
|
+
recognize a double dash as end-of-comments."
|
39
|
+
REVISION "200502070000Z"
|
40
|
+
DESCRIPTION
|
41
|
+
"Fixing syntax errors"
|
42
|
+
REVISION "200202090000Z"
|
43
|
+
DESCRIPTION
|
44
|
+
"First revision."
|
45
|
+
::= { netSnmpModuleIDs 2 }
|
46
|
+
|
47
|
+
|
48
|
+
nsVersion OBJECT IDENTIFIER ::= {netSnmpObjects 1}
|
49
|
+
nsMibRegistry OBJECT IDENTIFIER ::= {netSnmpObjects 2}
|
50
|
+
nsExtensions OBJECT IDENTIFIER ::= {netSnmpObjects 3}
|
51
|
+
nsDLMod OBJECT IDENTIFIER ::= {netSnmpObjects 4}
|
52
|
+
nsCache OBJECT IDENTIFIER ::= {netSnmpObjects 5}
|
53
|
+
nsErrorHistory OBJECT IDENTIFIER ::= {netSnmpObjects 6}
|
54
|
+
nsConfiguration OBJECT IDENTIFIER ::= {netSnmpObjects 7}
|
55
|
+
nsTransactions OBJECT IDENTIFIER ::= {netSnmpObjects 8}
|
56
|
+
|
57
|
+
--
|
58
|
+
-- MIB Module data caching management
|
59
|
+
--
|
60
|
+
|
61
|
+
NetsnmpCacheStatus ::= TEXTUAL-CONVENTION
|
62
|
+
STATUS current
|
63
|
+
DESCRIPTION "an indication of the status of data caching entries"
|
64
|
+
SYNTAX INTEGER {
|
65
|
+
enabled(1),
|
66
|
+
disabled(2),
|
67
|
+
empty (3),
|
68
|
+
cached (4),
|
69
|
+
expired(5)
|
70
|
+
}
|
71
|
+
|
72
|
+
nsCacheDefaultTimeout OBJECT-TYPE
|
73
|
+
SYNTAX INTEGER -- ???
|
74
|
+
MAX-ACCESS read-write
|
75
|
+
STATUS current
|
76
|
+
DESCRIPTION
|
77
|
+
"Default cache timeout value (unless overridden
|
78
|
+
for a particular cache entry)."
|
79
|
+
DEFVAL { 5 } --seconds--
|
80
|
+
::= { nsCache 1 }
|
81
|
+
|
82
|
+
nsCacheEnabled OBJECT-TYPE
|
83
|
+
SYNTAX TruthValue
|
84
|
+
MAX-ACCESS read-write
|
85
|
+
STATUS current
|
86
|
+
DESCRIPTION
|
87
|
+
"Whether data caching is active overall."
|
88
|
+
DEFVAL { true }
|
89
|
+
::= { nsCache 2 }
|
90
|
+
|
91
|
+
nsCacheTable OBJECT-TYPE
|
92
|
+
SYNTAX SEQUENCE OF NsCacheEntry
|
93
|
+
MAX-ACCESS not-accessible
|
94
|
+
STATUS current
|
95
|
+
DESCRIPTION
|
96
|
+
"A table of individual MIB module data caches."
|
97
|
+
::= { nsCache 3 }
|
98
|
+
|
99
|
+
nsCacheEntry OBJECT-TYPE
|
100
|
+
SYNTAX NsCacheEntry
|
101
|
+
MAX-ACCESS not-accessible
|
102
|
+
STATUS current
|
103
|
+
DESCRIPTION
|
104
|
+
"A conceptual row within the cache table."
|
105
|
+
INDEX { IMPLIED nsCachedOID }
|
106
|
+
::= { nsCacheTable 1 }
|
107
|
+
|
108
|
+
NsCacheEntry ::= SEQUENCE {
|
109
|
+
nsCachedOID OBJECT IDENTIFIER,
|
110
|
+
nsCacheTimeout INTEGER, -- ?? TimeTicks ??
|
111
|
+
nsCacheStatus NetsnmpCacheStatus -- ?? INTEGER ??
|
112
|
+
}
|
113
|
+
|
114
|
+
nsCachedOID OBJECT-TYPE
|
115
|
+
SYNTAX OBJECT IDENTIFIER
|
116
|
+
MAX-ACCESS not-accessible
|
117
|
+
STATUS current
|
118
|
+
DESCRIPTION
|
119
|
+
"The root OID of the data being cached."
|
120
|
+
::= { nsCacheEntry 1 }
|
121
|
+
|
122
|
+
nsCacheTimeout OBJECT-TYPE
|
123
|
+
SYNTAX INTEGER
|
124
|
+
MAX-ACCESS read-write
|
125
|
+
STATUS current
|
126
|
+
DESCRIPTION
|
127
|
+
"The length of time (?in seconds) for which the data in
|
128
|
+
this particular cache entry will remain valid."
|
129
|
+
::= { nsCacheEntry 2 }
|
130
|
+
|
131
|
+
nsCacheStatus OBJECT-TYPE
|
132
|
+
SYNTAX NetsnmpCacheStatus
|
133
|
+
MAX-ACCESS read-write
|
134
|
+
STATUS current
|
135
|
+
DESCRIPTION
|
136
|
+
"The current status of this particular cache entry.
|
137
|
+
Acceptable values for Set requests are 'enabled(1)',
|
138
|
+
'disabled(2)' or 'empty(3)' (to clear all cached data).
|
139
|
+
Requests to read the value of such an object will
|
140
|
+
return 'disabled(2)' through to 'expired(5)'."
|
141
|
+
::= { nsCacheEntry 3 }
|
142
|
+
|
143
|
+
--
|
144
|
+
-- Agent configuration
|
145
|
+
-- Debug and logging output
|
146
|
+
--
|
147
|
+
|
148
|
+
nsConfigDebug OBJECT IDENTIFIER ::= {nsConfiguration 1}
|
149
|
+
nsConfigLogging OBJECT IDENTIFIER ::= {nsConfiguration 2}
|
150
|
+
|
151
|
+
nsDebugEnabled OBJECT-TYPE
|
152
|
+
SYNTAX TruthValue
|
153
|
+
MAX-ACCESS read-write
|
154
|
+
STATUS current
|
155
|
+
DESCRIPTION
|
156
|
+
"Whether the agent is configured to generate debugging output"
|
157
|
+
DEFVAL { false }
|
158
|
+
::= { nsConfigDebug 1 }
|
159
|
+
|
160
|
+
nsDebugOutputAll OBJECT-TYPE
|
161
|
+
SYNTAX TruthValue
|
162
|
+
MAX-ACCESS read-write
|
163
|
+
STATUS current
|
164
|
+
DESCRIPTION
|
165
|
+
"Whether the agent is configured to display all debugging output
|
166
|
+
rather than filtering on individual debug tokens. Nothing will
|
167
|
+
be generated unless nsDebugEnabled is also true(1)"
|
168
|
+
DEFVAL { false }
|
169
|
+
::= { nsConfigDebug 2 }
|
170
|
+
|
171
|
+
nsDebugDumpPdu OBJECT-TYPE
|
172
|
+
SYNTAX TruthValue
|
173
|
+
MAX-ACCESS read-write
|
174
|
+
STATUS current
|
175
|
+
DESCRIPTION
|
176
|
+
"Whether the agent is configured to display raw packet dumps.
|
177
|
+
This is unrelated to the nsDebugEnabled setting."
|
178
|
+
DEFVAL { false }
|
179
|
+
::= { nsConfigDebug 3 }
|
180
|
+
|
181
|
+
nsDebugTokenTable OBJECT-TYPE
|
182
|
+
SYNTAX SEQUENCE OF NsDebugTokenEntry
|
183
|
+
MAX-ACCESS not-accessible
|
184
|
+
STATUS current
|
185
|
+
DESCRIPTION
|
186
|
+
"A table of individual debug tokens, used to control the selection
|
187
|
+
of what debugging output should be produced. This table is only
|
188
|
+
effective if nsDebugOutputAll is false(2), and nothing will
|
189
|
+
be generated unless nsDebugEnabled is also true(1)"
|
190
|
+
::= { nsConfigDebug 4 }
|
191
|
+
|
192
|
+
nsDebugTokenEntry OBJECT-TYPE
|
193
|
+
SYNTAX NsDebugTokenEntry
|
194
|
+
MAX-ACCESS not-accessible
|
195
|
+
STATUS current
|
196
|
+
DESCRIPTION
|
197
|
+
"A conceptual row within the debug token table."
|
198
|
+
INDEX { IMPLIED nsDebugTokenPrefix }
|
199
|
+
::= { nsDebugTokenTable 1 }
|
200
|
+
|
201
|
+
NsDebugTokenEntry ::= SEQUENCE {
|
202
|
+
nsDebugTokenPrefix DisplayString,
|
203
|
+
nsDebugTokenStatus RowStatus
|
204
|
+
}
|
205
|
+
|
206
|
+
nsDebugTokenPrefix OBJECT-TYPE
|
207
|
+
SYNTAX DisplayString
|
208
|
+
MAX-ACCESS not-accessible
|
209
|
+
STATUS current
|
210
|
+
DESCRIPTION
|
211
|
+
"A token prefix for which to generate the corresponding
|
212
|
+
debugging output. Note that debug output will be generated
|
213
|
+
for all registered debug statements sharing this prefix
|
214
|
+
(rather than an exact match). Nothing will be generated
|
215
|
+
unless both nsDebuggingEnabled is set true(1) and the
|
216
|
+
corresponding nsDebugTokenStatus value is active(1)."
|
217
|
+
::= { nsDebugTokenEntry 2 }
|
218
|
+
|
219
|
+
nsDebugTokenStatus OBJECT-TYPE
|
220
|
+
SYNTAX RowStatus
|
221
|
+
MAX-ACCESS read-create
|
222
|
+
STATUS current
|
223
|
+
DESCRIPTION
|
224
|
+
"Whether to generate debug output for the corresponding debug
|
225
|
+
token prefix. Nothing will be generated unless both
|
226
|
+
nsDebuggingEnabled is true(1) and this instance is active(1).
|
227
|
+
Note that is valid for an instance to be left with the value
|
228
|
+
notInService(2) indefinitely - i.e. the meaning of 'abnormally
|
229
|
+
long' (see RFC 2579, RowStatus) for this table is infinite."
|
230
|
+
::= { nsDebugTokenEntry 4 }
|
231
|
+
|
232
|
+
--
|
233
|
+
-- Logging configuration
|
234
|
+
--
|
235
|
+
|
236
|
+
nsLoggingTable OBJECT-TYPE
|
237
|
+
SYNTAX SEQUENCE OF NsLoggingEntry
|
238
|
+
MAX-ACCESS not-accessible
|
239
|
+
STATUS current
|
240
|
+
DESCRIPTION
|
241
|
+
"A table of individual logging output destinations, used to control
|
242
|
+
where various levels of output from the agent should be directed."
|
243
|
+
::= { nsConfigLogging 1 }
|
244
|
+
|
245
|
+
nsLoggingEntry OBJECT-TYPE
|
246
|
+
SYNTAX NsLoggingEntry
|
247
|
+
MAX-ACCESS not-accessible
|
248
|
+
STATUS current
|
249
|
+
DESCRIPTION
|
250
|
+
"A conceptual row within the logging table."
|
251
|
+
INDEX { nsLogLevel, IMPLIED nsLogToken }
|
252
|
+
::= { nsLoggingTable 1 }
|
253
|
+
|
254
|
+
NsLoggingEntry ::= SEQUENCE {
|
255
|
+
nsLogLevel INTEGER,
|
256
|
+
nsLogToken DisplayString,
|
257
|
+
nsLogType INTEGER,
|
258
|
+
nsLogMaxLevel INTEGER,
|
259
|
+
nsLogStatus RowStatus
|
260
|
+
}
|
261
|
+
|
262
|
+
nsLogLevel OBJECT-TYPE
|
263
|
+
SYNTAX INTEGER {
|
264
|
+
emergency(0),
|
265
|
+
alert (1),
|
266
|
+
critical (2),
|
267
|
+
error (3),
|
268
|
+
warning (4),
|
269
|
+
notice (5),
|
270
|
+
info (6),
|
271
|
+
debug (7)
|
272
|
+
}
|
273
|
+
MAX-ACCESS not-accessible
|
274
|
+
STATUS current
|
275
|
+
DESCRIPTION
|
276
|
+
"The (minimum) priority level for which this logging entry
|
277
|
+
should be applied."
|
278
|
+
::= { nsLoggingEntry 1 }
|
279
|
+
|
280
|
+
nsLogToken OBJECT-TYPE
|
281
|
+
SYNTAX DisplayString
|
282
|
+
MAX-ACCESS not-accessible
|
283
|
+
STATUS current
|
284
|
+
DESCRIPTION
|
285
|
+
"A token for which to generate logging entries.
|
286
|
+
Depending on the style of logging, this may either
|
287
|
+
be simply an arbitrary token, or may have some
|
288
|
+
particular meaning (such as the filename to log to)."
|
289
|
+
::= { nsLoggingEntry 2 }
|
290
|
+
|
291
|
+
nsLogType OBJECT-TYPE
|
292
|
+
SYNTAX INTEGER {
|
293
|
+
stdout (1),
|
294
|
+
stderr (2),
|
295
|
+
file (3),
|
296
|
+
syslog (4),
|
297
|
+
callback (5)
|
298
|
+
}
|
299
|
+
MAX-ACCESS read-create
|
300
|
+
STATUS current
|
301
|
+
DESCRIPTION
|
302
|
+
"The type of logging for this entry."
|
303
|
+
::= { nsLoggingEntry 3 }
|
304
|
+
|
305
|
+
nsLogMaxLevel OBJECT-TYPE
|
306
|
+
SYNTAX INTEGER {
|
307
|
+
emergency(0),
|
308
|
+
alert (1),
|
309
|
+
critical (2),
|
310
|
+
error (3),
|
311
|
+
warning (4),
|
312
|
+
notice (5),
|
313
|
+
info (6),
|
314
|
+
debug (7)
|
315
|
+
}
|
316
|
+
MAX-ACCESS read-create
|
317
|
+
STATUS current
|
318
|
+
DESCRIPTION
|
319
|
+
"The maximum priority level for which this logging entry
|
320
|
+
should be applied."
|
321
|
+
DEFVAL { emergency }
|
322
|
+
::= { nsLoggingEntry 4 }
|
323
|
+
|
324
|
+
nsLogStatus OBJECT-TYPE
|
325
|
+
SYNTAX RowStatus
|
326
|
+
MAX-ACCESS read-create
|
327
|
+
STATUS current
|
328
|
+
DESCRIPTION
|
329
|
+
"Whether to generate logging output for this entry.
|
330
|
+
Note that is valid for an instance to be left with the value
|
331
|
+
notInService(2) indefinitely - i.e. the meaning of 'abnormally
|
332
|
+
long' (see RFC 2579, RowStatus) for this table is infinite."
|
333
|
+
::= { nsLoggingEntry 5 }
|
334
|
+
|
335
|
+
--
|
336
|
+
-- Monitoring outstanding "transactions"
|
337
|
+
-- (i.e. requests sent to AgentX subagents, or proxied agents)
|
338
|
+
--
|
339
|
+
|
340
|
+
nsTransactionTable OBJECT-TYPE
|
341
|
+
SYNTAX SEQUENCE OF NsTransactionEntry
|
342
|
+
MAX-ACCESS not-accessible
|
343
|
+
STATUS current
|
344
|
+
DESCRIPTION
|
345
|
+
"Lists currently outstanding transactions in the net-snmp agent.
|
346
|
+
This includes requests to AgentX subagents, or proxied SNMP agents."
|
347
|
+
::= { nsTransactions 1 }
|
348
|
+
|
349
|
+
nsTransactionEntry OBJECT-TYPE
|
350
|
+
SYNTAX NsTransactionEntry
|
351
|
+
MAX-ACCESS not-accessible
|
352
|
+
STATUS current
|
353
|
+
DESCRIPTION
|
354
|
+
"A row describing a given transaction."
|
355
|
+
INDEX { nsTransactionID }
|
356
|
+
::= {nsTransactionTable 1 }
|
357
|
+
|
358
|
+
NsTransactionEntry ::= SEQUENCE {
|
359
|
+
nsTransactionID Unsigned32,
|
360
|
+
nsTransactionMode Integer32
|
361
|
+
}
|
362
|
+
|
363
|
+
nsTransactionID OBJECT-TYPE
|
364
|
+
SYNTAX Unsigned32 (0..4294967295)
|
365
|
+
MAX-ACCESS not-accessible
|
366
|
+
STATUS current
|
367
|
+
DESCRIPTION
|
368
|
+
"The internal identifier for a given transaction."
|
369
|
+
::= { nsTransactionEntry 1 }
|
370
|
+
|
371
|
+
nsTransactionMode OBJECT-TYPE
|
372
|
+
SYNTAX Integer32
|
373
|
+
MAX-ACCESS read-only
|
374
|
+
STATUS current
|
375
|
+
DESCRIPTION
|
376
|
+
"The mode number for the current operation being performed."
|
377
|
+
::= { nsTransactionEntry 2 }
|
378
|
+
|
379
|
+
|
380
|
+
--
|
381
|
+
-- Monitoring the MIB modules currently registered in the agent
|
382
|
+
-- (an updated version of UCD-SNMP-MIB::mrTable)
|
383
|
+
--
|
384
|
+
|
385
|
+
nsModuleTable OBJECT-TYPE
|
386
|
+
SYNTAX SEQUENCE OF NsModuleEntry
|
387
|
+
MAX-ACCESS not-accessible
|
388
|
+
STATUS current
|
389
|
+
DESCRIPTION
|
390
|
+
"A table displaying all the oid's registered by mib modules in
|
391
|
+
the agent. Since the agent is modular in nature, this lists
|
392
|
+
each module's OID it is responsible for and the name of the module"
|
393
|
+
::= { nsMibRegistry 1 }
|
394
|
+
|
395
|
+
nsModuleEntry OBJECT-TYPE
|
396
|
+
SYNTAX NsModuleEntry
|
397
|
+
MAX-ACCESS not-accessible
|
398
|
+
STATUS current
|
399
|
+
DESCRIPTION
|
400
|
+
"An entry containing a registered mib oid."
|
401
|
+
INDEX { nsmContextName, nsmRegistrationPoint,
|
402
|
+
nsmRegistrationPriority }
|
403
|
+
::= { nsModuleTable 1 }
|
404
|
+
|
405
|
+
NsModuleEntry ::= SEQUENCE {
|
406
|
+
nsmContextName SnmpAdminString,
|
407
|
+
nsmRegistrationPoint OBJECT IDENTIFIER,
|
408
|
+
nsmRegistrationPriority INTEGER,
|
409
|
+
nsModuleName DisplayString,
|
410
|
+
nsModuleModes BITS,
|
411
|
+
nsModuleTimeout Integer32
|
412
|
+
}
|
413
|
+
|
414
|
+
nsmContextName OBJECT-TYPE
|
415
|
+
SYNTAX SnmpAdminString
|
416
|
+
MAX-ACCESS not-accessible
|
417
|
+
STATUS current
|
418
|
+
DESCRIPTION
|
419
|
+
"The context name the module is registered under."
|
420
|
+
::= { nsModuleEntry 1 }
|
421
|
+
|
422
|
+
nsmRegistrationPoint OBJECT-TYPE
|
423
|
+
SYNTAX OBJECT IDENTIFIER
|
424
|
+
MAX-ACCESS not-accessible
|
425
|
+
STATUS current
|
426
|
+
DESCRIPTION
|
427
|
+
"The registry OID of a mib module."
|
428
|
+
::= { nsModuleEntry 2 }
|
429
|
+
|
430
|
+
nsmRegistrationPriority OBJECT-TYPE
|
431
|
+
SYNTAX INTEGER (-2147483648..2147483647)
|
432
|
+
MAX-ACCESS not-accessible
|
433
|
+
STATUS current
|
434
|
+
DESCRIPTION
|
435
|
+
"The priority of the registered mib module."
|
436
|
+
::= { nsModuleEntry 3 }
|
437
|
+
|
438
|
+
nsModuleName OBJECT-TYPE
|
439
|
+
SYNTAX DisplayString
|
440
|
+
MAX-ACCESS read-only
|
441
|
+
STATUS current
|
442
|
+
DESCRIPTION
|
443
|
+
"The module name that registered this OID."
|
444
|
+
::= { nsModuleEntry 4 }
|
445
|
+
|
446
|
+
nsModuleModes OBJECT-TYPE
|
447
|
+
SYNTAX BITS { getAndGetNext(0), set(1), getBulk(2) }
|
448
|
+
MAX-ACCESS read-only
|
449
|
+
STATUS current
|
450
|
+
DESCRIPTION
|
451
|
+
"The modes that the particular lower level handler can cope
|
452
|
+
with directly."
|
453
|
+
::= { nsModuleEntry 5 }
|
454
|
+
|
455
|
+
nsModuleTimeout OBJECT-TYPE
|
456
|
+
SYNTAX Integer32
|
457
|
+
MAX-ACCESS read-only
|
458
|
+
STATUS current
|
459
|
+
DESCRIPTION
|
460
|
+
"The registered timeout. This is only meaningful for handlers
|
461
|
+
that expect to return results at a later date (subagents,
|
462
|
+
etc)"
|
463
|
+
::= { nsModuleEntry 6 }
|
464
|
+
|
465
|
+
|
466
|
+
--
|
467
|
+
-- Notifications relating to the basic operation of the agent
|
468
|
+
--
|
469
|
+
|
470
|
+
nsNotifyStart NOTIFICATION-TYPE
|
471
|
+
STATUS current
|
472
|
+
DESCRIPTION
|
473
|
+
"An indication that the agent has started running."
|
474
|
+
::= { netSnmpNotifications 1 }
|
475
|
+
|
476
|
+
nsNotifyShutdown NOTIFICATION-TYPE
|
477
|
+
STATUS current
|
478
|
+
DESCRIPTION
|
479
|
+
"An indication that the agent is in the process of being shut down."
|
480
|
+
::= { netSnmpNotifications 2 }
|
481
|
+
|
482
|
+
nsNotifyRestart NOTIFICATION-TYPE
|
483
|
+
STATUS current
|
484
|
+
DESCRIPTION
|
485
|
+
"An indication that the agent has been restarted.
|
486
|
+
This does not imply anything about whether the configuration has
|
487
|
+
changed or not (unlike the standard coldStart or warmStart traps)"
|
488
|
+
::= { netSnmpNotifications 3 }
|
489
|
+
|
490
|
+
|
491
|
+
--
|
492
|
+
-- Conformance-related definitions
|
493
|
+
--
|
494
|
+
|
495
|
+
nsModuleGroup OBJECT-GROUP
|
496
|
+
OBJECTS {
|
497
|
+
nsModuleName, nsModuleModes, nsModuleTimeout
|
498
|
+
}
|
499
|
+
STATUS current
|
500
|
+
DESCRIPTION
|
501
|
+
"The objects relating to the list of MIB modules registered
|
502
|
+
with the Net-SNMP agent."
|
503
|
+
::= { netSnmpGroups 2 }
|
504
|
+
|
505
|
+
nsCacheGroup OBJECT-GROUP
|
506
|
+
OBJECTS {
|
507
|
+
nsCacheDefaultTimeout, nsCacheEnabled,
|
508
|
+
nsCacheTimeout, nsCacheStatus
|
509
|
+
}
|
510
|
+
STATUS current
|
511
|
+
DESCRIPTION
|
512
|
+
"The objects relating to data caching in the Net-SNMP agent."
|
513
|
+
::= { netSnmpGroups 4 }
|
514
|
+
|
515
|
+
nsConfigGroups OBJECT IDENTIFIER ::= {netSnmpGroups 7}
|
516
|
+
|
517
|
+
nsDebugGroup OBJECT-GROUP
|
518
|
+
OBJECTS {
|
519
|
+
nsDebugEnabled, nsDebugOutputAll, nsDebugDumpPdu,
|
520
|
+
nsDebugTokenStatus
|
521
|
+
}
|
522
|
+
STATUS current
|
523
|
+
DESCRIPTION
|
524
|
+
"The objects relating to debug configuration in the Net-SNMP agent."
|
525
|
+
::= { nsConfigGroups 1 }
|
526
|
+
|
527
|
+
nsLoggingGroup OBJECT-GROUP
|
528
|
+
OBJECTS {
|
529
|
+
nsLogType, nsLogMaxLevel, nsLogStatus
|
530
|
+
}
|
531
|
+
STATUS current
|
532
|
+
DESCRIPTION
|
533
|
+
"The objects relating to logging configuration in the Net-SNMP agent."
|
534
|
+
::= { nsConfigGroups 2 }
|
535
|
+
|
536
|
+
nsTransactionGroup OBJECT-GROUP
|
537
|
+
OBJECTS {
|
538
|
+
nsTransactionMode
|
539
|
+
}
|
540
|
+
STATUS current
|
541
|
+
DESCRIPTION
|
542
|
+
"The objects relating to transaction monitoring in the Net-SNMP agent."
|
543
|
+
::= { netSnmpGroups 8 }
|
544
|
+
|
545
|
+
nsAgentNotifyGroup NOTIFICATION-GROUP
|
546
|
+
NOTIFICATIONS { nsNotifyStart, nsNotifyShutdown, nsNotifyRestart }
|
547
|
+
STATUS current
|
548
|
+
DESCRIPTION
|
549
|
+
"The notifications relating to the basic operation of the Net-SNMP agent."
|
550
|
+
::= { netSnmpGroups 9 }
|
551
|
+
|
552
|
+
|
553
|
+
|
554
|
+
END
|