@cryptotaxi247 / netdata-1 / commits / dcb28fb9f

Cisco yaml pass (#20291)

Co-authored-by: ilyam8 <ilya@netdata.cloud>

Fotis Voutsas committed May 21, 2025 at 10:50 UTC dcb28fb9f1c14338a74d235f76ebd7a4ad2e0686
2 files changed +239 -350
src/go/plugin/go.d/collector/snmp/ddsnmp/load_test.go
+1
@@ -22,6 +22,7 @@ func Test_loadDDSnmpProfiles(t *testing.T) {
22
23 names, err := f.Readdirnames(-1)
24 require.NoError(t, err)
25 + require.NotEmpty(t, names)
26
27 require.Equal(t, len(names)-1 /*README.md*/, len(profiles))
28 }
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_cisco-generic.yaml
+238 -350
@@ -16,52 +16,22 @@ metrics:
16 OID: 1.3.6.1.4.1.9.9.117.1.1.2
17 name: cefcFRUPowerStatusTable
18 symbols:
19 - - OID: 1.3.6.1.4.1.9.9.117.1.1.2.1.1
20 - name: cefcFRUPowerAdminStatus
19 + - name: cefcFRUPowerAdminStatus
20 + OID: 1.3.6.1.4.1.9.9.117.1.1.2.1.1
21 description: Administratively desired FRU power state
22 - unit: "{power_state}"
23 - - OID: 1.3.6.1.4.1.9.9.117.1.1.2.1.2
24 - name: cefcFRUPowerOperStatus
25 - description: Operational FRU power state
26 - unit: "{power_state}"
27 - - OID: 1.3.6.1.4.1.9.9.117.1.1.2.1.3
28 - name: cefcFRUCurrent
29 - description: Current supplied by the FRU or current required to operate the FRU
30 - unit: "A"
31 - metric_tags:
32 - - index: 1
33 - tag: fru
34 - - MIB: CISCO-ENTITY-FRU-CONTROL-MIB
35 - table:
36 - OID: 1.3.6.1.4.1.9.9.117.1.1.2
37 - name: cefcFRUPowerStatusTable
38 - symbols:
39 - - name: cefcFRUPowerStatus
40 - constant_value_one: true
41 - description: FRU power status constant value one
42 - unit: "TBD"
43 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
44 - metric_tags:
45 - - index: 1
46 - tag: fru
47 - - symbol:
48 - OID: 1.3.6.1.4.1.9.9.117.1.1.2.1.1
49 - name: cefcFRUPowerAdminStatus
50 - description: Administratively desired FRU power state
51 - unit: "{power_state}"
52 - tag: power_admin_status
22 + unit: "{status}"
23 + family: Cisco/FRU/Power/Status
24 mapping:
25 1: on
26 2: off
27 3: inline_auto
28 4: inline_on
29 5: power_cycle
59 - - symbol:
60 - OID: 1.3.6.1.4.1.9.9.117.1.1.2.1.2
61 - name: cefcFRUPowerOperStatus
62 - description: Operational FRU power state
63 - unit: "{power_state}"
64 - tag: power_oper_status
30 + - name: cefcFRUPowerOperStatus
31 + OID: 1.3.6.1.4.1.9.9.117.1.1.2.1.2
32 + description: Operational FRU power state
33 + unit: "{status}"
34 + family: Cisco/FRU/Power/Status
35 mapping:
36 1: off_env_other
37 2: on
@@ -75,6 +45,14 @@ metrics:
45 10: off_cooling
46 11: off_connector_rating
47 12: on_but_inline_power_fail
48 + - OID: 1.3.6.1.4.1.9.9.117.1.1.2.1.3
49 + name: cefcFRUCurrent
50 + description: Current supplied by the FRU or current required to operate the FRU
51 + unit: "A"
52 + family: Cisco/FRU/Power/Current
53 + metric_tags:
54 + - index: 1
55 + tag: fru
56 - MIB: CISCO-PROCESS-MIB
57 table:
58 OID: 1.3.6.1.4.1.9.9.109.1.1.1
@@ -84,18 +62,22 @@ metrics:
62 name: cpmCPUTotalMonIntervalValue
63 description: Overall CPU busy percentage in the last monitoring interval
64 unit: "%"
65 + family: Cisco/CPM/CPU/Usage
66 + - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.7
67 + name: cpmCPUTotal1minRev
68 + description: Overall CPU busy percentage in the last 1 minute period
69 + unit: "%"
70 + family: Cisco/CPM/CPU/Usage
71 - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.12
72 name: cpmCPUMemoryUsed
73 description: Overall CPU wide system memory which is currently under use
74 unit: "By"
75 + family: Cisco/CPM/CPU/Memory
76 - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.13
77 name: cpmCPUMemoryFree
78 description: Overall CPU wide system memory which is currently free
79 unit: "By"
95 - - OID: 1.3.6.1.4.1.9.9.109.1.1.1.1.7
96 - name: cpmCPUTotal1minRev
97 - description: Overall CPU busy percentage in the last 1 minute period
98 - unit: "%"
80 + family: Cisco/CPM/CPU/Memory
81 metric_tags:
82 - index: 1
83 tag: cpu
@@ -109,6 +91,7 @@ metrics:
91 name: cieIfResetCount
92 description: Number of times the interface was internally reset and brought up
93 unit: "{reset}"
94 + family: Network/Interfaces/Resets
95 metric_tags:
96 - MIB: IF-MIB
97 symbol:
@@ -123,14 +106,14 @@ metrics:
106 symbols:
107 - OID: 1.3.6.1.4.1.9.9.13.1.3.1.3
108 name: ciscoEnvMonTemperatureStatusValue
126 - description: Current measurement of the testpoint being instrumented
109 + description: Current measurement of the testpoint
110 unit: "Cel"
128 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
129 - metric_tags:
130 - - tag: temp_state
131 - symbol:
132 - OID: 1.3.6.1.4.1.9.9.13.1.3.1.6
133 - name: ciscoEnvMonTemperatureState
111 + family: Cisco/Environment/Temperature
112 + - OID: 1.3.6.1.4.1.9.9.13.1.3.1.6
113 + name: ciscoEnvMonTemperatureState
114 + tag: temp_state
115 + unit: "{status}"
116 + family: Cisco/Environment/Temperature
117 mapping:
118 1: normal
119 2: warning
@@ -138,8 +121,10 @@ metrics:
121 4: shutdown
122 5: not_present
123 6: not_functioning
124 + metric_tags:
125 - tag: temp_index
126 index: 1
127 +
128 - MIB: CISCO-ENVMON-MIB
129 table:
130 OID: 1.3.6.1.4.1.9.9.13.1.5
@@ -147,41 +132,9 @@ metrics:
132 symbols:
133 - OID: 1.3.6.1.4.1.9.9.13.1.5.1.3
134 name: ciscoEnvMonSupplyState
150 - description: Current state of the power supply being instrumented
151 - unit: "{power_state}"
152 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
153 - metric_tags:
154 - - symbol:
155 - OID: 1.3.6.1.4.1.9.9.13.1.5.1.4
156 - name: ciscoEnvMonSupplySource
157 - tag: power_source
158 - mapping:
159 - 1: unknown
160 - 2: ac
161 - 3: dc
162 - 4: external_power_supply
163 - 5: internal_redundant
164 - - symbol:
165 - OID: 1.3.6.1.4.1.9.9.13.1.5.1.2
166 - name: ciscoEnvMonSupplyStatusDescr
167 - tag: power_status_descr
168 -
169 - - MIB: CISCO-ENVMON-MIB
170 - table:
171 - OID: 1.3.6.1.4.1.9.9.13.1.5
172 - name: ciscoEnvMonSupplyStatusTable
173 - symbols:
174 - - name: ciscoEnvMonSupplyStatus
175 - constant_value_one: true
176 - description: Power supply status constant value one
177 - unit: "TBD"
178 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
179 - metric_tags:
180 - - symbol:
181 - OID: 1.3.6.1.4.1.9.9.13.1.5.1.3
182 - name: ciscoEnvMonSupplyState
183 - description: Current state of the power supply being instrumented
184 - unit: "{power_state}"
135 + description: Current state of the power supply
136 + unit: "{status}"
137 + family: Cisco/Environment/Power Supplies/Status
138 tag: cisco_env_mon_supply_state
139 mapping:
140 1: normal
@@ -190,20 +143,21 @@ metrics:
143 4: shutdown
144 5: not_present
145 6: not_functioning
146 + metric_tags:
147 + - symbol:
148 + OID: 1.3.6.1.4.1.9.9.13.1.5.1.2
149 + name: ciscoEnvMonSupplyStatusDescr
150 + tag: power_status_descr
151 - symbol:
152 OID: 1.3.6.1.4.1.9.9.13.1.5.1.4
153 name: ciscoEnvMonSupplySource
196 - tag: power_source
154 + tag: power_supply_source
155 mapping:
156 1: unknown
157 2: ac
158 3: dc
159 4: external_power_supply
160 5: internal_redundant
203 - - symbol:
204 - OID: 1.3.6.1.4.1.9.9.13.1.5.1.2
205 - name: ciscoEnvMonSupplyStatusDescr
206 - tag: power_status_descr
161
162 - MIB: CISCO-ENVMON-MIB
163 table:
@@ -212,31 +166,10 @@ metrics:
166 symbols:
167 - OID: 1.3.6.1.4.1.9.9.13.1.4.1.3
168 name: ciscoEnvMonFanState
215 - description: Current state of the fan being instrumented
216 - unit: "{fan_state}"
217 - metric_tags:
218 - - symbol:
219 - OID: 1.3.6.1.4.1.9.9.13.1.4.1.1
220 - name: ciscoEnvMonFanStatusIndex
221 - tag: fan_status_index
222 -
223 - - MIB: CISCO-ENVMON-MIB
224 - table:
225 - OID: 1.3.6.1.4.1.9.9.13.1.4
226 - name: ciscoEnvMonFanStatusTable
227 - symbols:
228 - - name: ciscoEnvMonFanStatus
229 - constant_value_one: true
230 - description: Fan status constant value one
231 - unit: "TBD"
232 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
233 - metric_tags:
234 - - symbol:
235 - OID: 1.3.6.1.4.1.9.9.13.1.4.1.3
236 - name: ciscoEnvMonFanState
237 - description: Current state of the fan being instrumented
238 - unit: "{fan_state}"
169 + description: Current state of the fan
170 + unit: "{status}"
171 tag: fan_state
172 + family: Cisco/Environment/Fans/Status
173 mapping:
174 1: normal
175 2: warning
@@ -244,6 +177,7 @@ metrics:
177 4: shutdown
178 5: not_present
179 6: not_functioning
180 + metric_tags:
181 - symbol:
182 OID: 1.3.6.1.4.1.9.9.13.1.4.1.2
183 name: ciscoEnvMonFanStatusDescr
@@ -262,7 +196,13 @@ metrics:
196 - OID: 1.3.6.1.4.1.9.9.500.1.2.2.1.1
197 name: cswStackPortOperStatus
198 description: State of the stackport
265 - unit: "{stackport_state}"
199 + unit: "{status}"
200 + family: Cisco/StackWise/Stack Port/Status
201 + mapping:
202 + 1: up
203 + 2: down
204 + 3: forcedDown
205 +
206 metric_tags:
207 - MIB: IF-MIB
208 symbol:
@@ -280,7 +220,20 @@ metrics:
220 - OID: 1.3.6.1.4.1.9.9.500.1.2.1.1.6
221 name: cswSwitchState
222 description: Current state of a switch
283 - unit: "{switch_state}"
223 + unit: "{status}"
224 + family: Cisco/StackWise/Switches/Status
225 + mapping:
226 + 1: waiting
227 + 2: progressing
228 + 3: added
229 + 4: ready
230 + 5: sdm_mismatch
231 + 6: ver_mismatch
232 + 7: feature_mismatch
233 + 8: new_master_init
234 + 9: provisioned
235 + 10: invalid
236 + 11: removed
237 metric_tags:
238 - tag: mac_addr
239 symbol:
@@ -294,46 +247,6 @@ metrics:
247 table: entPhysicalTable
248 tag: entity_name
249
297 - - MIB: CISCO-STACKWISE-MIB
298 - table:
299 - OID: 1.3.6.1.4.1.9.9.500.1.2.1
300 - name: cswSwitchInfoTable
301 - symbols:
302 - - name: cswSwitchInfo
303 - constant_value_one: true
304 - description: Switch info constant value one
305 - unit: "TBD"
306 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
307 - metric_tags:
308 - - tag: mac_addr
309 - symbol:
310 - OID: 1.3.6.1.4.1.9.9.500.1.2.1.1.7
311 - name: cswSwitchMacAddress
312 - format: mac_address
313 - - MIB: ENTITY-MIB
314 - symbol:
315 - OID: 1.3.6.1.2.1.47.1.1.1.1.7
316 - name: entPhysicalName
317 - table: entPhysicalTable
318 - tag: entity_physical_name
319 - - symbol:
320 - OID: 1.3.6.1.4.1.9.9.500.1.2.1.1.6
321 - name: cswSwitchState
322 - description: Current state of a switch
323 - unit: "{switch_state}"
324 - tag: switch_state
325 - mapping:
326 - 1: waiting
327 - 2: progressing
328 - 3: added
329 - 4: ready
330 - 5: sdm_mismatch
331 - 6: ver_mismatch
332 - 7: feature_mismatch
333 - 8: new_master_init
334 - 9: provisioned
335 - 10: invalid
336 - 11: removed
250 - MIB: CISCO-ENTITY-FRU-CONTROL-MIB
251 table:
252 OID: 1.3.6.1.4.1.9.9.117.1.4.1
@@ -342,35 +255,17 @@ metrics:
255 - OID: 1.3.6.1.4.1.9.9.117.1.4.1.1.1
256 name: cefcFanTrayOperStatus
257 description: Operational state of the fan or fan tray
345 - unit: "{fan_state}"
346 - metric_tags:
347 - - index: 1
348 - tag: fru
349 -
350 - - MIB: CISCO-ENTITY-FRU-CONTROL-MIB
351 - table:
352 - OID: 1.3.6.1.4.1.9.9.117.1.4.1
353 - name: cefcFanTrayStatusTable
354 - symbols:
355 - - name: cefcFanTrayStatus
356 - constant_value_one: true
357 - description: Fan tray status constant value one
358 - unit: "TBD"
359 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
360 - metric_tags:
361 - - index: 1
362 - tag: fru
363 - - symbol:
364 - OID: 1.3.6.1.4.1.9.9.117.1.4.1.1.1
365 - name: cefcFanTrayOperStatus
366 - description: Operational state of the fan or fan tray
367 - unit: "{fan_state}"
258 + unit: "{status}"
259 + family: Cisco/FRU/Fans/Status
260 tag: cefc_fan_tray_oper_status
261 mapping:
262 1: unknown
263 2: up
264 3: down
265 4: warning
266 + metric_tags:
267 + - index: 1
268 + tag: fru
269 - symbol:
270 OID: 1.3.6.1.4.1.9.9.117.1.4.1.1.2
271 name: cefcFanTrayDirection
@@ -379,6 +274,7 @@ metrics:
274 1: unknown
275 2: front_to_back
276 3: back_to_front
277 +
278 - MIB: CISCO-MEMORY-POOL-MIB
279 table:
280 OID: 1.3.6.1.4.1.9.9.48.1.1
@@ -387,14 +283,17 @@ metrics:
283 - OID: 1.3.6.1.4.1.9.9.48.1.1.1.5
284 name: ciscoMemoryPoolUsed
285 description: Number of bytes from the memory pool currently in use
286 + family: Cisco/Memory Pool/Usage
287 unit: "By"
288 - OID: 1.3.6.1.4.1.9.9.48.1.1.1.6
289 name: ciscoMemoryPoolFree
290 description: Number of bytes from the memory pool currently unused
291 + family: Cisco/Memory Pool/Usage
292 unit: "By"
293 - OID: 1.3.6.1.4.1.9.9.48.1.1.1.7
294 name: ciscoMemoryPoolLargestFree
295 description: Largest number of contiguous bytes from the memory pool currently unused
296 + family: Cisco/Memory Pool/Usage
297 unit: "By"
298 metric_tags:
299 - symbol:
@@ -409,22 +308,57 @@ metrics:
308 symbols:
309 - OID: 1.3.6.1.4.1.9.9.147.1.2.2.2.1.4
310 name: cfwConnectionStatCount
412 - description: Integer value containing the resource statistic count
413 - unit: "{connection_statistic}"
414 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
311 + description: Integer that contains the value of the resource statistic.
312 + unit: "1"
313 + family: Cisco/Firewall/Connections
314 metric_tags:
315 - symbol:
417 - OID: 1.3.6.1.4.1.9.9.147.1.2.2.2.1.2
418 - name: cfwConnectionStatType
419 - tag: connection_type
316 + OID: 1.3.6.1.4.1.9.9.147.1.2.2.2.1.1
317 + name: cfwConnectionStatService
318 + tag: conn_stat_id
319 mapping:
421 - 1: other
422 - 2: total_open
423 - 3: current_open
424 - 4: current_closing
425 - 5: current_half_open
426 - 6: current_in_use
427 - 7: high
320 + 1: otherFWService
321 + 2: fileXferFtp
322 + 3: fileXferTftp
323 + 4: fileXferFtps
324 + 5: loginTelnet
325 + 6: loginRlogin
326 + 7: loginTelnets
327 + 8: remoteExecSunRPC
328 + 9: remoteExecMSRPC
329 + 10: remoteExecRsh
330 + 11: remoteExecXserver
331 + 12: webHttp
332 + 13: webHttps
333 + 14: mailSmtp
334 + 15: multimediaStreamworks
335 + 16: multimediaH323
336 + 17: multimediaNetShow
337 + 18: multimediaVDOLive
338 + 19: multimediaRealAV
339 + 20: multimediaRTSP
340 + 21: dbOracle
341 + 22: dbMSsql
342 + 23: contInspProgLang
343 + 24: contInspUrl
344 + 25: directoryNis
345 + 26: directoryDns
346 + 27: directoryNetbiosns
347 + 28: directoryNetbiosdgm
348 + 29: directoryNetbiosssn
349 + 30: directoryWins
350 + 31: qryWhois
351 + 32: qryFinger
352 + 33: qryIdent
353 + 34: fsNfsStatus
354 + 35: fsNfs
355 + 36: fsCifs
356 + 37: protoIcmp
357 + 38: protoTcp
358 + 39: protoUdp
359 + 40: protoIp
360 + 41: protoSnmp
361 +
362 - MIB: CISCO-FIREWALL-MIB
363 table:
364 OID: 1.3.6.1.4.1.9.9.147.1.2.1.1
@@ -433,7 +367,19 @@ metrics:
367 - OID: 1.3.6.1.4.1.9.9.147.1.2.1.1.1.3
368 name: cfwHardwareStatusValue
369 description: Current status of the resource
436 - unit: "{hardware_status}"
370 + unit: "{status}"
371 + family: Cisco/Firewall/Hardware/Status
372 + mapping:
373 + 1: other
374 + 2: up
375 + 3: down
376 + 4: error
377 + 5: overTemp
378 + 6: busy
379 + 7: noMedia
380 + 8: backup
381 + 9: active
382 + 10: standby
383 metric_tags:
384 - index: 1
385 tag: hardware_type
@@ -451,6 +397,7 @@ metrics:
397 name: cvsChassisUpTime
398 description: Up time for the chassis since last re-initialization
399 unit: "cs"
400 + family: Cisco/Chassis/Uptime
401 metric_tags:
402 - symbol:
403 OID: 1.3.6.1.4.1.9.9.388.1.2.2.1.1
@@ -458,119 +405,103 @@ metrics:
405 tag: chassis_switch_id
406
407 # RTT info
461 - - MIB: CISCO-RTTMON-MIB
462 - table:
463 - OID: 1.3.6.1.4.1.9.9.42.1.2.10
464 - name: rttMonLatestRttOperTable
465 - symbols:
466 - - OID: 1.3.6.1.4.1.9.9.42.1.2.10.1.1
467 - name: rttMonLatestRttOperCompletionTime
468 - description: Completion time of the latest RTT operation successfully completed
469 - unit: "us"
470 - - OID: 1.3.6.1.4.1.9.9.42.1.2.10.1.2
471 - name: rttMonLatestRttOperSense
472 - description: Sense code for the completion status of the latest RTT operation
473 - unit: "{sense_code}"
474 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
475 - metric_tags:
476 - - symbol:
477 - OID: 1.3.6.1.4.1.9.9.42.1.2.9.1.10
478 - name: rttMonCtrlOperState
479 - table: rttMonCtrlOperTable
480 - tag: rtt_state
481 - mapping:
482 - 1: reset
483 - 2: orderly_stop
484 - 3: immediate_stop
485 - 4: pending
486 - 5: inactive
487 - 6: active
488 - 7: restart
489 - - symbol:
490 - OID: 1.3.6.1.4.1.9.9.42.1.2.1.1.4
491 - name: rttMonCtrlAdminRttType
492 - table: rttMonCtrlAdminTable
493 - tag: rtt_type
494 - mapping:
495 - 1: echo
496 - 2: path_echo
497 - 3: file_io
498 - 4: script
499 - 5: udp_echo
500 - 6: tcp_connect
501 - 7: http
502 - 8: dns
503 - 9: jitter
504 - 10: dlsw
505 - 11: dhcp
506 - 12: ftp
507 - 13: voip
508 - 14: rtp
509 - 15: lsp_group
510 - 16: icmpjitter
511 - 17: lsp_ping
512 - 18: lsp_trace
513 - 19: ethernet_ping
514 - 20: ethernet_jitter
515 - 21: lsp_ping_pseudowire
516 - 22: video
517 - 23: y1731_delay
518 - 24: y1731_loss
519 - 25: mcast_jitter
520 - 26: fabric_path_echo
521 - - index: 1
522 - tag: rtt_index
523 - - symbol:
524 - OID: 1.3.6.1.4.1.9.9.42.1.2.2.1.6
525 - name: rttMonEchoAdminSourceAddress
526 - format: ip_address
527 - table: rttMonEchoAdminTable
528 - tag: rtt_source_address
529 - - symbol:
530 - OID: 1.3.6.1.4.1.9.9.42.1.2.2.1.2
531 - name: rttMonEchoAdminTargetAddress
532 - format: ip_address
533 - table: rttMonEchoAdminTable
534 - tag: rtt_target_address
535 - - symbol:
536 - OID: 1.3.6.1.4.1.9.9.42.1.2.10.1.2
537 - name: rttMonLatestRttOperSense
538 - table: rttMonLatestRttOperTable
539 - tag: rtt_sense
540 - mapping:
541 - 0: other
542 - 1: ok
543 - 2: disconnected
544 - 3: over_threshold
545 - 4: timeout
546 - 5: busy
547 - 6: not_connected
548 - 7: dropped
549 - 8: sequence_error
550 - 9: verify_error
551 - 10: application_specific
552 - 11: dns_server_timeout
553 - 12: tcp_connect_timeout
554 - 13: http_transaction_timeout
555 - 14: dns_query_error
556 - 15: http_error
557 - 16: error
408 + # - MIB: CISCO-RTTMON-MIB
409 + # table:
410 + # OID: 1.3.6.1.4.1.9.9.42.1.2.10
411 + # name: rttMonLatestRttOperTable
412 + # symbols:
413 + # # TODO The completion time of the latest RTT operation successfully completed. The unit of this object will be microsecond when rttMonCtrlAdminRttType is set to 'jitter' and rttMonEchoAdminPrecision is set to 'microsecond'. Otherwise, the unit of this object will be millisecond. <-- Case where the unit and precision is defined by other values in the snmpwalk
414 + # # - OID: 1.3.6.1.4.1.9.9.42.1.2.10.1.1
415 + # # name: rttMonLatestRttOperCompletionTime
416 + # # description: Completion time of the latest RTT operation successfully completed
417 + # # unit: "us"
418 + # - OID: 1.3.6.1.4.1.9.9.42.1.2.10.1.2
419 + # name: rttMonLatestRttOperSense
420 + # description: Sense code for the completion status of the latest RTT operation
421 + # unit: "{status}"
422 + # family: Cisco/RTT/Operations/Status
423 + # mapping:
424 + # 0: other
425 + # 1: ok
426 + # 2: disconnected
427 + # 3: over_threshold
428 + # 4: timeout
429 + # 5: busy
430 + # 6: not_connected
431 + # 7: dropped
432 + # 8: sequence_error
433 + # 9: verify_error
434 + # 10: application_specific
435 + # 11: dns_server_timeout
436 + # 12: tcp_connect_timeout
437 + # 13: http_transaction_timeout
438 + # 14: dns_query_error
439 + # 15: http_error
440 + # 16: error
441 + # # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
442 + # metric_tags:
443 + # # TODO, no table having this OID prefix
444 + # # - symbol:
445 + # # OID: 1.3.6.1.4.1.9.9.42.1.2.1.1.4
446 + # # name: rttMonCtrlAdminRttType
447 + # # table: rttMonCtrlAdminTable
448 + # # tag: rtt_type
449 + # # description: Type of RTT operation to be performed.
450 + # # unit: "{status}"
451 + # # family: Cisco/RTT/Operations
452 + # # mapping:
453 + # # 1: echo
454 + # # 2: path_echo
455 + # # 3: file_io
456 + # # 4: script
457 + # # 5: udp_echo
458 + # # 6: tcp_connect
459 + # # 7: http
460 + # # 8: dns
461 + # # 9: jitter
462 + # # 10: dlsw
463 + # # 11: dhcp
464 + # # 12: ftp
465 + # # 13: voip
466 + # # 14: rtp
467 + # # 15: lsp_group
468 + # # 16: icmpjitter
469 + # # 17: lsp_ping
470 + # # 18: lsp_trace
471 + # # 19: ethernet_ping
472 + # # 20: ethernet_jitter
473 + # # 21: lsp_ping_pseudowire
474 + # # 22: video
475 + # # 23: y1731_delay
476 + # # 24: y1731_loss
477 + # # 25: mcast_jitter
478 + # # 26: fabric_path_echo
479 + # - index: 1
480 + # tag: rtt_index
481 + # - symbol:
482 + # OID: 1.3.6.1.4.1.9.9.42.1.2.2.1.6
483 + # name: rttMonEchoAdminSourceAddress
484 + # format: ip_address
485 + # table: rttMonEchoAdminTable
486 + # tag: rtt_source_address
487 + # - symbol:
488 + # OID: 1.3.6.1.4.1.9.9.42.1.2.2.1.2
489 + # name: rttMonEchoAdminTargetAddress
490 + # format: ip_address
491 + # table: rttMonEchoAdminTable
492 + # tag: rtt_target_address
493
494 - MIB: CISCO-RTTMON-MIB
495 table:
496 OID: 1.3.6.1.4.1.9.9.42.1.2.9
497 name: rttMonCtrlOperTable
498 symbols:
564 - - OID: 1.3.6.1.4.1.9.9.42.1.2.9.1.6
565 - name: rttMonCtrlOperTimeoutOccurred
566 - description: Indicates if a timeout occurred for the RTT operation
567 - unit: "1"
568 - # TODO: Check out metric_tags with symbols having mappings and/or expressing states/statuses. Need to convert to metrics.
569 - metric_tags:
570 - - symbol:
571 - OID: 1.3.6.1.4.1.9.9.42.1.2.9.1.10
572 - name: rttMonCtrlOperState
499 + - OID: 1.3.6.1.4.1.9.9.42.1.2.9.1.10
500 + name: rttMonCtrlOperState
501 tag: rtt_state
502 + description: Used to manage the state of the probe that is implementing conceptual RTT control row.
503 + unit: "{status}"
504 + family: Cisco/RTT/Operations/Status
505 mapping:
506 1: reset
507 2: orderly_stop
@@ -579,57 +510,14 @@ metrics:
510 5: inactive
511 6: active
512 7: restart
582 - - symbol:
583 - OID: 1.3.6.1.4.1.9.9.42.1.2.1.1.4
584 - name: rttMonCtrlAdminRttType
585 - table: rttMonCtrlAdminTable
586 - tag: rtt_type
513 + - OID: 1.3.6.1.4.1.9.9.42.1.2.9.1.6
514 + name: rttMonCtrlOperTimeoutOccurred
515 + description: Indicates if a timeout occurred for the RTT operation
516 + unit: "{status}"
517 + family: Cisco/RTT/Operations/Status
518 mapping:
588 - 1: echo
589 - 2: path_echo
590 - 3: file_io
591 - 4: script
592 - 5: udp_echo
593 - 6: tcp_connect
594 - 7: http
595 - 8: dns
596 - 9: jitter
597 - 10: dlsw
598 - 11: dhcp
599 - 12: ftp
600 - 13: voip
601 - 14: rtp
602 - 15: lsp_group
603 - 16: icmpjitter
604 - 17: lsp_ping
605 - 18: lsp_trace
606 - 19: ethernet_ping
607 - 20: ethernet_jitter
608 - 21: lsp_ping_pseudowire
609 - 22: video
610 - 23: y1731_delay
611 - 24: y1731_loss
612 - 25: mcast_jitter
613 - 26: fabric_path_echo
519 + 1: timeout_occurred
520 + 2: no_timeout
521 + metric_tags:
522 - index: 1
523 tag: rtt_index
616 - - symbol:
617 - OID: 1.3.6.1.4.1.9.9.42.1.2.2.1.6
618 - name: rttMonEchoAdminSourceAddress
619 - format: ip_address
620 - table: rttMonEchoAdminTable
621 - tag: rtt_source_address
622 - - symbol:
623 - OID: 1.3.6.1.4.1.9.9.42.1.2.2.1.2
624 - name: rttMonEchoAdminTargetAddress
625 - format: ip_address
626 - table: rttMonEchoAdminTable
627 - tag: rtt_target_address
628 - - symbol:
629 - OID: 1.3.6.1.4.1.9.9.42.1.2.9.1.6
630 - name: rttMonCtrlOperTimeoutOccurred
631 - name: rttMonCtrlOperTable
632 - tag: rtt_timeout
633 - mapping:
634 - 1: true
635 - 2: false