From 5989444a986559c064689d788b2a903a14df86fc Mon Sep 17 00:00:00 2001 From: BERARD Benjamin <benjamin.berard@inria.fr> Date: Thu, 3 Sep 2020 09:38:20 +0200 Subject: [PATCH] [grappe] Add new PDU for grappe cluster --- .../sites/nancy/pdus/grappe-pdu1.json | 37 +++++++++++++++++++ .../sites/nancy/pdus/grappe-pdu2.json | 37 +++++++++++++++++++ input/grid5000/sites/nancy/pdus.yaml | 26 +++++++++++++ 3 files changed, 100 insertions(+) create mode 100644 data/grid5000/sites/nancy/pdus/grappe-pdu1.json create mode 100644 data/grid5000/sites/nancy/pdus/grappe-pdu2.json diff --git a/data/grid5000/sites/nancy/pdus/grappe-pdu1.json b/data/grid5000/sites/nancy/pdus/grappe-pdu1.json new file mode 100644 index 0000000000..d063325784 --- /dev/null +++ b/data/grid5000/sites/nancy/pdus/grappe-pdu1.json @@ -0,0 +1,37 @@ +{ + "ip": "172.17.79.210", + "mac": "28:29:86:2d:dd:3f", + "metrics": [ + { + "description": "Power consumption per outlet reported by PDU, in watt", + "name": "pdu_outlet_power_watt", + "period": 1000, + "source": { + "id": "1.3.6.1.4.1.318.1.1.26.9.4.3.1.7.%PORT%", + "protocol": "snmp" + } + } + ], + "model": "AP8653", + "ports": { + }, + "sensors": [ + { + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": [ + "iso.3.6.1.4.1.318.1.1.12.1.16.0" + ], + "unit": "W" + } + } + } + ], + "type": "pdu", + "uid": "grappe-pdu1", + "vendor": "APC" +} \ No newline at end of file diff --git a/data/grid5000/sites/nancy/pdus/grappe-pdu2.json b/data/grid5000/sites/nancy/pdus/grappe-pdu2.json new file mode 100644 index 0000000000..2e6f9e683d --- /dev/null +++ b/data/grid5000/sites/nancy/pdus/grappe-pdu2.json @@ -0,0 +1,37 @@ +{ + "ip": "172.17.79.211", + "mac": "28:29:86:2d:df:60", + "metrics": [ + { + "description": "Power consumption per outlet reported by PDU, in watt", + "name": "pdu_outlet_power_watt", + "period": 1000, + "source": { + "id": "1.3.6.1.4.1.318.1.1.26.9.4.3.1.7.%PORT%", + "protocol": "snmp" + } + } + ], + "model": "AP8653", + "ports": { + }, + "sensors": [ + { + "power": { + "per_outlets": true, + "resolution": 1, + "snmp": { + "available": true, + "outlet_prefix_oid": "iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7", + "total_oids": [ + "iso.3.6.1.4.1.318.1.1.12.1.16.0" + ], + "unit": "W" + } + } + } + ], + "type": "pdu", + "uid": "grappe-pdu2", + "vendor": "APC" +} \ No newline at end of file diff --git a/input/grid5000/sites/nancy/pdus.yaml b/input/grid5000/sites/nancy/pdus.yaml index edc18bfcb1..1be8431334 100644 --- a/input/grid5000/sites/nancy/pdus.yaml +++ b/input/grid5000/sites/nancy/pdus.yaml @@ -219,6 +219,32 @@ pdus: gros-pdu8: ip: 172.17.79.249 mac: 28:29:86:12:28:60 + grappe-pdu1: + ip: 172.17.79.210 + mac: 28:29:86:2d:dd:3f + grappe-pdu2: + ip: 172.17.79.211 + mac: 28:29:86:2d:df:60 + grappe-pdu[1-2]: + vendor: APC + model: AP8653 + metrics: + - name: pdu_outlet_power_watt + description: Power consumption per outlet reported by PDU, in watt + period: 1000 + source: + protocol: snmp + id: 1.3.6.1.4.1.318.1.1.26.9.4.3.1.7.%PORT% + sensors: + - power: + per_outlets: true + snmp: + available: true + total_oids: + - iso.3.6.1.4.1.318.1.1.12.1.16.0 + unit: W + outlet_prefix_oid: iso.3.6.1.4.1.318.1.1.26.9.4.3.1.7 + resolution: 1 gros-wattmetre1: vendor: OmegaWatt -- GitLab