-rw-r--r-- | shared-code/SNMPOIDs.h | 221 |
1 files changed, 221 insertions, 0 deletions
diff --git a/shared-code/SNMPOIDs.h b/shared-code/SNMPOIDs.h new file mode 100644 index 0000000..68ee659 --- a/dev/null +++ b/shared-code/SNMPOIDs.h | |||
@@ -0,0 +1,221 @@ | |||
1 | #ifndef__SNMPOIDS_H | ||
2 | #define__SNMPOIDS_H | ||
3 | |||
4 | #define DEFINE_OID(name,oid)static UINT name[] = oid | ||
5 | |||
6 | // MIB-II OIDs | ||
7 | |||
8 | #define OIDccitt {0} | ||
9 | #define OIDnull {0,0} | ||
10 | #define OIDiso {1} | ||
11 | #define OIDorg {1,3} | ||
12 | #define OIDdod {1,3,6} | ||
13 | #define OIDinternet {1,3,6,1} | ||
14 | #define OIDdirectory {1,3,6,1,1} | ||
15 | #define OIDmgmt {1,3,6,1,2} | ||
16 | #define OIDmib_2 {1,3,6,1,2,1} | ||
17 | #define OIDsystem {1,3,6,1,2,1,1} | ||
18 | #define OIDsysDescr {1,3,6,1,2,1,1,1} | ||
19 | #define OIDsysObjectID {1,3,6,1,2,1,1,2} | ||
20 | #define OIDsysUpTime {1,3,6,1,2,1,1,3} | ||
21 | #define OIDsysContact {1,3,6,1,2,1,1,4} | ||
22 | #define OIDsysName {1,3,6,1,2,1,1,5} | ||
23 | #define OIDsysLocation {1,3,6,1,2,1,1,6} | ||
24 | #define OIDsysServices {1,3,6,1,2,1,1,7} | ||
25 | #define OIDtransmission {1,3,6,1,2,1,10} | ||
26 | #define OIDsnmp {1,3,6,1,2,1,11} | ||
27 | #define OIDsnmpInPkts {1,3,6,1,2,1,11,1} | ||
28 | #define OIDsnmpInBadValues {1,3,6,1,2,1,11,10} | ||
29 | #define OIDsnmpInReadOnlys {1,3,6,1,2,1,11,11} | ||
30 | #define OIDsnmpInGenErrs {1,3,6,1,2,1,11,12} | ||
31 | #define OIDsnmpInTotalReqVars {1,3,6,1,2,1,11,13} | ||
32 | #define OIDsnmpInTotalSetVars {1,3,6,1,2,1,11,14} | ||
33 | #define OIDsnmpInGetRequests {1,3,6,1,2,1,11,15} | ||
34 | #define OIDsnmpInGetNexts {1,3,6,1,2,1,11,16} | ||
35 | #define OIDsnmpInSetRequests {1,3,6,1,2,1,11,17} | ||
36 | #define OIDsnmpInGetResponses {1,3,6,1,2,1,11,18} | ||
37 | #define OIDsnmpInTraps {1,3,6,1,2,1,11,19} | ||
38 | #define OIDsnmpOutPkts {1,3,6,1,2,1,11,2} | ||
39 | #define OIDsnmpOutTooBigs {1,3,6,1,2,1,11,20} | ||
40 | #define OIDsnmpOutNoSuchNames {1,3,6,1,2,1,11,21} | ||
41 | #define OIDsnmpOutBadValues {1,3,6,1,2,1,11,22} | ||
42 | #define OIDsnmpOutGenErrs {1,3,6,1,2,1,11,24} | ||
43 | #define OIDsnmpOutGetRequests {1,3,6,1,2,1,11,25} | ||
44 | #define OIDsnmpOutGetNexts {1,3,6,1,2,1,11,26} | ||
45 | #define OIDsnmpOutSetRequests {1,3,6,1,2,1,11,27} | ||
46 | #define OIDsnmpOutGetResponses {1,3,6,1,2,1,11,28} | ||
47 | #define OIDsnmpOutTraps {1,3,6,1,2,1,11,29} | ||
48 | #define OIDsnmpInBadVersions {1,3,6,1,2,1,11,3} | ||
49 | #define OIDsnmpEnableAuthenTraps {1,3,6,1,2,1,11,30} | ||
50 | #define OIDsnmpInBadCommunityNames {1,3,6,1,2,1,11,4} | ||
51 | #define OIDsnmpInBadCommunityUses {1,3,6,1,2,1,11,5} | ||
52 | #define OIDsnmpInASNParseErrs {1,3,6,1,2,1,11,6} | ||
53 | #define OIDsnmpInTooBigs {1,3,6,1,2,1,11,8} | ||
54 | #define OIDsnmpInNoSuchNames {1,3,6,1,2,1,11,9} | ||
55 | #define OIDinterfaces {1,3,6,1,2,1,2} | ||
56 | #define OIDifNumber {1,3,6,1,2,1,2,1} | ||
57 | #define OIDifTable {1,3,6,1,2,1,2,2} | ||
58 | #define OIDifEntry {1,3,6,1,2,1,2,2,1} | ||
59 | #define OIDifIndex {1,3,6,1,2,1,2,2,1,1} | ||
60 | #define OIDifInOctets {1,3,6,1,2,1,2,2,1,10} | ||
61 | #define OIDifInUcastPkts {1,3,6,1,2,1,2,2,1,11} | ||
62 | #define OIDifInNUcastPkts {1,3,6,1,2,1,2,2,1,12} | ||
63 | #define OIDifInDiscards {1,3,6,1,2,1,2,2,1,13} | ||
64 | #define OIDifInErrors {1,3,6,1,2,1,2,2,1,14} | ||
65 | #define OIDifInUnknownProtos {1,3,6,1,2,1,2,2,1,15} | ||
66 | #define OIDifOutOctets {1,3,6,1,2,1,2,2,1,16} | ||
67 | #define OIDifOutUcastPkts {1,3,6,1,2,1,2,2,1,17} | ||
68 | #define OIDifOutNUcastPkts {1,3,6,1,2,1,2,2,1,18} | ||
69 | #define OIDifOutDiscards {1,3,6,1,2,1,2,2,1,19} | ||
70 | #define OIDifDescr {1,3,6,1,2,1,2,2,1,2} | ||
71 | #define OIDifOutErrors {1,3,6,1,2,1,2,2,1,20} | ||
72 | #define OIDifOutQLen {1,3,6,1,2,1,2,2,1,21} | ||
73 | #define OIDifSpecific {1,3,6,1,2,1,2,2,1,22} | ||
74 | #define OIDifType {1,3,6,1,2,1,2,2,1,3} | ||
75 | #define OIDifMtu {1,3,6,1,2,1,2,2,1,4} | ||
76 | #define OIDifSpeed {1,3,6,1,2,1,2,2,1,5} | ||
77 | #define OIDifPhysAddress {1,3,6,1,2,1,2,2,1,6} | ||
78 | #define OIDifAdminStatus {1,3,6,1,2,1,2,2,1,7} | ||
79 | #define OIDifOperStatus {1,3,6,1,2,1,2,2,1,8} | ||
80 | #define OIDifLastChange {1,3,6,1,2,1,2,2,1,9} | ||
81 | #define OIDat {1,3,6,1,2,1,3} | ||
82 | #define OIDatTable {1,3,6,1,2,1,3,1} | ||
83 | #define OIDatEntry {1,3,6,1,2,1,3,1,1} | ||
84 | #define OIDatIfIndex {1,3,6,1,2,1,3,1,1,1} | ||
85 | #define OIDatPhysAddress {1,3,6,1,2,1,3,1,1,2} | ||
86 | #define OIDatNetAddress {1,3,6,1,2,1,3,1,1,3} | ||
87 | #define OIDip {1,3,6,1,2,1,4} | ||
88 | #define OIDipForwarding {1,3,6,1,2,1,4,1} | ||
89 | #define OIDipOutRequests {1,3,6,1,2,1,4,10} | ||
90 | #define OIDipOutDiscards {1,3,6,1,2,1,4,11} | ||
91 | #define OIDipOutNoRoutes {1,3,6,1,2,1,4,12} | ||
92 | #define OIDipReasmTimeout {1,3,6,1,2,1,4,13} | ||
93 | #define OIDipReasmReqds {1,3,6,1,2,1,4,14} | ||
94 | #define OIDipReasmOKs {1,3,6,1,2,1,4,15} | ||
95 | #define OIDipReasmFails {1,3,6,1,2,1,4,16} | ||
96 | #define OIDipFragOKs {1,3,6,1,2,1,4,17} | ||
97 | #define OIDipFragFails {1,3,6,1,2,1,4,18} | ||
98 | #define OIDipFragCreates {1,3,6,1,2,1,4,19} | ||
99 | #define OIDipDefaultTTL {1,3,6,1,2,1,4,2} | ||
100 | #define OIDipAddrTable {1,3,6,1,2,1,4,20} | ||
101 | #define OIDipAddrEntry {1,3,6,1,2,1,4,20,1} | ||
102 | #define OIDipAdEntAddr {1,3,6,1,2,1,4,20,1,1} | ||
103 | #define OIDipAdEntIfIndex {1,3,6,1,2,1,4,20,1,2} | ||
104 | #define OIDipAdEntNetMask {1,3,6,1,2,1,4,20,1,3} | ||
105 | #define OIDipAdEntBcastAddr {1,3,6,1,2,1,4,20,1,4} | ||
106 | #define OIDipAdEntReasmMaxSize {1,3,6,1,2,1,4,20,1,5} | ||
107 | #define OIDipRouteTable {1,3,6,1,2,1,4,21} | ||
108 | #define OIDipRouteEntry {1,3,6,1,2,1,4,21,1} | ||
109 | #define OIDipRouteDest {1,3,6,1,2,1,4,21,1,1} | ||
110 | #define OIDipRouteAge {1,3,6,1,2,1,4,21,1,10} | ||
111 | #define OIDipRouteMask {1,3,6,1,2,1,4,21,1,11} | ||
112 | #define OIDipRouteMetric5 {1,3,6,1,2,1,4,21,1,12} | ||
113 | #define OIDipRouteInfo {1,3,6,1,2,1,4,21,1,13} | ||
114 | #define OIDipRouteIfIndex {1,3,6,1,2,1,4,21,1,2} | ||
115 | #define OIDipRouteMetric1 {1,3,6,1,2,1,4,21,1,3} | ||
116 | #define OIDipRouteMetric2 {1,3,6,1,2,1,4,21,1,4} | ||
117 | #define OIDipRouteMetric3 {1,3,6,1,2,1,4,21,1,5} | ||
118 | #define OIDipRouteMetric4 {1,3,6,1,2,1,4,21,1,6} | ||
119 | #define OIDipRouteNextHop {1,3,6,1,2,1,4,21,1,7} | ||
120 | #define OIDipRouteType {1,3,6,1,2,1,4,21,1,8} | ||
121 | #define OIDipRouteProto {1,3,6,1,2,1,4,21,1,9} | ||
122 | #define OIDipNetToMediaTable {1,3,6,1,2,1,4,22} | ||
123 | #define OIDipNetToMediaEntry {1,3,6,1,2,1,4,22,1} | ||
124 | #define OIDipNetToMediaIfIndex {1,3,6,1,2,1,4,22,1,1} | ||
125 | #define OIDipNetToMediaPhysAddress {1,3,6,1,2,1,4,22,1,2} | ||
126 | #define OIDipNetToMediaNetAddress {1,3,6,1,2,1,4,22,1,3} | ||
127 | #define OIDipNetToMediaType {1,3,6,1,2,1,4,22,1,4} | ||
128 | #define OIDipRoutingDiscards {1,3,6,1,2,1,4,23} | ||
129 | #define OIDipInReceives {1,3,6,1,2,1,4,3} | ||
130 | #define OIDipInHdrErrors {1,3,6,1,2,1,4,4} | ||
131 | #define OIDipInAddrErrors {1,3,6,1,2,1,4,5} | ||
132 | #define OIDipForwDatagrams {1,3,6,1,2,1,4,6} | ||
133 | #define OIDipInUnknownProtos {1,3,6,1,2,1,4,7} | ||
134 | #define OIDipInDiscards {1,3,6,1,2,1,4,8} | ||
135 | #define OIDipInDelivers {1,3,6,1,2,1,4,9} | ||
136 | #define OIDicmp {1,3,6,1,2,1,5} | ||
137 | #define OIDicmpInMsgs {1,3,6,1,2,1,5,1} | ||
138 | #define OIDicmpInTimestamps {1,3,6,1,2,1,5,10} | ||
139 | #define OIDicmpInTimestampReps {1,3,6,1,2,1,5,11} | ||
140 | #define OIDicmpInAddrMasks {1,3,6,1,2,1,5,12} | ||
141 | #define OIDicmpInAddrMaskReps {1,3,6,1,2,1,5,13} | ||
142 | #define OIDicmpOutMsgs {1,3,6,1,2,1,5,14} | ||
143 | #define OIDicmpOutErrors {1,3,6,1,2,1,5,15} | ||
144 | #define OIDicmpOutDestUnreachs {1,3,6,1,2,1,5,16} | ||
145 | #define OIDicmpOutTimeExcds {1,3,6,1,2,1,5,17} | ||
146 | #define OIDicmpOutParmProbs {1,3,6,1,2,1,5,18} | ||
147 | #define OIDicmpOutSrcQuenchs {1,3,6,1,2,1,5,19} | ||
148 | #define OIDicmpInErrors {1,3,6,1,2,1,5,2} | ||
149 | #define OIDicmpOutRedirects {1,3,6,1,2,1,5,20} | ||
150 | #define OIDicmpOutEchos {1,3,6,1,2,1,5,21} | ||
151 | #define OIDicmpOutEchoReps {1,3,6,1,2,1,5,22} | ||
152 | #define OIDicmpOutTimestamps {1,3,6,1,2,1,5,23} | ||
153 | #define OIDicmpOutTimestampReps {1,3,6,1,2,1,5,24} | ||
154 | #define OIDicmpOutAddrMasks {1,3,6,1,2,1,5,25} | ||
155 | #define OIDicmpOutAddrMaskReps {1,3,6,1,2,1,5,26} | ||
156 | #define OIDicmpInDestUnreachs {1,3,6,1,2,1,5,3} | ||
157 | #define OIDicmpInTimeExcds {1,3,6,1,2,1,5,4} | ||
158 | #define OIDicmpInParmProbs {1,3,6,1,2,1,5,5} | ||
159 | #define OIDicmpInSrcQuenchs {1,3,6,1,2,1,5,6} | ||
160 | #define OIDicmpInRedirects {1,3,6,1,2,1,5,7} | ||
161 | #define OIDicmpInEchos {1,3,6,1,2,1,5,8} | ||
162 | #define OIDicmpInEchoReps {1,3,6,1,2,1,5,9} | ||
163 | #define OIDtcp {1,3,6,1,2,1,6} | ||
164 | #define OIDtcpRtoAlgorithm {1,3,6,1,2,1,6,1} | ||
165 | #define OIDtcpInSegs {1,3,6,1,2,1,6,10} | ||
166 | #define OIDtcpOutSegs {1,3,6,1,2,1,6,11} | ||
167 | #define OIDtcpRetransSegs {1,3,6,1,2,1,6,12} | ||
168 | #define OIDtcpConnTable {1,3,6,1,2,1,6,13} | ||
169 | #define OIDtcpConnEntry {1,3,6,1,2,1,6,13,1} | ||
170 | #define OIDtcpConnState {1,3,6,1,2,1,6,13,1,1} | ||
171 | #define OIDtcpConnLocalAddress {1,3,6,1,2,1,6,13,1,2} | ||
172 | #define OIDtcpConnLocalPort {1,3,6,1,2,1,6,13,1,3} | ||
173 | #define OIDtcpConnRemAddress {1,3,6,1,2,1,6,13,1,4} | ||
174 | #define OIDtcpConnRemPort {1,3,6,1,2,1,6,13,1,5} | ||
175 | #define OIDtcpInErrs {1,3,6,1,2,1,6,14} | ||
176 | #define OIDtcpOutRsts {1,3,6,1,2,1,6,15} | ||
177 | #define OIDtcpRtoMin {1,3,6,1,2,1,6,2} | ||
178 | #define OIDtcpRtoMax {1,3,6,1,2,1,6,3} | ||
179 | #define OIDtcpMaxConn {1,3,6,1,2,1,6,4} | ||
180 | #define OIDtcpActiveOpens {1,3,6,1,2,1,6,5} | ||
181 | #define OIDtcpPassiveOpens {1,3,6,1,2,1,6,6} | ||
182 | #define OIDtcpAttemptFails {1,3,6,1,2,1,6,7} | ||
183 | #define OIDtcpEstabResets {1,3,6,1,2,1,6,8} | ||
184 | #define OIDtcpCurrEstab {1,3,6,1,2,1,6,9} | ||
185 | #define OIDudp {1,3,6,1,2,1,7} | ||
186 | #define OIDudpInDatagrams {1,3,6,1,2,1,7,1} | ||
187 | #define OIDudpNoPorts {1,3,6,1,2,1,7,2} | ||
188 | #define OIDudpInErrors {1,3,6,1,2,1,7,3} | ||
189 | #define OIDudpOutDatagrams {1,3,6,1,2,1,7,4} | ||
190 | #define OIDudpTable {1,3,6,1,2,1,7,5} | ||
191 | #define OIDudpEntry {1,3,6,1,2,1,7,5,1} | ||
192 | #define OIDudpLocalAddress {1,3,6,1,2,1,7,5,1,1} | ||
193 | #define OIDudpLocalPort {1,3,6,1,2,1,7,5,1,2} | ||
194 | #define OIDegp {1,3,6,1,2,1,8} | ||
195 | #define OIDegpInMsgs {1,3,6,1,2,1,8,1} | ||
196 | #define OIDegpInErrors {1,3,6,1,2,1,8,2} | ||
197 | #define OIDegpOutMsgs {1,3,6,1,2,1,8,3} | ||
198 | #define OIDegpOutErrors {1,3,6,1,2,1,8,4} | ||
199 | #define OIDegpNeighTable {1,3,6,1,2,1,8,5} | ||
200 | #define OIDegpNeighEntry {1,3,6,1,2,1,8,5,1} | ||
201 | #define OIDegpNeighState {1,3,6,1,2,1,8,5,1,1} | ||
202 | #define OIDegpNeighStateUps {1,3,6,1,2,1,8,5,1,10} | ||
203 | #define OIDegpNeighStateDowns {1,3,6,1,2,1,8,5,1,11} | ||
204 | #define OIDegpNeighIntervalHello {1,3,6,1,2,1,8,5,1,12} | ||
205 | #define OIDegpNeighIntervalPoll {1,3,6,1,2,1,8,5,1,13} | ||
206 | #define OIDegpNeighMode {1,3,6,1,2,1,8,5,1,14} | ||
207 | #define OIDegpNeighEventTrigger {1,3,6,1,2,1,8,5,1,15} | ||
208 | #define OIDegpNeighAddr {1,3,6,1,2,1,8,5,1,2} | ||
209 | #define OIDegpNeighAs {1,3,6,1,2,1,8,5,1,3} | ||
210 | #define OIDegpNeighInMsgs {1,3,6,1,2,1,8,5,1,4} | ||
211 | #define OIDegpNeighInErrs {1,3,6,1,2,1,8,5,1,5} | ||
212 | #define OIDegpNeighOutMsgs {1,3,6,1,2,1,8,5,1,6} | ||
213 | #define OIDegpNeighOutErrs {1,3,6,1,2,1,8,5,1,7} | ||
214 | #define OIDegpNeighInErrMsgs {1,3,6,1,2,1,8,5,1,8} | ||
215 | #define OIDegpNeighOutErrMsgs {1,3,6,1,2,1,8,5,1,9} | ||
216 | #define OIDegpAs {1,3,6,1,2,1,8,6} | ||
217 | #define OIDexperimental {1,3,6,1,3} | ||
218 | #define OIDprivate {1,3,6,1,4} | ||
219 | #define OIDenterprises {1,3,6,1,4,1} | ||
220 | |||
221 | #endif// __SNMPOIDS_H \ No newline at end of file | ||