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,160 @@
|
|
1
|
+
SMUX-MIB DEFINITIONS ::= BEGIN
|
2
|
+
|
3
|
+
IMPORTS
|
4
|
+
enterprises
|
5
|
+
FROM RFC1155-SMI
|
6
|
+
DisplayString
|
7
|
+
FROM SNMPv2-TC
|
8
|
+
OBJECT-TYPE
|
9
|
+
FROM RFC-1212;
|
10
|
+
|
11
|
+
unix OBJECT IDENTIFIER ::= { enterprises 4 }
|
12
|
+
|
13
|
+
smux OBJECT IDENTIFIER ::= { unix 4 }
|
14
|
+
|
15
|
+
smuxPeerTable OBJECT-TYPE
|
16
|
+
SYNTAX SEQUENCE OF SmuxPeerEntry
|
17
|
+
ACCESS not-accessible
|
18
|
+
STATUS mandatory
|
19
|
+
DESCRIPTION
|
20
|
+
"The SMUX peer table."
|
21
|
+
::= { smux 1 }
|
22
|
+
|
23
|
+
smuxPeerEntry OBJECT-TYPE
|
24
|
+
SYNTAX SmuxPeerEntry
|
25
|
+
ACCESS not-accessible
|
26
|
+
STATUS mandatory
|
27
|
+
DESCRIPTION
|
28
|
+
"An entry in the SMUX peer table."
|
29
|
+
INDEX { smuxPindex }
|
30
|
+
::= { smuxPeerTable 1}
|
31
|
+
|
32
|
+
SmuxPeerEntry ::=
|
33
|
+
SEQUENCE {
|
34
|
+
smuxPindex
|
35
|
+
INTEGER,
|
36
|
+
smuxPidentity
|
37
|
+
OBJECT IDENTIFIER,
|
38
|
+
smuxPdescription
|
39
|
+
DisplayString,
|
40
|
+
smuxPstatus
|
41
|
+
INTEGER
|
42
|
+
}
|
43
|
+
|
44
|
+
smuxPindex OBJECT-TYPE
|
45
|
+
SYNTAX INTEGER
|
46
|
+
ACCESS read-only
|
47
|
+
STATUS mandatory
|
48
|
+
DESCRIPTION
|
49
|
+
"An index which uniquely identifies a SMUX peer."
|
50
|
+
::= { smuxPeerEntry 1 }
|
51
|
+
|
52
|
+
smuxPidentity OBJECT-TYPE
|
53
|
+
SYNTAX OBJECT IDENTIFIER
|
54
|
+
ACCESS read-only
|
55
|
+
STATUS mandatory
|
56
|
+
DESCRIPTION
|
57
|
+
"The authoritative designation for a SMUX peer."
|
58
|
+
::= { smuxPeerEntry 2 }
|
59
|
+
|
60
|
+
smuxPdescription OBJECT-TYPE
|
61
|
+
SYNTAX DisplayString (SIZE (0..255))
|
62
|
+
ACCESS read-only
|
63
|
+
STATUS mandatory
|
64
|
+
DESCRIPTION
|
65
|
+
"A human-readable description of a SMUX peer."
|
66
|
+
::= { smuxPeerEntry 3 }
|
67
|
+
|
68
|
+
smuxPstatus OBJECT-TYPE
|
69
|
+
SYNTAX INTEGER { valid(1), invalid(2), connecting(3) }
|
70
|
+
ACCESS read-write
|
71
|
+
STATUS mandatory
|
72
|
+
DESCRIPTION
|
73
|
+
"The type of SMUX peer.
|
74
|
+
|
75
|
+
Setting this object to the value invalid(2) has
|
76
|
+
the effect of invaliding the corresponding entry
|
77
|
+
in the smuxPeerTable. It is an implementation-
|
78
|
+
specific matter as to whether the agent removes an
|
79
|
+
invalidated entry from the table. Accordingly,
|
80
|
+
management stations must be prepared to receive
|
81
|
+
tabular information from agents that correspond to
|
82
|
+
entries not currently in use. Proper
|
83
|
+
interpretation of such entries requires
|
84
|
+
examination of the relative smuxPstatus object."
|
85
|
+
::= { smuxPeerEntry 4 }
|
86
|
+
|
87
|
+
smuxTreeTable OBJECT-TYPE
|
88
|
+
SYNTAX SEQUENCE OF SmuxTreeEntry
|
89
|
+
ACCESS not-accessible
|
90
|
+
STATUS mandatory
|
91
|
+
DESCRIPTION
|
92
|
+
"The SMUX tree table."
|
93
|
+
::= { smux 2 }
|
94
|
+
|
95
|
+
smuxTreeEntry OBJECT-TYPE
|
96
|
+
SYNTAX SmuxTreeEntry
|
97
|
+
ACCESS not-accessible
|
98
|
+
STATUS mandatory
|
99
|
+
DESCRIPTION
|
100
|
+
"An entry in the SMUX tree table."
|
101
|
+
INDEX { smuxTsubtree, smuxTpriority }
|
102
|
+
::= { smuxTreeTable 1}
|
103
|
+
|
104
|
+
SmuxTreeEntry ::=
|
105
|
+
SEQUENCE {
|
106
|
+
smuxTsubtree
|
107
|
+
OBJECT IDENTIFIER,
|
108
|
+
smuxTpriority
|
109
|
+
INTEGER,
|
110
|
+
smuxTindex
|
111
|
+
INTEGER,
|
112
|
+
smuxTstatus
|
113
|
+
INTEGER
|
114
|
+
}
|
115
|
+
|
116
|
+
smuxTsubtree OBJECT-TYPE
|
117
|
+
SYNTAX OBJECT IDENTIFIER
|
118
|
+
ACCESS read-only
|
119
|
+
STATUS mandatory
|
120
|
+
DESCRIPTION
|
121
|
+
"The MIB subtree being exported by a SMUX peer."
|
122
|
+
::= { smuxTreeEntry 1 }
|
123
|
+
|
124
|
+
smuxTpriority OBJECT-TYPE
|
125
|
+
SYNTAX INTEGER (0..'07fffffff'h)
|
126
|
+
ACCESS read-only
|
127
|
+
STATUS mandatory
|
128
|
+
DESCRIPTION
|
129
|
+
"The SMUX peer's priority when exporting the MIB
|
130
|
+
subtree."
|
131
|
+
::= { smuxTreeEntry 2 }
|
132
|
+
|
133
|
+
smuxTindex OBJECT-TYPE
|
134
|
+
SYNTAX INTEGER
|
135
|
+
ACCESS read-only
|
136
|
+
STATUS mandatory
|
137
|
+
DESCRIPTION
|
138
|
+
"The SMUX peer's identity."
|
139
|
+
::= { smuxTreeEntry 3 }
|
140
|
+
|
141
|
+
smuxTstatus OBJECT-TYPE
|
142
|
+
SYNTAX INTEGER { valid(1), invalid(2) }
|
143
|
+
ACCESS read-write
|
144
|
+
STATUS mandatory
|
145
|
+
DESCRIPTION
|
146
|
+
"The type of SMUX tree.
|
147
|
+
|
148
|
+
Setting this object to the value invalid(2) has
|
149
|
+
the effect of invaliding the corresponding entry
|
150
|
+
in the smuxTreeTable. It is an implementation-
|
151
|
+
specific matter as to whether the agent removes an
|
152
|
+
invalidated entry from the table. Accordingly,
|
153
|
+
management stations must be prepared to receive
|
154
|
+
tabular information from agents that correspond to
|
155
|
+
entries not currently in use. Proper
|
156
|
+
interpretation of such entries requires
|
157
|
+
examination of the relative smuxTstatus object."
|
158
|
+
::= { smuxTreeEntry 4 }
|
159
|
+
|
160
|
+
END
|
@@ -0,0 +1,429 @@
|
|
1
|
+
SNMP-COMMUNITY-MIB DEFINITIONS ::= BEGIN
|
2
|
+
|
3
|
+
IMPORTS
|
4
|
+
IpAddress,
|
5
|
+
MODULE-IDENTITY,
|
6
|
+
OBJECT-TYPE,
|
7
|
+
Integer32,
|
8
|
+
snmpModules
|
9
|
+
FROM SNMPv2-SMI
|
10
|
+
RowStatus,
|
11
|
+
StorageType
|
12
|
+
FROM SNMPv2-TC
|
13
|
+
SnmpAdminString,
|
14
|
+
SnmpEngineID
|
15
|
+
FROM SNMP-FRAMEWORK-MIB
|
16
|
+
SnmpTagValue,
|
17
|
+
snmpTargetAddrEntry
|
18
|
+
FROM SNMP-TARGET-MIB
|
19
|
+
MODULE-COMPLIANCE,
|
20
|
+
OBJECT-GROUP
|
21
|
+
FROM SNMPv2-CONF;
|
22
|
+
|
23
|
+
snmpCommunityMIB MODULE-IDENTITY
|
24
|
+
LAST-UPDATED "200003060000Z" -- 6 Mar 2000, midnight
|
25
|
+
ORGANIZATION "SNMPv3 Working Group"
|
26
|
+
CONTACT-INFO "WG-email: snmpv3@lists.tislabs.com
|
27
|
+
Subscribe: majordomo@lists.tislabs.com
|
28
|
+
In msg body: subscribe snmpv3
|
29
|
+
|
30
|
+
Chair: Russ Mundy
|
31
|
+
TIS Labs at Network Associates
|
32
|
+
Postal: 3060 Washington Rd
|
33
|
+
Glenwood MD 21738
|
34
|
+
USA
|
35
|
+
Email: mundy@tislabs.com
|
36
|
+
Phone: +1-301-854-6889
|
37
|
+
|
38
|
+
Co-editor: Rob Frye
|
39
|
+
CoSine Communications
|
40
|
+
Postal: 1200 Bridge Parkway
|
41
|
+
Redwood City, CA 94065
|
42
|
+
USA
|
43
|
+
E-mail: rfrye@cosinecom.com
|
44
|
+
Phone: +1 703 725 1130
|
45
|
+
|
46
|
+
Co-editor: David B. Levi
|
47
|
+
Nortel Networks
|
48
|
+
Postal: 3505 Kesterwood Drive
|
49
|
+
Knoxville, TN 37918
|
50
|
+
E-mail: dlevi@nortelnetworks.com
|
51
|
+
Phone: +1 423 686 0432
|
52
|
+
|
53
|
+
Co-editor: Shawn A. Routhier
|
54
|
+
Integrated Systems Inc.
|
55
|
+
Postal: 333 North Ave 4th Floor
|
56
|
+
Wakefield, MA 01880
|
57
|
+
E-mail: sar@epilogue.com
|
58
|
+
Phone: +1 781 245 0804
|
59
|
+
|
60
|
+
Co-editor: Bert Wijnen
|
61
|
+
Lucent Technologies
|
62
|
+
Postal: Schagen 33
|
63
|
+
3461 GL Linschoten
|
64
|
+
Netherlands
|
65
|
+
Email: bwijnen@lucent.com
|
66
|
+
Phone: +31-348-407-775
|
67
|
+
"
|
68
|
+
DESCRIPTION
|
69
|
+
"This MIB module defines objects to help support coexistence
|
70
|
+
between SNMPv1, SNMPv2c, and SNMPv3."
|
71
|
+
REVISION "200003060000Z" -- 6 Mar 2000
|
72
|
+
DESCRIPTION "This version published as RFC 2576."
|
73
|
+
REVISION "199905130000Z" -- 13 May 1999
|
74
|
+
DESCRIPTION "The Initial Revision"
|
75
|
+
::= { snmpModules 18 }
|
76
|
+
|
77
|
+
-- Administrative assignments ****************************************
|
78
|
+
|
79
|
+
snmpCommunityMIBObjects OBJECT IDENTIFIER ::= { snmpCommunityMIB 1 }
|
80
|
+
snmpCommunityMIBConformance OBJECT IDENTIFIER ::= { snmpCommunityMIB 2 }
|
81
|
+
|
82
|
+
--
|
83
|
+
-- The snmpCommunityTable contains a database of community strings.
|
84
|
+
-- This table provides mappings between community strings, and the
|
85
|
+
|
86
|
+
-- parameters required for View-based Access Control.
|
87
|
+
--
|
88
|
+
|
89
|
+
snmpCommunityTable OBJECT-TYPE
|
90
|
+
SYNTAX SEQUENCE OF SnmpCommunityEntry
|
91
|
+
MAX-ACCESS not-accessible
|
92
|
+
STATUS current
|
93
|
+
DESCRIPTION
|
94
|
+
"The table of community strings configured in the SNMP
|
95
|
+
engine's Local Configuration Datastore (LCD)."
|
96
|
+
::= { snmpCommunityMIBObjects 1 }
|
97
|
+
|
98
|
+
snmpCommunityEntry OBJECT-TYPE
|
99
|
+
SYNTAX SnmpCommunityEntry
|
100
|
+
MAX-ACCESS not-accessible
|
101
|
+
STATUS current
|
102
|
+
DESCRIPTION
|
103
|
+
"Information about a particular community string."
|
104
|
+
INDEX { IMPLIED snmpCommunityIndex }
|
105
|
+
::= { snmpCommunityTable 1 }
|
106
|
+
|
107
|
+
SnmpCommunityEntry ::= SEQUENCE {
|
108
|
+
snmpCommunityIndex SnmpAdminString,
|
109
|
+
snmpCommunityName OCTET STRING,
|
110
|
+
snmpCommunitySecurityName SnmpAdminString,
|
111
|
+
snmpCommunityContextEngineID SnmpEngineID,
|
112
|
+
snmpCommunityContextName SnmpAdminString,
|
113
|
+
snmpCommunityTransportTag SnmpTagValue,
|
114
|
+
snmpCommunityStorageType StorageType,
|
115
|
+
snmpCommunityStatus RowStatus
|
116
|
+
}
|
117
|
+
|
118
|
+
snmpCommunityIndex OBJECT-TYPE
|
119
|
+
SYNTAX SnmpAdminString (SIZE(1..32))
|
120
|
+
MAX-ACCESS not-accessible
|
121
|
+
STATUS current
|
122
|
+
DESCRIPTION
|
123
|
+
"The unique index value of a row in this table."
|
124
|
+
::= { snmpCommunityEntry 1 }
|
125
|
+
|
126
|
+
snmpCommunityName OBJECT-TYPE
|
127
|
+
SYNTAX OCTET STRING
|
128
|
+
MAX-ACCESS read-create
|
129
|
+
STATUS current
|
130
|
+
DESCRIPTION
|
131
|
+
"The community string for which a row in this table
|
132
|
+
represents a configuration."
|
133
|
+
::= { snmpCommunityEntry 2 }
|
134
|
+
|
135
|
+
snmpCommunitySecurityName OBJECT-TYPE
|
136
|
+
SYNTAX SnmpAdminString (SIZE(1..32))
|
137
|
+
MAX-ACCESS read-create
|
138
|
+
STATUS current
|
139
|
+
DESCRIPTION
|
140
|
+
"A human readable string representing the corresponding
|
141
|
+
value of snmpCommunityName in a Security Model
|
142
|
+
independent format."
|
143
|
+
::= { snmpCommunityEntry 3 }
|
144
|
+
|
145
|
+
snmpCommunityContextEngineID OBJECT-TYPE
|
146
|
+
SYNTAX SnmpEngineID
|
147
|
+
MAX-ACCESS read-create
|
148
|
+
STATUS current
|
149
|
+
DESCRIPTION
|
150
|
+
"The contextEngineID indicating the location of the
|
151
|
+
context in which management information is accessed
|
152
|
+
when using the community string specified by the
|
153
|
+
corresponding instance of snmpCommunityName.
|
154
|
+
|
155
|
+
The default value is the snmpEngineID of the entity in
|
156
|
+
which this object is instantiated."
|
157
|
+
::= { snmpCommunityEntry 4 }
|
158
|
+
|
159
|
+
snmpCommunityContextName OBJECT-TYPE
|
160
|
+
SYNTAX SnmpAdminString (SIZE(0..32))
|
161
|
+
MAX-ACCESS read-create
|
162
|
+
STATUS current
|
163
|
+
DESCRIPTION
|
164
|
+
"The context in which management information is accessed
|
165
|
+
when using the community string specified by the corresponding
|
166
|
+
instance of snmpCommunityName."
|
167
|
+
DEFVAL { ''H } -- the empty string
|
168
|
+
::= { snmpCommunityEntry 5 }
|
169
|
+
|
170
|
+
snmpCommunityTransportTag OBJECT-TYPE
|
171
|
+
SYNTAX SnmpTagValue
|
172
|
+
MAX-ACCESS read-create
|
173
|
+
STATUS current
|
174
|
+
DESCRIPTION
|
175
|
+
"This object specifies a set of transport endpoints
|
176
|
+
from which a command responder application will accept
|
177
|
+
management requests. If a management request containing
|
178
|
+
this community is received on a transport endpoint other
|
179
|
+
than the transport endpoints identified by this object,
|
180
|
+
the request is deemed unauthentic.
|
181
|
+
|
182
|
+
The transports identified by this object are specified
|
183
|
+
|
184
|
+
in the snmpTargetAddrTable. Entries in that table
|
185
|
+
whose snmpTargetAddrTagList contains this tag value
|
186
|
+
are identified.
|
187
|
+
|
188
|
+
If the value of this object has zero-length, transport
|
189
|
+
endpoints are not checked when authenticating messages
|
190
|
+
containing this community string."
|
191
|
+
DEFVAL { ''H } -- the empty string
|
192
|
+
::= { snmpCommunityEntry 6 }
|
193
|
+
|
194
|
+
snmpCommunityStorageType OBJECT-TYPE
|
195
|
+
SYNTAX StorageType
|
196
|
+
MAX-ACCESS read-create
|
197
|
+
STATUS current
|
198
|
+
DESCRIPTION
|
199
|
+
"The storage type for this conceptual row in the
|
200
|
+
snmpCommunityTable. Conceptual rows having the value
|
201
|
+
'permanent' need not allow write-access to any
|
202
|
+
columnar object in the row."
|
203
|
+
::= { snmpCommunityEntry 7 }
|
204
|
+
|
205
|
+
snmpCommunityStatus OBJECT-TYPE
|
206
|
+
SYNTAX RowStatus
|
207
|
+
MAX-ACCESS read-create
|
208
|
+
STATUS current
|
209
|
+
DESCRIPTION
|
210
|
+
"The status of this conceptual row in the snmpCommunityTable.
|
211
|
+
|
212
|
+
An entry in this table is not qualified for activation
|
213
|
+
until instances of all corresponding columns have been
|
214
|
+
initialized, either through default values, or through
|
215
|
+
Set operations. The snmpCommunityName and
|
216
|
+
snmpCommunitySecurityName objects must be explicitly set.
|
217
|
+
|
218
|
+
There is no restriction on setting columns in this table
|
219
|
+
when the value of snmpCommunityStatus is active(1)."
|
220
|
+
::= { snmpCommunityEntry 8 }
|
221
|
+
|
222
|
+
--
|
223
|
+
-- The snmpTargetAddrExtTable
|
224
|
+
--
|
225
|
+
|
226
|
+
snmpTargetAddrExtTable OBJECT-TYPE
|
227
|
+
SYNTAX SEQUENCE OF SnmpTargetAddrExtEntry
|
228
|
+
MAX-ACCESS not-accessible
|
229
|
+
STATUS current
|
230
|
+
DESCRIPTION
|
231
|
+
"The table of mask and mms values associated with the
|
232
|
+
|
233
|
+
snmpTargetAddrTable.
|
234
|
+
|
235
|
+
The snmpTargetAddrExtTable augments the
|
236
|
+
snmpTargetAddrTable with a transport address mask value
|
237
|
+
and a maximum message size value. The transport address
|
238
|
+
mask allows entries in the snmpTargetAddrTable to define
|
239
|
+
a set of addresses instead of just a single address.
|
240
|
+
The maximum message size value allows the maximum
|
241
|
+
message size of another SNMP entity to be configured for
|
242
|
+
use in SNMPv1 (and SNMPv2c) transactions, where the
|
243
|
+
message format does not specify a maximum message size."
|
244
|
+
::= { snmpCommunityMIBObjects 2 }
|
245
|
+
|
246
|
+
snmpTargetAddrExtEntry OBJECT-TYPE
|
247
|
+
SYNTAX SnmpTargetAddrExtEntry
|
248
|
+
MAX-ACCESS not-accessible
|
249
|
+
STATUS current
|
250
|
+
DESCRIPTION
|
251
|
+
"Information about a particular mask and mms value."
|
252
|
+
AUGMENTS { snmpTargetAddrEntry }
|
253
|
+
::= { snmpTargetAddrExtTable 1 }
|
254
|
+
|
255
|
+
SnmpTargetAddrExtEntry ::= SEQUENCE {
|
256
|
+
snmpTargetAddrTMask OCTET STRING,
|
257
|
+
snmpTargetAddrMMS Integer32
|
258
|
+
}
|
259
|
+
|
260
|
+
snmpTargetAddrTMask OBJECT-TYPE
|
261
|
+
SYNTAX OCTET STRING (SIZE (0..255))
|
262
|
+
MAX-ACCESS read-create
|
263
|
+
STATUS current
|
264
|
+
DESCRIPTION
|
265
|
+
"The mask value associated with an entry in the
|
266
|
+
snmpTargetAddrTable. The value of this object must
|
267
|
+
have the same length as the corresponding instance of
|
268
|
+
snmpTargetAddrTAddress, or must have length 0. An
|
269
|
+
attempt to set it to any other value will result in
|
270
|
+
an inconsistentValue error.
|
271
|
+
|
272
|
+
The value of this object allows an entry in the
|
273
|
+
snmpTargetAddrTable to specify multiple addresses.
|
274
|
+
The mask value is used to select which bits of
|
275
|
+
a transport address must match bits of the corresponding
|
276
|
+
instance of snmpTargetAddrTAddress, in order for the
|
277
|
+
transport address to match a particular entry in the
|
278
|
+
snmpTargetAddrTable. Bits which are 1 in the mask
|
279
|
+
value indicate bits in the transport address which
|
280
|
+
must match bits in the snmpTargetAddrTAddress value.
|
281
|
+
|
282
|
+
Bits which are 0 in the mask indicate bits in the
|
283
|
+
transport address which need not match. If the
|
284
|
+
length of the mask is 0, the mask should be treated
|
285
|
+
as if all its bits were 1 and its length were equal
|
286
|
+
to the length of the corresponding value of
|
287
|
+
snmpTargetAddrTable.
|
288
|
+
|
289
|
+
This object may not be modified while the value of the
|
290
|
+
corresponding instance of snmpTargetAddrRowStatus is
|
291
|
+
active(1). An attempt to set this object in this case
|
292
|
+
will result in an inconsistentValue error."
|
293
|
+
DEFVAL { ''H }
|
294
|
+
::= { snmpTargetAddrExtEntry 1 }
|
295
|
+
|
296
|
+
snmpTargetAddrMMS OBJECT-TYPE
|
297
|
+
SYNTAX Integer32 (0|484..2147483647)
|
298
|
+
MAX-ACCESS read-create
|
299
|
+
STATUS current
|
300
|
+
DESCRIPTION
|
301
|
+
"The maximum message size value associated with an entry
|
302
|
+
in the snmpTargetAddrTable."
|
303
|
+
DEFVAL { 484 }
|
304
|
+
::= { snmpTargetAddrExtEntry 2 }
|
305
|
+
|
306
|
+
--
|
307
|
+
-- The snmpTrapAddress and snmpTrapCommunity objects are included
|
308
|
+
-- in notifications that are forwarded by a proxy, which were
|
309
|
+
-- originally received as SNMPv1 Trap messages.
|
310
|
+
--
|
311
|
+
|
312
|
+
snmpTrapAddress OBJECT-TYPE
|
313
|
+
SYNTAX IpAddress
|
314
|
+
MAX-ACCESS accessible-for-notify
|
315
|
+
STATUS current
|
316
|
+
DESCRIPTION
|
317
|
+
"The value of the agent-addr field of a Trap PDU which
|
318
|
+
is forwarded by a proxy forwarder application using
|
319
|
+
an SNMP version other than SNMPv1. The value of this
|
320
|
+
object SHOULD contain the value of the agent-addr field
|
321
|
+
from the original Trap PDU as generated by an SNMPv1
|
322
|
+
agent."
|
323
|
+
::= { snmpCommunityMIBObjects 3 }
|
324
|
+
|
325
|
+
snmpTrapCommunity OBJECT-TYPE
|
326
|
+
SYNTAX OCTET STRING
|
327
|
+
MAX-ACCESS accessible-for-notify
|
328
|
+
STATUS current
|
329
|
+
DESCRIPTION
|
330
|
+
"The value of the community string field of an SNMPv1
|
331
|
+
message containing a Trap PDU which is forwarded by a
|
332
|
+
a proxy forwarder application using an SNMP version
|
333
|
+
other than SNMPv1. The value of this object SHOULD
|
334
|
+
contain the value of the community string field from
|
335
|
+
the original SNMPv1 message containing a Trap PDU as
|
336
|
+
generated by an SNMPv1 agent."
|
337
|
+
::= { snmpCommunityMIBObjects 4 }
|
338
|
+
|
339
|
+
-- Conformance Information *******************************************
|
340
|
+
|
341
|
+
snmpCommunityMIBCompliances OBJECT IDENTIFIER
|
342
|
+
::= { snmpCommunityMIBConformance 1 }
|
343
|
+
snmpCommunityMIBGroups OBJECT IDENTIFIER
|
344
|
+
::= { snmpCommunityMIBConformance 2 }
|
345
|
+
|
346
|
+
-- Compliance statements
|
347
|
+
|
348
|
+
snmpCommunityMIBCompliance MODULE-COMPLIANCE
|
349
|
+
STATUS current
|
350
|
+
DESCRIPTION
|
351
|
+
"The compliance statement for SNMP engines which
|
352
|
+
implement the SNMP-COMMUNITY-MIB."
|
353
|
+
|
354
|
+
MODULE -- this module
|
355
|
+
MANDATORY-GROUPS { snmpCommunityGroup }
|
356
|
+
|
357
|
+
OBJECT snmpCommunityName
|
358
|
+
MIN-ACCESS read-only
|
359
|
+
DESCRIPTION "Write access is not required."
|
360
|
+
|
361
|
+
OBJECT snmpCommunitySecurityName
|
362
|
+
MIN-ACCESS read-only
|
363
|
+
DESCRIPTION "Write access is not required."
|
364
|
+
|
365
|
+
OBJECT snmpCommunityContextEngineID
|
366
|
+
MIN-ACCESS read-only
|
367
|
+
DESCRIPTION "Write access is not required."
|
368
|
+
|
369
|
+
OBJECT snmpCommunityContextName
|
370
|
+
MIN-ACCESS read-only
|
371
|
+
DESCRIPTION "Write access is not required."
|
372
|
+
|
373
|
+
OBJECT snmpCommunityTransportTag
|
374
|
+
MIN-ACCESS read-only
|
375
|
+
DESCRIPTION "Write access is not required."
|
376
|
+
|
377
|
+
OBJECT snmpCommunityStorageType
|
378
|
+
MIN-ACCESS read-only
|
379
|
+
DESCRIPTION "Write access is not required."
|
380
|
+
|
381
|
+
OBJECT snmpCommunityStatus
|
382
|
+
MIN-ACCESS read-only
|
383
|
+
DESCRIPTION "Write access is not required."
|
384
|
+
::= { snmpCommunityMIBCompliances 1 }
|
385
|
+
|
386
|
+
snmpProxyTrapForwardCompliance MODULE-COMPLIANCE
|
387
|
+
STATUS current
|
388
|
+
DESCRIPTION
|
389
|
+
"The compliance statement for SNMP engines which
|
390
|
+
contain a proxy forwarding application which is
|
391
|
+
capable of forwarding SNMPv1 traps using SNMPv2c
|
392
|
+
or SNMPv3."
|
393
|
+
MODULE -- this module
|
394
|
+
MANDATORY-GROUPS { snmpProxyTrapForwardGroup }
|
395
|
+
::= { snmpCommunityMIBCompliances 2 }
|
396
|
+
|
397
|
+
snmpCommunityGroup OBJECT-GROUP
|
398
|
+
OBJECTS {
|
399
|
+
snmpCommunityName,
|
400
|
+
snmpCommunitySecurityName,
|
401
|
+
snmpCommunityContextEngineID,
|
402
|
+
snmpCommunityContextName,
|
403
|
+
snmpCommunityTransportTag,
|
404
|
+
snmpCommunityStorageType,
|
405
|
+
snmpCommunityStatus,
|
406
|
+
snmpTargetAddrTMask,
|
407
|
+
snmpTargetAddrMMS
|
408
|
+
}
|
409
|
+
STATUS current
|
410
|
+
DESCRIPTION
|
411
|
+
"A collection of objects providing for configuration
|
412
|
+
of community strings for SNMPv1 (and SNMPv2c) usage."
|
413
|
+
::= { snmpCommunityMIBGroups 1 }
|
414
|
+
|
415
|
+
snmpProxyTrapForwardGroup OBJECT-GROUP
|
416
|
+
OBJECTS {
|
417
|
+
snmpTrapAddress,
|
418
|
+
snmpTrapCommunity
|
419
|
+
}
|
420
|
+
STATUS current
|
421
|
+
DESCRIPTION
|
422
|
+
"Objects which are used by proxy forwarding applications
|
423
|
+
when translating traps between SNMP versions. These are
|
424
|
+
used to preserve SNMPv1-specific information when
|
425
|
+
|
426
|
+
translating to SNMPv2c or SNMPv3."
|
427
|
+
::= { snmpCommunityMIBGroups 3 }
|
428
|
+
|
429
|
+
END
|