diff --git a/data/grid5000/sites/nantes/pdus/pdu-Z1.41.json b/data/grid5000/sites/nantes/pdus/pdu-Z1.41.json index f414c7a135265adb3b3c1754979610d150039225..97775214a9541c5c699cf4480e6adac4f295f5a5 100644 --- a/data/grid5000/sites/nantes/pdus/pdu-Z1.41.json +++ b/data/grid5000/sites/nantes/pdus/pdu-Z1.41.json @@ -1,6 +1,18 @@ { "ip": "192.168.1.10", "mac": "00:c0:b7:fb:aa:8b", + "metrics": [ + { + "description": "Power consumption per outlet reported by PDU, in watt", + "name": "pdu_outlet_power_watt", + "period": 5000, + "source": { + "id": "1.3.6.1.4.1.318.1.1.26.9.4.3.1.7.%PORT%", + "protocol": "snmp" + } + } + ], + "model": "", "ports": { "10": "ecotype-20", "11": "ecotype-21", @@ -16,5 +28,6 @@ "9": "ecotype-19" }, "type": "pdu", - "uid": "pdu-Z1.41" + "uid": "pdu-Z1.41", + "vendor": "APC" } \ No newline at end of file diff --git a/input/grid5000/sites/nantes/pdus.yaml b/input/grid5000/sites/nantes/pdus.yaml index 14c59476f2af2f82503173561125c0c2a9ee7e30..c6a79d8adbf5682447fff3a1d3bfd0577ca8cde3 100644 --- a/input/grid5000/sites/nantes/pdus.yaml +++ b/input/grid5000/sites/nantes/pdus.yaml @@ -133,6 +133,15 @@ pdus: 14: ecotype-24 pdu-Z1.41: + vendor: APC + model: '' + metrics: + - name: pdu_outlet_power_watt + description: Power consumption per outlet reported by PDU, in watt + period: 5000 + source: + protocol: snmp + id: 1.3.6.1.4.1.318.1.1.26.9.4.3.1.7.%PORT% ip: 192.168.1.10 mac: 00:c0:b7:fb:aa:8b ports: