line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Router::Statistics::OID; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
7
|
use strict vars; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
1707
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Router::Statistics::OID - OID Module for Router::Statistics |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 VERSION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Version 1.45 |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our $VERSION = '1.45'; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 SYNOPSIS |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
This module provides the OID to name mappings required by the Router::Statistics |
18
|
|
|
|
|
|
|
module. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 FUNCTIONS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
These functions are used internally to Router::Statistics however may become more |
23
|
|
|
|
|
|
|
'friendly' in the future. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
telnet_commands |
26
|
|
|
|
|
|
|
CPE_populate_oid |
27
|
|
|
|
|
|
|
CPE_DOCSIS_populate_oid ( currently CPE_populate_oid wraps this for backward compatibility ) |
28
|
|
|
|
|
|
|
Router_Link_Map_oid |
29
|
|
|
|
|
|
|
Router_inventory_oid |
30
|
|
|
|
|
|
|
Router_interface_oid |
31
|
|
|
|
|
|
|
Host_populate_oid |
32
|
|
|
|
|
|
|
STM_populate_oid |
33
|
|
|
|
|
|
|
DOCSIS_populate_oid |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
# Andrew S. Kennedy ( shamrock@cpan.org ) |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
sub new { |
40
|
|
|
|
|
|
|
|
41
|
0
|
|
|
0
|
0
|
|
my $self = {}; |
42
|
0
|
|
|
|
|
|
bless $self; |
43
|
|
|
|
|
|
|
|
44
|
0
|
|
|
|
|
|
my ( $class , $attr ) =@_; |
45
|
|
|
|
|
|
|
|
46
|
0
|
|
|
|
|
|
while (my($field, $val) = splice(@{$attr}, 0, 2)) |
|
0
|
|
|
|
|
|
|
47
|
0
|
|
|
|
|
|
{ $self->{_GLOBAL}{$field}=$val; } |
48
|
|
|
|
|
|
|
|
49
|
0
|
|
|
|
|
|
$self->{_GLOBAL}{'STATUS'}="OK"; |
50
|
|
|
|
|
|
|
|
51
|
0
|
|
|
|
|
|
return $self; |
52
|
|
|
|
|
|
|
} |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
sub telnet_commands |
55
|
|
|
|
|
|
|
{ |
56
|
0
|
|
|
0
|
0
|
|
my %telnet_command_set = |
57
|
|
|
|
|
|
|
( |
58
|
|
|
|
|
|
|
'termline' => 'dGVybSBsZW4gMA==', |
59
|
|
|
|
|
|
|
'stm_command' => 'c2ggY2FibGUgc3Vic2NyaWJlci11c2FnZSB8IGluY2x1ZGUgQWN0', |
60
|
|
|
|
|
|
|
'page_off' => 'cGFnZSBvZmY=', |
61
|
|
|
|
|
|
|
'show_running_config' => 'c2hvdyBydW5uaW5nLWNvbmZpZw==' |
62
|
|
|
|
|
|
|
); |
63
|
0
|
|
|
|
|
|
return \%telnet_command_set; |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
sub CPE_populate_oid |
67
|
|
|
|
|
|
|
{ |
68
|
0
|
|
|
0
|
0
|
|
return CPE_DOCSIS_populate_oid(); |
69
|
|
|
|
|
|
|
} |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
sub CPE_DOCSIS_populate_oid |
72
|
|
|
|
|
|
|
{ |
73
|
0
|
|
|
0
|
0
|
|
my %snmp_usable_oid = |
74
|
|
|
|
|
|
|
( |
75
|
|
|
|
|
|
|
'sysDescr' => '1.3.6.1.2.1.1.1.0', |
76
|
|
|
|
|
|
|
'sysUpTime' => '1.3.6.1.2.1.1.3.0', |
77
|
|
|
|
|
|
|
'sysORDescr' => '1.3.6.1.2.1.1.9.0', |
78
|
|
|
|
|
|
|
'docsDevSwCurrentVers' => '1.3.6.1.2.1.69.1.3.5.0', |
79
|
|
|
|
|
|
|
'ifPhysAddress' => '1.3.6.1.2.1.2.2.1.6.1', |
80
|
|
|
|
|
|
|
'DownStreamFrequency' => '1.3.6.1.2.1.10.127.1.1.1.1.2.3', |
81
|
|
|
|
|
|
|
'DownStreamWidth' => '1.3.6.1.2.1.10.127.1.1.1.1.3.3', |
82
|
|
|
|
|
|
|
'UpStreamFrequency' => '1.3.6.1.2.1.10.127.1.1.2.1.2.4', |
83
|
|
|
|
|
|
|
'UpStreamWidth' => '1.3.6.1.2.1.10.127.1.1.2.1.3.4', |
84
|
|
|
|
|
|
|
'SoftwareVersion' => '1.3.6.1.2.1.69.1.3.5.0', |
85
|
|
|
|
|
|
|
'DOCSISFileName' => '1.3.6.1.2.1.69.1.4.5.0', |
86
|
|
|
|
|
|
|
'DOCSISUpstreamWidth' => '1.3.6.1.2.1.10.127.1.1.3.1.3.1', |
87
|
|
|
|
|
|
|
'DOCSISDownstreamWidth' => '1.3.6.1.2.1.10.127.1.1.3.1.5.1', |
88
|
|
|
|
|
|
|
'docsIfSigQIncludesContention' => '1.3.6.1.2.1.10.127.1.1.4.1.1.3', |
89
|
|
|
|
|
|
|
'docsIfSigQUnerroreds' => '1.3.6.1.2.1.10.127.1.1.4.1.2.3', |
90
|
|
|
|
|
|
|
'docsIfSigQCorrecteds' => '1.3.6.1.2.1.10.127.1.1.4.1.3.3', |
91
|
|
|
|
|
|
|
'docsIfSigQUncorrectables' => '1.3.6.1.2.1.10.127.1.1.4.1.4.3', |
92
|
|
|
|
|
|
|
'docsIfSigQSignalNoise' => '1.3.6.1.2.1.10.127.1.1.4.1.5.3', |
93
|
|
|
|
|
|
|
'docsIfSigQMicroreflections' => '1.3.6.1.2.1.10.127.1.1.4.1.6.3', |
94
|
|
|
|
|
|
|
'docsIfSigQEqualizationData' => '1.3.6.1.2.1.10.127.1.1.4.1.7.3', |
95
|
|
|
|
|
|
|
'docsIfSigQExtUnerroreds' => '1.3.6.1.2.1.10.127.1.1.4.1.8.3', |
96
|
|
|
|
|
|
|
'docsIfSigQExtCorrecteds' => '1.3.6.1.2.1.10.127.1.1.4.1.9.3', |
97
|
|
|
|
|
|
|
'docsIfSigQExtUncorrectables' => '1.3.6.1.2.1.10.127.1.1.4.1.10.3', |
98
|
|
|
|
|
|
|
'docsIfCmCapabilities' => '1.3.6.1.2.1.10.127.1.2.1.1.2.0', |
99
|
|
|
|
|
|
|
'docsIfCmCapabilities1' => '1.3.6.1.2.1.10.127.1.2.1.1.2.1', |
100
|
|
|
|
|
|
|
'docsIfCmCapabilities2' => '1.3.6.1.2.1.10.127.1.2.1.1.2.2', |
101
|
|
|
|
|
|
|
'docsDevSwFilename' => '1.3.6.1.2.1.69.1.3.2.0', |
102
|
|
|
|
|
|
|
'docsDevSwServer' => '1.3.6.1.2.1.69.1.3.1.0', |
103
|
|
|
|
|
|
|
'docsDevSwAdminStatus' => '1.3.6.1.2.1.69.1.3.3.0', |
104
|
|
|
|
|
|
|
'docsDevResetNow' => '1.3.6.1.2.1.69.1.1.3.0' |
105
|
|
|
|
|
|
|
); |
106
|
0
|
|
|
|
|
|
return \%snmp_usable_oid; |
107
|
|
|
|
|
|
|
} |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
sub Router_Link_Map_oid |
110
|
|
|
|
|
|
|
{ |
111
|
0
|
|
|
0
|
0
|
|
my %snmp_usable_oid = |
112
|
|
|
|
|
|
|
( |
113
|
|
|
|
|
|
|
'PRIVATE_ipEnt' => '1.3.6.1.2.1.4.20.1', |
114
|
|
|
|
|
|
|
'ipAdEntAddr' => '1.3.6.1.2.1.4.20.1.1', |
115
|
|
|
|
|
|
|
'ipAdEntIfIndex' => '1.3.6.1.2.1.4.20.1.2', |
116
|
|
|
|
|
|
|
'ipAdEntNetMask' => '1.3.6.1.2.1.4.20.1.3', |
117
|
|
|
|
|
|
|
'PRIVATE_atEnt' => '1.3.6.1.2.1.3.1.1', |
118
|
|
|
|
|
|
|
'atIfIndex' => '1.3.6.1.2.1.3.1.1.1', |
119
|
|
|
|
|
|
|
'atPhysAddress' => '1.3.6.1.2.1.3.1.1.2', |
120
|
|
|
|
|
|
|
'atNetAddress' => '1.3.6.1.2.1.3.1.1.3', |
121
|
|
|
|
|
|
|
'portCrossIndex' => '1.3.6.1.4.1.9.5.1.4.1.1.3', |
122
|
|
|
|
|
|
|
'dot1dBasePortIfIndex' => '1.3.6.1.2.1.17.1.4.1.2', |
123
|
|
|
|
|
|
|
'dot1dTpFdbPort' => '1.3.6.1.2.1.17.4.3.1.2' |
124
|
|
|
|
|
|
|
); |
125
|
0
|
|
|
|
|
|
return \%snmp_usable_oid; |
126
|
|
|
|
|
|
|
} |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
sub Router_inventory_oid |
130
|
|
|
|
|
|
|
{ |
131
|
0
|
|
|
0
|
0
|
|
my %snmp_usable_oid = |
132
|
|
|
|
|
|
|
( |
133
|
|
|
|
|
|
|
'PRIVATE_inventory' => '1.3.6.1.2.1.47.1.1.1.1', |
134
|
|
|
|
|
|
|
'entPhysicalDescr' => '1.3.6.1.2.1.47.1.1.1.1.2', |
135
|
|
|
|
|
|
|
'entPhysicalParentRelPos' => '1.3.6.1.2.1.47.1.1.1.1.6', |
136
|
|
|
|
|
|
|
'entPhysicalName' => '1.3.6.1.2.1.47.1.1.1.1.7', |
137
|
|
|
|
|
|
|
'entPhysicalSerialNum' => '1.3.6.1.2.1.47.1.1.1.1.11', |
138
|
|
|
|
|
|
|
'entPhysicalModelName' => '1.3.6.1.2.1.47.1.1.1.1.13', |
139
|
|
|
|
|
|
|
'entPhysicalAssetID' => '1.3.6.1.2.1.47.1.1.1.1.15', |
140
|
|
|
|
|
|
|
'entPhysicalMfgDate' => '1.3.6.1.2.1.47.1.1.1.1.17' |
141
|
|
|
|
|
|
|
); |
142
|
0
|
|
|
|
|
|
return \%snmp_usable_oid; |
143
|
|
|
|
|
|
|
} |
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
sub Router_interface_oid_hc |
146
|
|
|
|
|
|
|
{ |
147
|
0
|
|
|
0
|
0
|
|
my %snmp_usable_oid = |
148
|
|
|
|
|
|
|
( |
149
|
|
|
|
|
|
|
'PRIVATE_interface_base' => '1.3.6.1.2.1.31.1.1.1', |
150
|
|
|
|
|
|
|
'ifName' => '1.3.6.1.2.1.31.1.1.1.1', |
151
|
|
|
|
|
|
|
'ifInMulticastPkts' => '1.3.6.1.2.1.31.1.1.1.2', |
152
|
|
|
|
|
|
|
'ifInBroadcastPkts' => '1.3.6.1.2.1.31.1.1.1.3', |
153
|
|
|
|
|
|
|
'ifOutMulticastPkts' => '1.3.6.1.2.1.31.1.1.1.4', |
154
|
|
|
|
|
|
|
'ifOutBroadcastPkts' => '1.3.6.1.2.1.31.1.1.1.5', |
155
|
|
|
|
|
|
|
'ifHCInOctets' => '1.3.6.1.2.1.31.1.1.1.6', |
156
|
|
|
|
|
|
|
'ifHCInUcastPkts' => '1.3.6.1.2.1.31.1.1.1.7', |
157
|
|
|
|
|
|
|
'ifHCInMulticastPkts' => '1.3.6.1.2.1.31.1.1.1.8', |
158
|
|
|
|
|
|
|
'ifHCInBroadcastPkts' => '1.3.6.1.2.1.31.1.1.1.9', |
159
|
|
|
|
|
|
|
'ifHCOutOctets' => '1.3.6.1.2.1.31.1.1.1.10', |
160
|
|
|
|
|
|
|
'ifHCOutUcastPkts' => '1.3.6.1.2.1.31.1.1.1.11', |
161
|
|
|
|
|
|
|
'ifHCOutMulticastPkts' => '1.3.6.1.2.1.31.1.1.1.12', |
162
|
|
|
|
|
|
|
'ifHCOutBroadcastPkts' => '1.3.6.1.2.1.31.1.1.1.13', |
163
|
|
|
|
|
|
|
'ifLinkUpDownTrapEnable' => '1.3.6.1.2.1.31.1.1.1.14', |
164
|
|
|
|
|
|
|
'ifHighSpeed' => '1.3.6.1.2.1.31.1.1.1.15', |
165
|
|
|
|
|
|
|
'ifPromiscuousMode' => '1.3.6.1.2.1.31.1.1.1.16', |
166
|
|
|
|
|
|
|
'ifConnectorPresent' => '1.3.6.1.2.1.31.1.1.1.17', |
167
|
|
|
|
|
|
|
'ifAlias' => '1.3.6.1.2.1.31.1.1.1.18', |
168
|
|
|
|
|
|
|
'ifCounterDiscontinuityTime' => '1.3.6.1.2.1.31.1.1.1.19' |
169
|
|
|
|
|
|
|
); |
170
|
0
|
|
|
|
|
|
return \%snmp_usable_oid; |
171
|
|
|
|
|
|
|
} |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
sub Router_interface_oid |
175
|
|
|
|
|
|
|
{ |
176
|
0
|
|
|
0
|
0
|
|
my %snmp_usable_oid = |
177
|
|
|
|
|
|
|
( |
178
|
|
|
|
|
|
|
'PRIVATE_interface_base' => '1.3.6.1.2.1.2.2.1', |
179
|
|
|
|
|
|
|
'ifDescr' => '1.3.6.1.2.1.2.2.1.2', |
180
|
|
|
|
|
|
|
'ifType' => '1.3.6.1.2.1.2.2.1.3', |
181
|
|
|
|
|
|
|
'ifMtu' => '1.3.6.1.2.1.2.2.1.4', |
182
|
|
|
|
|
|
|
'ifSpeed' => '1.3.6.1.2.1.2.2.1.5', |
183
|
|
|
|
|
|
|
'ifPhysAddress' => '1.3.6.1.2.1.2.2.1.6', |
184
|
|
|
|
|
|
|
'ifAdminStatus' => '1.3.6.1.2.1.2.2.1.7', |
185
|
|
|
|
|
|
|
'ifOperStatus' => '1.3.6.1.2.1.2.2.1.8', |
186
|
|
|
|
|
|
|
'ifLastChange' => '1.3.6.1.2.1.2.2.1.9', |
187
|
|
|
|
|
|
|
'ifInOctets' => '1.3.6.1.2.1.2.2.1.10', |
188
|
|
|
|
|
|
|
'ifInUcastPkts' => '1.3.6.1.2.1.2.2.1.11', |
189
|
|
|
|
|
|
|
'ifInNUcastPkts' => '1.3.6.1.2.1.2.2.1.12', |
190
|
|
|
|
|
|
|
'ifInDiscards' => '1.3.6.1.2.1.2.2.1.13', |
191
|
|
|
|
|
|
|
'ifInErrors' => '1.3.6.1.2.1.2.2.1.14', |
192
|
|
|
|
|
|
|
'ifInUnknownProtos' => '1.3.6.1.2.1.2.2.1.15', |
193
|
|
|
|
|
|
|
'ifOutOctets' => '1.3.6.1.2.1.2.2.1.16', |
194
|
|
|
|
|
|
|
'ifOutUcastPkts' => '1.3.6.1.2.1.2.2.1.17', |
195
|
|
|
|
|
|
|
'ifOutNUcastPkts' => '1.3.6.1.2.1.2.2.1.18', |
196
|
|
|
|
|
|
|
'ifOutDiscards' => '1.3.6.1.2.1.2.2.1.19', |
197
|
|
|
|
|
|
|
'ifOutErrors' => '1.3.6.1.2.1.2.2.1.20', |
198
|
|
|
|
|
|
|
'ifAlias' => '1.3.6.1.2.1.31.1.1.1.18' |
199
|
|
|
|
|
|
|
); |
200
|
0
|
|
|
|
|
|
return \%snmp_usable_oid |
201
|
|
|
|
|
|
|
} |
202
|
|
|
|
|
|
|
|
203
|
|
|
|
|
|
|
sub Host_populate_oid |
204
|
|
|
|
|
|
|
{ |
205
|
0
|
|
|
0
|
0
|
|
my %snmp_usable_oid = |
206
|
|
|
|
|
|
|
( |
207
|
|
|
|
|
|
|
'sysDescr' => '1.3.6.1.2.1.1.1.0', |
208
|
|
|
|
|
|
|
'sysUpTime' => '1.3.6.1.2.1.1.3.0', |
209
|
|
|
|
|
|
|
'sysName' => '1.3.6.1.2.1.1.5.0', |
210
|
|
|
|
|
|
|
'hostName' => '1.3.6.1.4.1.9.2.1.3.0', |
211
|
|
|
|
|
|
|
'whyReload' => '1.3.6.1.4.1.9.2.1.2.0', |
212
|
|
|
|
|
|
|
'entPhysicalDescr.1' => '1.3.6.1.2.1.47.1.1.1.1.2.1', |
213
|
|
|
|
|
|
|
'entPhysicalDescr.2' => '1.3.6.1.2.1.47.1.1.1.1.2.2' |
214
|
|
|
|
|
|
|
); |
215
|
0
|
|
|
|
|
|
return \%snmp_usable_oid; |
216
|
|
|
|
|
|
|
} |
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
sub ntp_populate_oid |
219
|
|
|
|
|
|
|
{ |
220
|
0
|
|
|
0
|
0
|
|
my %snmp_ntp_oid = |
221
|
|
|
|
|
|
|
( |
222
|
|
|
|
|
|
|
'cntpSysClock' => '1.3.6.1.4.1.9.9.168.1.1.10.0' |
223
|
|
|
|
|
|
|
); |
224
|
0
|
|
|
|
|
|
return \%snmp_ntp_oid; |
225
|
|
|
|
|
|
|
} |
226
|
|
|
|
|
|
|
|
227
|
|
|
|
|
|
|
sub STM_populate_oid |
228
|
|
|
|
|
|
|
{ |
229
|
0
|
|
|
0
|
0
|
|
my %snmp_stm_oid = |
230
|
|
|
|
|
|
|
( |
231
|
|
|
|
|
|
|
'PRIVATE_stm_rule_base' => '1.3.6.1.4.1.9.9.341.1.1.1', |
232
|
|
|
|
|
|
|
'PRIVATE_cqmCmtsEnfRuleName' => '1.3.6.1.4.1.9.9.341.1.1.1.1', |
233
|
|
|
|
|
|
|
'ccqmCmtsEnfRuleRegQoS' => '1.3.6.1.4.1.9.9.341.1.1.1.1.2', |
234
|
|
|
|
|
|
|
'ccqmCmtsEnfRuleEnfQos' => '1.3.6.1.4.1.9.9.341.1.1.1.1.3', |
235
|
|
|
|
|
|
|
'ccqmCmtsEnfRuleMonDuration' => '1.3.6.1.4.1.9.9.341.1.1.1.1.4', |
236
|
|
|
|
|
|
|
'ccqmCmtsEnfRuleSampleRate' => '1.3.6.1.4.1.9.9.341.1.1.1.1.5', |
237
|
|
|
|
|
|
|
'ccqmCmtsEnfRulePenaltyPeriod' => '1.3.6.1.4.1.9.9.341.1.1.1.1.6', |
238
|
|
|
|
|
|
|
'ccqmCmtsEnfRuleByteCount' => '1.3.6.1.4.1.9.9.341.1.1.1.1.7', |
239
|
|
|
|
|
|
|
'ccqmCmtsEnfRuleDirection' => '1.3.6.1.4.1.9.9.341.1.1.1.1.8', |
240
|
|
|
|
|
|
|
'ccqmCmtsEnfRuleAutoEnforce' => '1.3.6.1.4.1.9.9.341.1.1.1.1.9', |
241
|
|
|
|
|
|
|
'ccqmCmtsEnfRuleRowStatus' => '1.3.6.1.4.1.9.9.341.1.1.1.1.10', |
242
|
|
|
|
|
|
|
'ccqmCmtsEnfRuleStartTime' => '1.3.6.1.4.1.9.9.341.1.1.1.1.16', |
243
|
|
|
|
|
|
|
'ccqmCmtsEnfRuleDuration' => '1.3.6.1.4.1.9.9.341.1.1.1.1.17', |
244
|
|
|
|
|
|
|
'ccqmCmtsEnfRuleAverage' => '1.3.6.1.4.1.9.9.341.1.1.1.1.18', |
245
|
|
|
|
|
|
|
'PRIVATE_stm_base' => '1.3.6.1.4.1.9.9.341.1.2.2', |
246
|
|
|
|
|
|
|
'ccqmEnfRuleViolateID' => '1.3.6.1.4.1.9.9.341.1.2.2.1.1', |
247
|
|
|
|
|
|
|
'ccqmEnfRuleViolateMacAddr' => '1.3.6.1.4.1.9.9.341.1.2.2.1.2', |
248
|
|
|
|
|
|
|
'ccqmEnfRuleViolateRuleName' => '1.3.6.1.4.1.9.9.341.1.2.2.1.3', |
249
|
|
|
|
|
|
|
'ccqmEnfRuleViolateByteCount' => '1.3.6.1.4.1.9.9.341.1.2.2.1.4', |
250
|
|
|
|
|
|
|
'ccqmEnfRuleViolateLastDetectTime' => '1.3.6.1.4.1.9.9.341.1.2.2.1.5', |
251
|
|
|
|
|
|
|
'ccqmEnfRuleViolatePenaltyExpTime' => '1.3.6.1.4.1.9.9.341.1.2.2.1.6' |
252
|
|
|
|
|
|
|
); |
253
|
0
|
|
|
|
|
|
return \%snmp_stm_oid; |
254
|
|
|
|
|
|
|
} |
255
|
|
|
|
|
|
|
|
256
|
|
|
|
|
|
|
sub DOCSIS_Modulation |
257
|
|
|
|
|
|
|
{ |
258
|
0
|
|
|
0
|
0
|
|
my %profile_info = ( |
259
|
|
|
|
|
|
|
'PRIVATE_docsIfCmtsMod_base' => '.1.3.6.1.2.1.10.127.1.3.5.1', |
260
|
|
|
|
|
|
|
'docsIfCmtsModIndex' => '.1.3.6.1.2.1.10.127.1.3.5.1.1', |
261
|
|
|
|
|
|
|
'docsIfCmtsModIntervalUsageCode' => '.1.3.6.1.2.1.10.127.1.3.5.1.2', |
262
|
|
|
|
|
|
|
'docsIfCmtsModControl' => '.1.3.6.1.2.1.10.127.1.3.5.1.3', |
263
|
|
|
|
|
|
|
'docsIfCmtsModType' => '.1.3.6.1.2.1.10.127.1.3.5.1.4', |
264
|
|
|
|
|
|
|
'docsIfCmtsModPreambleLen' => '.1.3.6.1.2.1.10.127.1.3.5.1.5', |
265
|
|
|
|
|
|
|
'docsIfCmtsModDifferentialEncoding' => '.1.3.6.1.2.1.10.127.1.3.5.1.6', |
266
|
|
|
|
|
|
|
'docsIfCmtsModFECErrorCorrection' => '.1.3.6.1.2.1.10.127.1.3.5.1.7', |
267
|
|
|
|
|
|
|
'docsIfCmtsModFECCodewordLength' => '.1.3.6.1.2.1.10.127.1.3.5.1.8', |
268
|
|
|
|
|
|
|
'docsIfCmtsModScramblerSeed' => '.1.3.6.1.2.1.10.127.1.3.5.1.9', |
269
|
|
|
|
|
|
|
'docsIfCmtsModMaxBurstSize' => '.1.3.6.1.2.1.10.127.1.3.5.1.10', |
270
|
|
|
|
|
|
|
'docsIfCmtsModGuardTimeSize' => '.1.3.6.1.2.1.10.127.1.3.5.1.11', |
271
|
|
|
|
|
|
|
'docsIfCmtsModLastCodewordShortened' => '.1.3.6.1.2.1.10.127.1.3.5.1.12', |
272
|
|
|
|
|
|
|
'docsIfCmtsModScrambler' => '.1.3.6.1.2.1.10.127.1.3.5.1.13', |
273
|
|
|
|
|
|
|
'docsIfCmtsModByteInterleaverDepth' => '.1.3.6.1.2.1.10.127.1.3.5.1.14', |
274
|
|
|
|
|
|
|
'docsIfCmtsModByteInterleaverBlockSize' => '.1.3.6.1.2.1.10.127.1.3.5.1.15', |
275
|
|
|
|
|
|
|
'docsIfCmtsModPreambleType' => '.1.3.6.1.2.1.10.127.1.3.5.1.16', |
276
|
|
|
|
|
|
|
'docsIfCmtsModTcmErrorCorrectionOn' => '.1.3.6.1.2.1.10.127.1.3.5.1.17', |
277
|
|
|
|
|
|
|
'docsIfCmtsModScdmaInterleaverStepSize' => '.1.3.6.1.2.1.10.127.1.3.5.1.18', |
278
|
|
|
|
|
|
|
'docsIfCmtsModScdmaSpreaderEnable' => '.1.3.6.1.2.1.10.127.1.3.5.1.19', |
279
|
|
|
|
|
|
|
'docsIfCmtsModScdmaSubframeCodes' => '.1.3.6.1.2.1.10.127.1.3.5.1.20', |
280
|
|
|
|
|
|
|
'docsIfCmtsModChannelType' => '.1.3.6.1.2.1.10.127.1.3.5.1.21' ); |
281
|
0
|
|
|
|
|
|
return \%profile_info; |
282
|
|
|
|
|
|
|
} |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
sub DOCSIS_packet_cable |
285
|
|
|
|
|
|
|
{ |
286
|
|
|
|
|
|
|
# this is temp name for DOCSIS3/Wideband/Service flow environments |
287
|
0
|
|
|
0
|
0
|
|
my %snmp_usable_oid= |
288
|
|
|
|
|
|
|
( |
289
|
|
|
|
|
|
|
'docsIfCmtsCmStatusMacAddress' => '1.3.6.1.2.1.10.127.1.3.3.1.2', |
290
|
|
|
|
|
|
|
'docsQosCmtsIfIndex' => '1.3.6.1.2.1.10.127.7.1.11.1.3', |
291
|
|
|
|
|
|
|
'docsQosParamSetServiceClassName' => '1.3.6.1.2.1.10.127.7.1.2.2.4', |
292
|
|
|
|
|
|
|
'docsQosParamSetMaxTrafficRate' => '1.3.6.1.2.1.10.127.7.1.2.2.6', |
293
|
|
|
|
|
|
|
'docsQosParamSetSchedulingType' => '1.3.6.1.2.1.10.127.7.1.2.2.13', |
294
|
|
|
|
|
|
|
'docsIfCmtsMacToCmEntry' => '1.3.6.1.2.1.10.127.1.3.7.1.2', |
295
|
|
|
|
|
|
|
'cdxCmtsCmCurrQoSPro' => '1.3.6.1.4.1.9.9.116.1.3.6.1.3' |
296
|
|
|
|
|
|
|
); |
297
|
0
|
|
|
|
|
|
return \%snmp_usable_oid; |
298
|
|
|
|
|
|
|
} |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
sub WideBand_MPEG |
301
|
|
|
|
|
|
|
{ |
302
|
0
|
|
|
0
|
0
|
|
my %snmp_usable_oid = |
303
|
|
|
|
|
|
|
( |
304
|
|
|
|
|
|
|
'ccwbRFChannelMpegPkts' => '1.3.6.1.4.1.9.9.479.1.1.1.6', |
305
|
|
|
|
|
|
|
'ccwbWBtoRFBandwidth' => '1.3.6.1.4.1.9.9.479.1.3.1.1', |
306
|
|
|
|
|
|
|
'Moto1' => '1.3.6.1.2.1.4.31.3.1.4.1', |
307
|
|
|
|
|
|
|
'Moto2' => '1.3.6.1.2.1.4.31.3.1.6.1', |
308
|
|
|
|
|
|
|
'Moto3' => '1.3.6.1.2.1.4.31.3.1.31.1', |
309
|
|
|
|
|
|
|
'Moto4' => '1.3.6.1.2.1.4.31.3.1.33.1', |
310
|
|
|
|
|
|
|
'Moto5' => '1.3.6.1.2.1.4.31.3.1.35.1', |
311
|
|
|
|
|
|
|
'Moto6' => '1.3.6.1.2.1.4.31.3.1.43.1', |
312
|
|
|
|
|
|
|
'Moto7' => '1.3.6.1.2.1.4.31.3.1.45.1' |
313
|
|
|
|
|
|
|
); |
314
|
|
|
|
|
|
|
|
315
|
|
|
|
|
|
|
|
316
|
0
|
|
|
|
|
|
return \%snmp_usable_oid; |
317
|
|
|
|
|
|
|
} |
318
|
|
|
|
|
|
|
|
319
|
|
|
|
|
|
|
sub DOCSIS_populate_oid |
320
|
|
|
|
|
|
|
{ |
321
|
|
|
|
|
|
|
|
322
|
0
|
|
|
0
|
0
|
|
my %snmp_usable_oid = |
323
|
|
|
|
|
|
|
( |
324
|
|
|
|
|
|
|
'PRIVATE_cable_signal_base' => '1.3.6.1.2.1.10.127.1.1.4.1', |
325
|
|
|
|
|
|
|
'docsIfSigQIncludesContention' => '1.3.6.1.2.1.10.127.1.1.4.1.1', |
326
|
|
|
|
|
|
|
'docsIfSigQUnerroreds' => '1.3.6.1.2.1.10.127.1.1.4.1.2', |
327
|
|
|
|
|
|
|
'docsIfSigQCorrecteds' => '1.3.6.1.2.1.10.127.1.1.4.1.3', |
328
|
|
|
|
|
|
|
'docsIfSigQUncorrectables' => '1.3.6.1.2.1.10.127.1.1.4.1.4', |
329
|
|
|
|
|
|
|
'docsIfSigQSignalNoise' => '1.3.6.1.2.1.10.127.1.1.4.1.5', |
330
|
|
|
|
|
|
|
'docsIfSigQMicroreflections' => '1.3.6.1.2.1.10.127.1.1.4.1.6', |
331
|
|
|
|
|
|
|
'docsIfSigQEqualizationData' => '1.3.6.1.2.1.10.127.1.1.4.1.7', |
332
|
|
|
|
|
|
|
'PRIVATE_cable_channel_information' => '1.3.6.1.4.1.9.9.116.1.4.1.1', |
333
|
|
|
|
|
|
|
'cdxIfUpChannelModulationProfile' => '1.3.6.1.4.1.9.9.116.1.4.1.1.2', |
334
|
|
|
|
|
|
|
'cdxIfUpChannelCmTotal' => '1.3.6.1.4.1.9.9.116.1.4.1.1.3', |
335
|
|
|
|
|
|
|
'cdxIfUpChannelCmActive' => '1.3.6.1.4.1.9.9.116.1.4.1.1.4', |
336
|
|
|
|
|
|
|
'cdxIfUpChannelCmRegistered' => '1.3.6.1.4.1.9.9.116.1.4.1.1.5', |
337
|
|
|
|
|
|
|
'cdxIfUpChannelInputPowerLevel' => '1.3.6.1.4.1.9.9.116.1.4.1.1.6', |
338
|
|
|
|
|
|
|
'cdxIfUpChannelAvgUtil' => '1.3.6.1.4.1.9.9.116.1.4.1.1.7', |
339
|
|
|
|
|
|
|
'cdxIfUpChannelAvgContSlots' => '1.3.6.1.4.1.9.9.116.1.4.1.1.8', |
340
|
|
|
|
|
|
|
'cdxIfUpChannelRangeSlots' => '1.3.6.1.4.1.9.9.116.1.4.1.1.9', |
341
|
|
|
|
|
|
|
'cdxIfUpChannelNumActiveUGS' => '1.3.6.1.4.1.9.9.116.1.4.1.1.10', |
342
|
|
|
|
|
|
|
'PRIVATE_cable_channel_parameters' => '1.3.6.1.2.1.10.127.1.1.2.1', |
343
|
|
|
|
|
|
|
'docsIfUpChannelFrequency' => '1.3.6.1.2.1.10.127.1.1.2.1.2', |
344
|
|
|
|
|
|
|
'docsIfUpChannelWidth' => '1.3.6.1.2.1.10.127.1.1.2.1.3', |
345
|
|
|
|
|
|
|
'docsIfUpChannelModulationProfile' => '1.3.6.1.2.1.10.127.1.1.2.1.4', |
346
|
|
|
|
|
|
|
'docsIfUpChannelSlotSize' => '1.3.6.1.2.1.10.127.1.1.2.1.5', |
347
|
|
|
|
|
|
|
'docsIfUpChannelTxTimingOffset' => '1.3.6.1.2.1.10.127.1.1.2.1.6', |
348
|
|
|
|
|
|
|
'docsIfUpChannelRangingBackoffStart' => '1.3.6.1.2.1.10.127.1.1.2.1.7', |
349
|
|
|
|
|
|
|
'docsIfUpChannelRangingBackoffEnd' => '1.3.6.1.2.1.10.127.1.1.2.1.8', |
350
|
|
|
|
|
|
|
'docsIfUpChannelTxBackoffStart' => '1.3.6.1.2.1.10.127.1.1.2.1.9', |
351
|
|
|
|
|
|
|
'docsIfUpChannelTxBackoffEnd' => '1.3.6.1.2.1.10.127.1.1.2.1.10', |
352
|
|
|
|
|
|
|
'docsIfCmtsUpChannelCounterEntry' => '1.3.6.1.2.1.10.127.1.3.11.1', |
353
|
|
|
|
|
|
|
'docsIfCmtsUpChnlCtrTotalMslots' => '1.3.6.1.2.1.10.127.1.3.11.1.2', |
354
|
|
|
|
|
|
|
'docsIfCmtsUpChnlCtrUcastGrantedMslots' => '1.3.6.1.2.1.10.127.1.3.11.1.3', |
355
|
|
|
|
|
|
|
'docsIfCmtsUpChnlCtrTotalCntnMslots' => '1.3.6.1.2.1.10.127.1.3.11.1.4', |
356
|
|
|
|
|
|
|
'docsIfCmtsUpChnlCtrUsedCntnMslots' => '1.3.6.1.2.1.10.127.1.3.11.1.5', |
357
|
|
|
|
|
|
|
'PRIVATE_downstream_interface' => '1.3.6.1.2.1.10.127.1.1.1.1', |
358
|
|
|
|
|
|
|
'docsIfDownChannelFrequency' => '1.3.6.1.2.1.10.127.1.1.1.1.2', |
359
|
|
|
|
|
|
|
'docsIfDownChannelWidth' => '1.3.6.1.2.1.10.127.1.1.1.1.3', |
360
|
|
|
|
|
|
|
'docsIfDownChannelModulation' => '1.3.6.1.2.1.10.127.1.1.1.1.4', |
361
|
|
|
|
|
|
|
'docsIfDownChannelInterleave' => '1.3.6.1.2.1.10.127.1.1.1.1.5', |
362
|
|
|
|
|
|
|
'docsIfDownChannelPower' => '1.3.6.1.2.1.10.127.1.1.1.1.6', |
363
|
|
|
|
|
|
|
'docsIfDownChannelAnnex' => '1.3.6.1.2.1.10.127.1.1.1.1.7', |
364
|
|
|
|
|
|
|
'docsIfCmtsCmStatusMacAddress' => '1.3.6.1.2.1.10.127.1.3.3.1.2', |
365
|
|
|
|
|
|
|
'docsIfCmtsCmStatusIpAddress' => '1.3.6.1.2.1.10.127.1.3.3.1.3', |
366
|
|
|
|
|
|
|
'docsIfCmtsCmStatusUpChannelIfIndex' => '1.3.6.1.2.1.10.127.1.3.3.1.5', |
367
|
|
|
|
|
|
|
'docsIfCmtsCmStatusValue' => '1.3.6.1.2.1.10.127.1.3.3.1.9', |
368
|
|
|
|
|
|
|
'docsIfCmtsServiceCmStatusIndex' => '1.3.6.1.2.1.10.127.1.3.4.1.2', |
369
|
|
|
|
|
|
|
'docsIfCmtsServiceQosProfile' => '1.3.6.1.2.1.10.127.1.3.4.1.4', |
370
|
|
|
|
|
|
|
'docsIfCmtsServiceInOctets' => '1.3.6.1.2.1.10.127.1.3.4.1.6', |
371
|
|
|
|
|
|
|
'docsIfCmtsServiceInPackets' => '1.3.6.1.2.1.10.127.1.3.4.1.7', |
372
|
|
|
|
|
|
|
'cdxIfCmtsServiceOutOctets' => '1.3.6.1.4.1.9.9.116.1.1.3.1.1', |
373
|
|
|
|
|
|
|
'cdxIfCmtsServiceOutPackets' => '1.3.6.1.4.1.9.9.116.1.1.3.1.2', |
374
|
|
|
|
|
|
|
'cdxCmCpeIpAddress' => '1.3.6.1.4.1.9.9.116.1.3.1.1.3', |
375
|
|
|
|
|
|
|
'cdxCmCpeCmStatusIndex' => '1.3.6.1.4.1.9.9.116.1.3.1.1.6', |
376
|
|
|
|
|
|
|
'ciscoMemoryPoolUsed' => '1.3.6.1.4.1.9.9.48.1.1.1.5', |
377
|
|
|
|
|
|
|
'ciscoMemoryPoolFree' => '1.3.6.1.4.1.9.9.48.1.1.1.6', |
378
|
|
|
|
|
|
|
'entPhysicalDescr' => '1.3.6.1.2.1.47.1.1.1.1.2', |
379
|
|
|
|
|
|
|
'entPhysicalParentRelPos' => '1.3.6.1.2.1.47.1.1.1.1.6', |
380
|
|
|
|
|
|
|
'entAliasMappingIdentifier' => '1.3.6.1.2.1.47.1.3.2.1.2', |
381
|
|
|
|
|
|
|
'entPhysicalName' => '1.3.6.1.2.1.47.1.1.1.1.7', |
382
|
|
|
|
|
|
|
'cdxCmCpeResetNow' => '1.3.6.1.4.1.9.9.116.1.3.1.1.8', |
383
|
|
|
|
|
|
|
'PRIVATE_docs_profile_main' => '1.3.6.1.2.1.10.127.1.1.3.1', |
384
|
|
|
|
|
|
|
'docsIfQosProfPriority' => '1.3.6.1.2.1.10.127.1.1.3.1.2', |
385
|
|
|
|
|
|
|
'docsIfQosProfMaxUpBandwidth' => '1.3.6.1.2.1.10.127.1.1.3.1.3', |
386
|
|
|
|
|
|
|
'docsIfQosProfMaxDownBandwidth' => '1.3.6.1.2.1.10.127.1.1.3.1.5', |
387
|
|
|
|
|
|
|
'cdxCmtsCmCurrQoSPro' => '1.3.6.1.4.1.9.9.116.1.3.6.1.3', |
388
|
|
|
|
|
|
|
'PRIVATE_docsIfCmtsModulationEntry' => '1.3.6.1.2.1.10.127.1.3.5.1', |
389
|
|
|
|
|
|
|
'docsIfCmtsModIndex' => '1.3.6.1.2.1.10.127.1.3.5.1.1', |
390
|
|
|
|
|
|
|
'docsIfCmtsModIntervalUsageCode' => '1.3.6.1.2.1.10.127.1.3.5.1.2', |
391
|
|
|
|
|
|
|
'docsIfCmtsModControl' => '1.3.6.1.2.1.10.127.1.3.5.1.3', |
392
|
|
|
|
|
|
|
'docsIfCmtsModType' => '1.3.6.1.2.1.10.127.1.3.5.1.4', |
393
|
|
|
|
|
|
|
'docsIfCmtsModPreambleLen' => '1.3.6.1.2.1.10.127.1.3.5.1.5', |
394
|
|
|
|
|
|
|
'docsIfCmtsModDifferentialEncoding' => '1.3.6.1.2.1.10.127.1.3.5.1.6', |
395
|
|
|
|
|
|
|
'docsIfCmtsModFECErrorCorrection' => '1.3.6.1.2.1.10.127.1.3.5.1.7', |
396
|
|
|
|
|
|
|
'docsIfCmtsModFECCodewordLength' => '1.3.6.1.2.1.10.127.1.3.5.1.8', |
397
|
|
|
|
|
|
|
'docsIfCmtsModScramblerSeed' => '1.3.6.1.2.1.10.127.1.3.5.1.9', |
398
|
|
|
|
|
|
|
'docsIfCmtsModMaxBurstSize' => '1.3.6.1.2.1.10.127.1.3.5.1.10', |
399
|
|
|
|
|
|
|
'docsIfCmtsModGuardTimeSize' => '1.3.6.1.2.1.10.127.1.3.5.1.11', |
400
|
|
|
|
|
|
|
'docsIfCmtsModLastCodewordShortened' => '1.3.6.1.2.1.10.127.1.3.5.1.12', |
401
|
|
|
|
|
|
|
'docsIfCmtsModScrambler' => '1.3.6.1.2.1.10.127.1.3.5.1.13', |
402
|
|
|
|
|
|
|
'docsIfCmtsModByteInterleaverDepth' => '1.3.6.1.2.1.10.127.1.3.5.1.14', |
403
|
|
|
|
|
|
|
'docsIfCmtsModByteInterleaverBlockSize' => '1.3.6.1.2.1.10.127.1.3.5.1.15', |
404
|
|
|
|
|
|
|
'docsIfCmtsModPreambleType' => '1.3.6.1.2.1.10.127.1.3.5.1.16', |
405
|
|
|
|
|
|
|
'docsIfCmtsModTcmErrorCorrectionOn' => '1.3.6.1.2.1.10.127.1.3.5.1.17', |
406
|
|
|
|
|
|
|
'docsIfCmtsModScdmaInterleaverStepSize' => '1.3.6.1.2.1.10.127.1.3.5.1.18', |
407
|
|
|
|
|
|
|
'docsIfCmtsModScdmaSpreaderEnable' => '1.3.6.1.2.1.10.127.1.3.5.1.19', |
408
|
|
|
|
|
|
|
'docsIfCmtsModScdmaSubframeCodes' => '1.3.6.1.2.1.10.127.1.3.5.1.20', |
409
|
|
|
|
|
|
|
'docsIfCmtsModChannelType' => '1.3.6.1.2.1.10.127.1.3.5.1.21' |
410
|
|
|
|
|
|
|
); |
411
|
|
|
|
|
|
|
|
412
|
0
|
|
|
|
|
|
return \%snmp_usable_oid; |
413
|
|
|
|
|
|
|
} |
414
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
=head1 AUTHOR |
416
|
|
|
|
|
|
|
|
417
|
|
|
|
|
|
|
Andrew S. Kennedy, C<< >> |
418
|
|
|
|
|
|
|
|
419
|
|
|
|
|
|
|
=head1 BUGS |
420
|
|
|
|
|
|
|
|
421
|
|
|
|
|
|
|
Please report any bugs or feature requests to |
422
|
|
|
|
|
|
|
C, or through the web interface at |
423
|
|
|
|
|
|
|
L. |
424
|
|
|
|
|
|
|
I will be notified, and then you'll automatically be notified of progress on |
425
|
|
|
|
|
|
|
your bug as I make changes. |
426
|
|
|
|
|
|
|
|
427
|
|
|
|
|
|
|
=head1 SUPPORT |
428
|
|
|
|
|
|
|
|
429
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
430
|
|
|
|
|
|
|
|
431
|
|
|
|
|
|
|
perldoc Router::Statistics |
432
|
|
|
|
|
|
|
|
433
|
|
|
|
|
|
|
You can also look for information at: |
434
|
|
|
|
|
|
|
|
435
|
|
|
|
|
|
|
=over 4 |
436
|
|
|
|
|
|
|
|
437
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
438
|
|
|
|
|
|
|
|
439
|
|
|
|
|
|
|
L |
440
|
|
|
|
|
|
|
|
441
|
|
|
|
|
|
|
=item * CPAN Ratings |
442
|
|
|
|
|
|
|
|
443
|
|
|
|
|
|
|
L |
444
|
|
|
|
|
|
|
|
445
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker |
446
|
|
|
|
|
|
|
|
447
|
|
|
|
|
|
|
L |
448
|
|
|
|
|
|
|
|
449
|
|
|
|
|
|
|
=item * Search CPAN |
450
|
|
|
|
|
|
|
|
451
|
|
|
|
|
|
|
L |
452
|
|
|
|
|
|
|
|
453
|
|
|
|
|
|
|
=back |
454
|
|
|
|
|
|
|
|
455
|
|
|
|
|
|
|
=head1 ACKNOWLEDGEMENTS |
456
|
|
|
|
|
|
|
|
457
|
|
|
|
|
|
|
=head1 COPYRIGHT & LICENSE |
458
|
|
|
|
|
|
|
|
459
|
|
|
|
|
|
|
Copyright 2007 Andrew S. Kennedy, all rights reserved. |
460
|
|
|
|
|
|
|
|
461
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify it |
462
|
|
|
|
|
|
|
under the same terms as Perl itself. |
463
|
|
|
|
|
|
|
|
464
|
|
|
|
|
|
|
=cut |
465
|
|
|
|
|
|
|
|
466
|
|
|
|
|
|
|
1; # End of Router::Statistics::OID |