SNMP: _juniper-virtualchassis.yaml (#20410)
Co-authored-by: ilyam8 <ilya@netdata.cloud>
Fotis Voutsas committed
Jun 29, 2025 at 12:39 UTC
f274c885df734cca14698bc98fa6fe8b55b5e738
4 files changed
+77
-90
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_juniper-dcu.yaml
+2
-2
@@ -10,12 +10,12 @@ metrics:
10
- OID: 1.3.6.1.4.1.2636.3.6.2.1.4
11
name: jnxDcuStatsPackets
12
description: The number of packets received on this interface, belonging to this address family that match this Destination Class
13
- family: Juniper/SRX/Interfaces/DCU/Packets
13
+ family: Interfaces/DCU/Packet/In
14
unit: "{packet}"
15
- OID: 1.3.6.1.4.1.2636.3.6.2.1.5
16
name: jnxDcuStatsBytes
17
description: The number of bytes received on this interface, belonging to this address family that match this Destination Class
18
- family: Juniper/SRX/Interfaces/DCU/Traffic
18
+ family: Interfaces/DCU/Traffic/In
19
unit: "By"
20
metric_tags:
21
- symbol:
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_juniper-scu.yaml
+3
-3
@@ -1,4 +1,4 @@
1
-# Statistics for traffic that satisfies the rules in each configured Destination Class
1
+# Statistics for traffic that satisfies the rules in each configured Source Class
2
3
metrics:
4
- MIB: JUNIPER-SCU-MIB
@@ -10,12 +10,12 @@ metrics:
10
- OID: 1.3.6.1.4.1.2636.3.16.1.1.1.4
11
name: jnxScuStatsPackets
12
description: Number of packets sent out of destination interface that match the source class and address family
13
- family: Juniper/SRX/Interfaces/SCU/Packets
13
+ family: Interfaces/SCU/Packet/Out
14
unit: "{packet}"
15
- OID: 1.3.6.1.4.1.2636.3.16.1.1.1.5
16
name: jnxScuStatsBytes
17
description: Number of bytes sent out of destination interface that match the source class and address family
18
- family: Juniper/SRX/Interfaces/SCU/Traffic
18
+ family: Interfaces/SCU/Traffic/Out
19
unit: "By"
20
metric_tags:
21
- symbol:
src/go/plugin/go.d/config/go.d/snmp.profiles/default/_juniper-virtualchassis.yaml
+32
-44
@@ -1,7 +1,8 @@
1
# Virtual Chassis-related metrics
2
3
-metrics:
3
+# TODO, this profile is used by MX(router) and EX(switch), so the families need some templating to be dynamic here.
4
5
+metrics:
6
# These metrics will be sent as monotonic counts and rates:
7
- MIB: JUNIPER-VIRTUALCHASSIS-MIB
8
table:
@@ -9,91 +10,78 @@ metrics:
10
name: jnxVirtualChassisPortTable
11
metric_type: monotonic_count
12
symbols:
12
- # Indicates the total number of packets received on the virtual-chassis port.
13
- OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.5
14
name: jnxVirtualChassisPortInPkts
15
description: Total number of packets received on the virtual-chassis port
16
+ family: VirtualChassis/Port/Packet/Total/In
17
unit: "{packet}"
17
- # Indicates the total number of packets sent from the virtual-chassis port.
18
+ - OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.11
19
+ name: jnxVirtualChassisPortInPkts1secRate
20
+ description: Total number of packets received per second on the virtual-chassis port
21
+ family: VirtualChassis/Port/Packet/Total/In
22
+ unit: "{packet}/s"
23
- OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.6
24
name: jnxVirtualChassisPortOutPkts
25
description: Total number of packets sent from the virtual-chassis port
26
+ family: VirtualChassis/Port/Packet/Total/Out
27
unit: "{packet}"
22
- # Indicates the total number of octets received on the virtual-chassis port.
28
+ - OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.12
29
+ name: jnxVirtualChassisPortOutPkts1secRate
30
+ description: Total number of packets sent per second from the virtual-chassis port
31
+ family: VirtualChassis/Port/Packet/Total/Out
32
+ unit: "{packet}/s"
33
- OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.7
34
name: jnxVirtualChassisPortInOctets
35
description: Total number of octets received on the virtual-chassis port
36
+ family: VirtualChassis/Port/Traffic/Total/In
37
unit: "By"
27
- # Indicates the total number of octets sent on the virtual-chassis port.
38
+ - OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.13
39
+ name: jnxVirtualChassisPortInOctets1secRate
40
+ description: Total number of octets received per second on the virtual-chassis port
41
+ family: VirtualChassis/Port/Traffic/Total/In
42
+ unit: "By/s"
43
- OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.8
44
name: jnxVirtualChassisPortOutOctets
45
description: Total number of octets sent on the virtual-chassis port
46
+ family: VirtualChassis/Port/Traffic/Total/Out
47
unit: "By"
32
- # Indicates the total number of multicast packets received on the virtual-chassis port.
48
+ - OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.14
49
+ name: jnxVirtualChassisPortOutOctets1secRate
50
+ description: Total number of octets sent per second on the virtual-chassis port
51
+ family: VirtualChassis/Port/Traffic/Total/Out
52
+ unit: "By/s"
53
- OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.9
54
name: jnxVirtualChassisPortInMcasts
55
description: Total number of multicast packets received on the virtual-chassis port
56
+ family: VirtualChassis/Port/Packet/Multicast/In
57
unit: "{packet}"
37
- # Indicates the total number of multicast packets sent from the virtual-chassis port.
58
- OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.10
59
name: jnxVirtualChassisPortOutMcasts
60
description: Total number of multicast packets sent from the virtual-chassis port
61
+ family: VirtualChassis/Port/Packet/Multicast/Out
62
unit: "{packet}"
42
- # Indicates the total number of Carrier errors on the virtual-chassis port.
63
- OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.15
64
name: jnxVirtualChassisPortCarrierTrans
65
description: Total number of Carrier errors on the virtual-chassis port
66
+ family: VirtualChassis/Port/Error/CarrierTransition/Count
67
unit: "{error}"
47
- # Indicates the total number of Input CRC Alignment errors on the virtual-chassis port.
68
- OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.16
69
name: jnxVirtualChassisPortInCRCAlignErrors
70
description: Total number of Input CRC Alignment errors on the virtual-chassis port
71
+ family: VirtualChassis/Port/Error/CRCAlign/In
72
unit: "{error}"
52
- # Indicates the total number of Undersize Packets on the virtual-chassis port.
73
- OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.17
74
name: jnxVirtualChassisPortUndersizePkts
75
description: Total number of Undersize Packets on the virtual-chassis port
76
+ family: VirtualChassis/Port/Packet/Undersize/Count
77
unit: "{packet}"
57
- # Indicates the total number of Collisions on the virtual-chassis port.
78
- OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.18
79
name: jnxVirtualChassisPortCollisions
80
description: Total number of Collisions on the virtual-chassis port
81
+ family: VirtualChassis/Port/Error/Collision/Count
82
unit: "{collision}"
83
metric_tags:
84
- symbol:
85
OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.2
86
name: jnxVirtualChassisPortName
87
tag: port_name
67
-
68
- # These metrics will be sent as rates only (default for counter64 metrics):
69
- - MIB: JUNIPER-VIRTUALCHASSIS-MIB
70
- table:
71
- OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2
72
- name: jnxVirtualChassisPortTable
73
- metric_type: gauge
74
- symbols:
75
- # Indicates the total number of packets received per second on the virtual-chassis port.
76
- - OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.11
77
- name: jnxVirtualChassisPortInPkts1secRate
78
- description: Total number of packets received per second on the virtual-chassis port
79
- unit: "{packet}/s"
80
- # Indicates the total number of packets sent per second from the virtual-chassis port.
81
- - OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.12
82
- name: jnxVirtualChassisPortOutPkts1secRate
83
- description: Total number of packets sent per second from the virtual-chassis port
84
- unit: "{packet}/s"
85
- # Indicates the total number of octets received per second on the virtual-chassis port.
86
- - OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.13
87
- name: jnxVirtualChassisPortInOctets1secRate
88
- description: Total number of octets received per second on the virtual-chassis port
89
- unit: "By/s"
90
- # Indicates the total number of octets sent per second on the virtual-chassis port.
91
- - OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.14
92
- name: jnxVirtualChassisPortOutOctets1secRate
93
- description: Total number of octets sent per second on the virtual-chassis port
94
- unit: "By/s"
95
- metric_tags:
96
- - symbol:
97
- OID: 1.3.6.1.4.1.2636.3.40.1.4.1.2.1.2
98
- name: jnxVirtualChassisPortName
99
- tag: port_name
src/go/plugin/go.d/config/go.d/snmp.profiles/default/juniper-mx.yaml
+40
-41
@@ -16,54 +16,53 @@ extends:
16
- _juniper-junos-generic.yaml
17
- _juniper.yaml
18
19
-device:
20
- vendor: "juniper-networks"
21
-
19
metadata:
20
device:
21
fields:
22
type:
26
- value: "router"
23
+ value: Router
24
+ vendor:
25
+ value: Juniper
26
27
# Juniper Products are declared in JUNIPER-CHASSIS-DEFINES-MIB.
28
# Product sysoids are defined under 1.3.6.1.4.1.2636.1.1.1.2 (jnxProductName).
29
# Variations of a product are defined under 1.3.6.1.4.1.2636.1.1.1.4 (jnxProductVariation).
30
# Reference: https://mibs.observium.org/mib/JUNIPER-CHASSIS-DEFINES-MIB/
31
sysobjectid:
33
- - 1.3.6.1.4.1.2636.1.1.1.2.21 # MX960
34
- - 1.3.6.1.4.1.2636.1.1.1.4.21.* # MX960 variations
35
- - 1.3.6.1.4.1.2636.1.1.1.2.25 # MX480
36
- - 1.3.6.1.4.1.2636.1.1.1.4.25.* # MX480 variations
37
- - 1.3.6.1.4.1.2636.1.1.1.2.29 # MX240
38
- - 1.3.6.1.4.1.2636.1.1.1.4.29.* # MX240 variations
39
- - 1.3.6.1.4.1.2636.1.1.1.2.57 # MX80
40
- - 1.3.6.1.4.1.2636.1.1.1.4.57.* # MX80 variations
41
- - 1.3.6.1.4.1.2636.1.1.1.2.88 # MX40
42
- - 1.3.6.1.4.1.2636.1.1.1.4.88.* # MX40 variations
43
- - 1.3.6.1.4.1.2636.1.1.1.2.89 # MX10
44
- - 1.3.6.1.4.1.2636.1.1.1.4.89.* # MX10 variations
45
- - 1.3.6.1.4.1.2636.1.1.1.2.90 # MX5
46
- - 1.3.6.1.4.1.2636.1.1.1.4.90.* # MX5 variations
47
- - 1.3.6.1.4.1.2636.1.1.1.2.93 # MX2020
48
- - 1.3.6.1.4.1.2636.1.1.1.4.93.* # MX2020 variations
49
- - 1.3.6.1.4.1.2636.1.1.1.2.97 # MX104
50
- - 1.3.6.1.4.1.2636.1.1.1.4.97.* # MX104 variations
51
- - 1.3.6.1.4.1.2636.1.1.1.2.99 # MX2010
52
- - 1.3.6.1.4.1.2636.1.1.1.4.99.* # MX2010 variations
53
- - 1.3.6.1.4.1.2636.1.1.1.2.108 # vMX
54
- - 1.3.6.1.4.1.2636.1.1.1.2.111 # MX10440G
55
- - 1.3.6.1.4.1.2636.1.1.1.2.139 # JNP10003
56
- - 1.3.6.1.4.1.2636.1.1.1.4.139.* # JNP10003 variations
57
- - 1.3.6.1.4.1.2636.1.1.1.2.144 # JNP204
58
- - 1.3.6.1.4.1.2636.1.1.1.4.144.* # JNP204 variations
59
- - 1.3.6.1.4.1.2636.1.1.1.2.145 # MX2008
60
- - 1.3.6.1.4.1.2636.1.1.1.4.145.* # MX2008 variations
61
- - 1.3.6.1.4.1.2636.1.1.1.2.146 # MXTSR80
62
- - 1.3.6.1.4.1.2636.1.1.1.4.146.* # MXTSR80 variations
63
- - 1.3.6.1.4.1.2636.1.1.1.2.152 # MX150
64
- - 1.3.6.1.4.1.2636.1.1.1.2.154 # MX10008
65
- - 1.3.6.1.4.1.2636.1.1.1.4.154.* # MX10008 variations
66
- - 1.3.6.1.4.1.2636.1.1.1.2.155 # MX10016
67
- - 1.3.6.1.4.1.2636.1.1.1.4.155.* # MX10016 variations
68
- - 1.3.6.1.4.1.2636.1.1.1.2.168 # MX10004
69
- - 1.3.6.1.4.1.2636.1.1.1.4.168.* # MX10004 variations
32
+ - 1.3.6.1.4.1.2636.1.1.1.2.21 # MX960
33
+ - 1.3.6.1.4.1.2636.1.1.1.4.21.* # MX960 variations
34
+ - 1.3.6.1.4.1.2636.1.1.1.2.25 # MX480
35
+ - 1.3.6.1.4.1.2636.1.1.1.4.25.* # MX480 variations
36
+ - 1.3.6.1.4.1.2636.1.1.1.2.29 # MX240
37
+ - 1.3.6.1.4.1.2636.1.1.1.4.29.* # MX240 variations
38
+ - 1.3.6.1.4.1.2636.1.1.1.2.57 # MX80
39
+ - 1.3.6.1.4.1.2636.1.1.1.4.57.* # MX80 variations
40
+ - 1.3.6.1.4.1.2636.1.1.1.2.88 # MX40
41
+ - 1.3.6.1.4.1.2636.1.1.1.4.88.* # MX40 variations
42
+ - 1.3.6.1.4.1.2636.1.1.1.2.89 # MX10
43
+ - 1.3.6.1.4.1.2636.1.1.1.4.89.* # MX10 variations
44
+ - 1.3.6.1.4.1.2636.1.1.1.2.90 # MX5
45
+ - 1.3.6.1.4.1.2636.1.1.1.4.90.* # MX5 variations
46
+ - 1.3.6.1.4.1.2636.1.1.1.2.93 # MX2020
47
+ - 1.3.6.1.4.1.2636.1.1.1.4.93.* # MX2020 variations
48
+ - 1.3.6.1.4.1.2636.1.1.1.2.97 # MX104
49
+ - 1.3.6.1.4.1.2636.1.1.1.4.97.* # MX104 variations
50
+ - 1.3.6.1.4.1.2636.1.1.1.2.99 # MX2010
51
+ - 1.3.6.1.4.1.2636.1.1.1.4.99.* # MX2010 variations
52
+ - 1.3.6.1.4.1.2636.1.1.1.2.108 # vMX
53
+ - 1.3.6.1.4.1.2636.1.1.1.2.111 # MX10440G
54
+ - 1.3.6.1.4.1.2636.1.1.1.2.139 # JNP10003
55
+ - 1.3.6.1.4.1.2636.1.1.1.4.139.* # JNP10003 variations
56
+ - 1.3.6.1.4.1.2636.1.1.1.2.144 # JNP204
57
+ - 1.3.6.1.4.1.2636.1.1.1.4.144.* # JNP204 variations
58
+ - 1.3.6.1.4.1.2636.1.1.1.2.145 # MX2008
59
+ - 1.3.6.1.4.1.2636.1.1.1.4.145.* # MX2008 variations
60
+ - 1.3.6.1.4.1.2636.1.1.1.2.146 # MXTSR80
61
+ - 1.3.6.1.4.1.2636.1.1.1.4.146.* # MXTSR80 variations
62
+ - 1.3.6.1.4.1.2636.1.1.1.2.152 # MX150
63
+ - 1.3.6.1.4.1.2636.1.1.1.2.154 # MX10008
64
+ - 1.3.6.1.4.1.2636.1.1.1.4.154.* # MX10008 variations
65
+ - 1.3.6.1.4.1.2636.1.1.1.2.155 # MX10016
66
+ - 1.3.6.1.4.1.2636.1.1.1.4.155.* # MX10016 variations
67
+ - 1.3.6.1.4.1.2636.1.1.1.2.168 # MX10004
68
+ - 1.3.6.1.4.1.2636.1.1.1.4.168.* # MX10004 variations