SNMP first cisco yaml file pass (#20246)
* first cisco yaml pass * changes and another file * changes to families * changes to families * basic changes requested * basic changes requested * review * review * review * review
Fotis Voutsas committed
May 12, 2025 at 14:44 UTC
208131592c3547f3a7cf2d7d4fcc26bee5f6576a
4 files changed
+22
-10
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_base_cisco_voice.yaml
deleted
-5
@@ -1,5 +0,0 @@
1
-# Backward compatibility shim, in case users referenced this in their own profiles before the rename.
2
-extends:
3
- - _base.yaml
4
- - _cisco-generic.yaml
5
- - _cisco-voice.yaml
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_cisco-asa.yaml
+13
-4
@@ -1,5 +1,4 @@
1
# Profile for Cisco ASA devices
2
-
2
extends:
3
- _cisco-generic.yaml
4
@@ -12,7 +11,9 @@ metrics:
11
- OID: 1.3.6.1.4.1.9.9.147.1.2.2.2.1.5
12
name: cfwConnectionStatValue
13
description: Current status of the resource statistic
15
- unit: "{statistic}"
14
+ unit: "{status}"
15
+ dims_for_status: true
16
+ family: "Firewall/Statistics"
17
metric_tags:
18
- index: 1
19
tag: service_type
@@ -26,6 +27,7 @@ metrics:
27
name: crasNumDeclinedSessions
28
description: Number of session setup attempts declined due to authentication or authorization failure
29
unit: "{session}"
30
+ family: "Firewall/Sessions"
31
- MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
32
symbol:
33
# num sessions
@@ -33,6 +35,7 @@ metrics:
35
name: crasNumSessions
36
description: Number of currently active sessions
37
unit: "{session}"
38
+ family: "Firewall/Sessions"
39
- MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
40
symbol:
41
# num users
@@ -40,6 +43,7 @@ metrics:
43
name: crasNumUsers
44
description: Number of users who have active sessions
45
unit: "{user}"
46
+ family: "Firewall/Users"
47
- MIB: CISCO-REMOTE-ACCESS-MONITOR-MIB
48
metric_type: monotonic_count
49
symbol:
@@ -47,13 +51,15 @@ metrics:
51
OID: 1.3.6.1.4.1.9.9.392.1.4.1.3.0
52
name: crasNumSetupFailInsufResources
53
description: Number of session setup attempts failed due to insufficient resources
50
- unit: "{session}"
54
+ unit: "{failure}"
55
+ family: "Firewall/Sessions"
56
- MIB: CISCO-IPSEC-FLOW-MONITOR-MIB
57
symbol:
58
OID: 1.3.6.1.4.1.9.9.171.1.3.1.1.0
59
name: cipSecGlobalActiveTunnels
60
description: Number of currently active IPsec Phase-2 Tunnels
61
unit: "{tunnel}"
62
+ family: "Firewall/IPsec"
63
- MIB: CISCO-IPSEC-FLOW-MONITOR-MIB
64
metric_type: monotonic_count
65
symbol:
@@ -61,6 +67,7 @@ metrics:
67
name: cipSecGlobalHcInOctets
68
description: High capacity count of total octets received by all current and previous IPsec Phase-2 Tunnels
69
unit: "By"
70
+ family: "Firewall/IPsec"
71
- MIB: CISCO-IPSEC-FLOW-MONITOR-MIB
72
metric_type: monotonic_count
73
symbol:
@@ -68,6 +75,7 @@ metrics:
75
name: cipSecGlobalHcOutOctets
76
description: High capacity count of total octets sent by all current and previous IPsec Phase-2 Tunnels
77
unit: "By"
78
+ family: "Firewall/IPsec"
79
- MIB: ENTITY-SENSOR-MIB
80
table:
81
OID: 1.3.6.1.2.1.99.1.1
@@ -76,7 +84,8 @@ metrics:
84
- OID: 1.3.6.1.2.1.99.1.1.1.4
85
name: entPhySensorValue
86
description: Most recent measurement obtained by the agent for this sensor
79
- unit: "TBD"
87
+ unit: "1"
88
+ family: "Hardware/Sensors"
89
metric_tags:
90
- symbol:
91
OID: 1.3.6.1.2.1.99.1.1.1.1
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_cisco-catalyst.yaml
+6
-1
@@ -28,7 +28,8 @@ metrics:
28
- OID: 1.3.6.1.4.1.9.9.91.1.1.1.1.4
29
name: entSensorValue
30
description: "The most recent measurement seen by the sensor"
31
- unit: "TBD"
31
+ unit: "1"
32
+ family: "Switches/Sensors"
33
metric_tags:
34
- symbol:
35
OID: 1.3.6.1.4.1.9.9.91.1.1.1.1.1
@@ -46,18 +47,22 @@ metrics:
47
name: cieIfLastInTime
48
description: "Elapsed time in milliseconds since last protocol input packet was received"
49
unit: "ms"
50
+ family: "Network/Interfaces/Packets"
51
- OID: 1.3.6.1.4.1.9.9.276.1.1.1.1.2
52
name: cieIfLastOutTime
53
description: "Elapsed time in milliseconds since last protocol output packet was transmitted"
54
unit: "ms"
55
+ family: "Network/Interfaces/Packets"
56
- OID: 1.3.6.1.4.1.9.9.276.1.1.1.1.10
57
name: cieIfInputQueueDrops
58
description: "Number of input packets which were dropped"
59
unit: "{packet}"
60
+ family: "Network/Interfaces/Packets"
61
- OID: 1.3.6.1.4.1.9.9.276.1.1.1.1.11
62
name: cieIfOutputQueueDrops
63
description: "Number of output packets dropped by the interface"
64
unit: "{packet}"
65
+ family: "Network/Interfaces/Packets"
66
metric_tags:
67
- MIB: IF-MIB
68
symbol:
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_cisco-cpu-memory.yaml
+3
@@ -10,6 +10,7 @@ metrics:
10
name: cpu.usage
11
description: The overall CPU busy percentage in the last 1 minute period
12
unit: "%"
13
+ family: "CPU"
14
metric_tags:
15
- index: 1 # cpmCPUTotalIndex
16
tag: cpu
@@ -23,10 +24,12 @@ metrics:
24
name: memory.used
25
description: Indicates the number of bytes from the memory pool that are currently in use by applications on the managed device
26
unit: "By"
27
+ family: "Memory"
28
- OID: 1.3.6.1.4.1.9.9.48.1.1.1.6 # ciscoMemoryPoolFree
29
name: memory.free
30
description: Indicates the number of bytes from the memory pool that are currently unused on the managed device. Note that the sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree is the total amount of memory in the pool
31
unit: "By"
32
+ family: "Memory"
33
metric_tags:
34
- index: 1 # ciscoMemoryPoolType
35
tag: mem