Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 47da0dec authored by BERARD Benjamin's avatar BERARD Benjamin
Browse files

Add metric for network equipement in sophia

parent a0386826
No related branches found
No related tags found
1 merge request!97Add metric for network equipement in sophia
Pipeline #139389 passed
...@@ -465,6 +465,26 @@ ...@@ -465,6 +465,26 @@
"snmp_pattern": "GigabitEthernet%LINECARD%/%PORT%" "snmp_pattern": "GigabitEthernet%LINECARD%/%PORT%"
} }
], ],
"metrics": [
{
"description": "Input byte counter for the network device port",
"name": "network_ifacein_bytes_total",
"period": 1000,
"source": {
"id": "1.3.6.1.2.1.2.2.1.10.%SNMP_IFACE%",
"protocol": "snmp"
}
},
{
"description": "Output byte counter for the network device port",
"name": "network_ifaceout_bytes_total",
"period": 1000,
"source": {
"id": "1.3.6.1.2.1.2.2.1.16.%SNMP_IFACE%",
"protocol": "snmp"
}
}
],
"model": "Foundry", "model": "Foundry",
"role": "production", "role": "production",
"site": "sophia", "site": "sophia",
......
...@@ -62,6 +62,26 @@ ...@@ -62,6 +62,26 @@
"snmp_pattern": "Port: %PORT% Gigabit" "snmp_pattern": "Port: %PORT% Gigabit"
} }
], ],
"metrics": [
{
"description": "Input byte counter for the network device port",
"name": "network_ifacein_bytes_total",
"period": 1000,
"source": {
"id": "1.3.6.1.2.1.2.2.1.10.%SNMP_IFACE%",
"protocol": "snmp"
}
},
{
"description": "Output byte counter for the network device port",
"name": "network_ifaceout_bytes_total",
"period": 1000,
"source": {
"id": "1.3.6.1.2.1.2.2.1.16.%SNMP_IFACE%",
"protocol": "snmp"
}
}
],
"model": "Juniper EX2500-24F-FB", "model": "Juniper EX2500-24F-FB",
"role": "production", "role": "production",
"site": "sophia", "site": "sophia",
......
...@@ -399,6 +399,26 @@ ...@@ -399,6 +399,26 @@
"snmp_pattern": "Port: %PORT% Gigabit" "snmp_pattern": "Port: %PORT% Gigabit"
} }
], ],
"metrics": [
{
"description": "Input byte counter for the network device port",
"name": "network_ifacein_bytes_total",
"period": 1000,
"source": {
"id": "1.3.6.1.2.1.2.2.1.10.%SNMP_IFACE%",
"protocol": "snmp"
}
},
{
"description": "Output byte counter for the network device port",
"name": "network_ifaceout_bytes_total",
"period": 1000,
"source": {
"id": "1.3.6.1.2.1.2.2.1.16.%SNMP_IFACE%",
"protocol": "snmp"
}
}
],
"model": "Dell PowerConnect 6248", "model": "Dell PowerConnect 6248",
"role": "production", "role": "production",
"site": "sophia", "site": "sophia",
......
...@@ -6,6 +6,19 @@ gw: ...@@ -6,6 +6,19 @@ gw:
kind: router kind: router
site: sophia site: sophia
snmp_community: g5kadmin snmp_community: g5kadmin
metrics:
- name: network_ifacein_bytes_total
description: Input byte counter for the network device port
period: 1000
source:
protocol: snmp
id: 1.3.6.1.2.1.2.2.1.10.%SNMP_IFACE%
- name: network_ifaceout_bytes_total
description: Output byte counter for the network device port
period: 1000
source:
protocol: snmp
id: 1.3.6.1.2.1.2.2.1.16.%SNMP_IFACE%
alias: alias:
- gw-sophia - gw-sophia
ip: 172.16.143.254 ip: 172.16.143.254
...@@ -198,3 +211,16 @@ gw: ...@@ -198,3 +211,16 @@ gw:
24: 24:
uid: srv-stock-eth1 uid: srv-stock-eth1
kind: server kind: server
metrics:
- name: network_ifacein_bytes_total
description: Input byte counter for the network device port
period: 1000
source:
protocol: snmp
id: 1.3.6.1.2.1.2.2.1.10.%SNMP_IFACE%
- name: network_ifaceout_bytes_total
description: Output byte counter for the network device port
period: 1000
source:
protocol: snmp
id: 1.3.6.1.2.1.2.2.1.16.%SNMP_IFACE%
...@@ -6,6 +6,19 @@ swx1nef: ...@@ -6,6 +6,19 @@ swx1nef:
kind: switch kind: switch
site: sophia site: sophia
snmp_community: g5kadmin snmp_community: g5kadmin
metrics:
- name: network_ifacein_bytes_total
description: Input byte counter for the network device port
period: 1000
source:
protocol: snmp
id: 1.3.6.1.2.1.2.2.1.10.%SNMP_IFACE%
- name: network_ifaceout_bytes_total
description: Output byte counter for the network device port
period: 1000
source:
protocol: snmp
id: 1.3.6.1.2.1.2.2.1.16.%SNMP_IFACE%
backplane_bps: 240000000000 backplane_bps: 240000000000
linecards: linecards:
0: 0:
......
...@@ -6,6 +6,19 @@ swy1nef: ...@@ -6,6 +6,19 @@ swy1nef:
kind: switch kind: switch
site: sophia site: sophia
snmp_community: g5kadmin snmp_community: g5kadmin
metrics:
- name: network_ifacein_bytes_total
description: Input byte counter for the network device port
period: 1000
source:
protocol: snmp
id: 1.3.6.1.2.1.2.2.1.10.%SNMP_IFACE%
- name: network_ifaceout_bytes_total
description: Output byte counter for the network device port
period: 1000
source:
protocol: snmp
id: 1.3.6.1.2.1.2.2.1.16.%SNMP_IFACE%
ip: 172.16.143.249 ip: 172.16.143.249
backplane_bps: 184000000000 backplane_bps: 184000000000
linecards: linecards:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment