diff --git a/data/grid5000/sites/sophia/network_equipments/gw.json b/data/grid5000/sites/sophia/network_equipments/gw.json index dbfd8b48c1e56e434f049ad276cb1bf819aa21dd..cd0929a1965b2c575aee5595e8dd265131ae2a98 100644 --- a/data/grid5000/sites/sophia/network_equipments/gw.json +++ b/data/grid5000/sites/sophia/network_equipments/gw.json @@ -465,6 +465,26 @@ "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", "role": "production", "site": "sophia", diff --git a/data/grid5000/sites/sophia/network_equipments/swx1nef.json b/data/grid5000/sites/sophia/network_equipments/swx1nef.json index 3f052b5fb30ded422ab63647893d5c31b827ebd9..927e4e0cad11dccc1fa1f2782af249555b284039 100644 --- a/data/grid5000/sites/sophia/network_equipments/swx1nef.json +++ b/data/grid5000/sites/sophia/network_equipments/swx1nef.json @@ -62,6 +62,26 @@ "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", "role": "production", "site": "sophia", diff --git a/data/grid5000/sites/sophia/network_equipments/swy1nef.json b/data/grid5000/sites/sophia/network_equipments/swy1nef.json index 6cdf076f6ea5ba0c422dc444bf774eac96941720..19bee44dc9c095d71ace721bf1da9d9730748ecd 100644 --- a/data/grid5000/sites/sophia/network_equipments/swy1nef.json +++ b/data/grid5000/sites/sophia/network_equipments/swy1nef.json @@ -399,6 +399,26 @@ "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", "role": "production", "site": "sophia", diff --git a/input/grid5000/sites/sophia/networks/gw-sophia.yaml b/input/grid5000/sites/sophia/networks/gw-sophia.yaml index fdd3b1e197ac9cc6cdb5bb55baa6bed7afde6bf2..b0735a5ac04c8e2089d7788e5703dd9b42ea2edb 100644 --- a/input/grid5000/sites/sophia/networks/gw-sophia.yaml +++ b/input/grid5000/sites/sophia/networks/gw-sophia.yaml @@ -6,6 +6,19 @@ gw: kind: router site: sophia 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: - gw-sophia ip: 172.16.143.254 @@ -198,3 +211,16 @@ gw: 24: uid: srv-stock-eth1 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% diff --git a/input/grid5000/sites/sophia/networks/swx1nef.yaml b/input/grid5000/sites/sophia/networks/swx1nef.yaml index 98c0cfa2e040242181273e07a63249686062d6e2..c95c838187d2ddedce27cc9507fcaf4e9c44775b 100644 --- a/input/grid5000/sites/sophia/networks/swx1nef.yaml +++ b/input/grid5000/sites/sophia/networks/swx1nef.yaml @@ -6,6 +6,19 @@ swx1nef: kind: switch site: sophia 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 linecards: 0: diff --git a/input/grid5000/sites/sophia/networks/swy1nef.yaml b/input/grid5000/sites/sophia/networks/swy1nef.yaml index d0b37cd7624ed331f47d115779a0b83ddf3a3202..864dd0ad2a57db3b1ccec92490c4bfd41e58c6cd 100644 --- a/input/grid5000/sites/sophia/networks/swy1nef.yaml +++ b/input/grid5000/sites/sophia/networks/swy1nef.yaml @@ -6,6 +6,19 @@ swy1nef: kind: switch site: sophia 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 backplane_bps: 184000000000 linecards: