From 2ad0508e7b20ec21a719f39fb768afefbf050dae Mon Sep 17 00:00:00 2001
From: Simon Delamare <simon.delamare@ens-lyon.fr>
Date: Mon, 4 May 2020 14:06:14 +0200
Subject: [PATCH] [all] Add PDU metrics info

---
 data/grid5000/sites/lille/pdus/pdu-b1p1.json  | 11 +++++
 data/grid5000/sites/lille/pdus/pdu-b1p2.json  | 11 +++++
 .../grid5000/sites/lille/pdus/pdu-b1p3-2.json | 11 +++++
 data/grid5000/sites/lille/pdus/pdu-b1p3.json  | 11 +++++
 data/grid5000/sites/lille/pdus/pdu-b2p1.json  | 11 +++++
 data/grid5000/sites/lille/pdus/pdu-b2p2.json  | 11 +++++
 data/grid5000/sites/lille/pdus/pdu-b3p1.json  | 11 +++++
 .../grid5000/sites/lille/pdus/pdu-b3p2-1.json | 11 +++++
 .../grid5000/sites/lille/pdus/pdu-b3p2-2.json | 11 +++++
 data/grid5000/sites/lille/pdus/pdu-b3p3.json  | 11 +++++
 .../nancy/clusters/graoully/graoully.json     |  8 ++++
 .../nancy/clusters/grimoire/grimoire.json     |  8 ++++
 .../sites/nancy/clusters/grisou/grisou.json   |  8 ++++
 .../sites/nancy/pdus/graffiti-pdu1.json       | 11 +++++
 .../sites/nancy/pdus/graffiti-pdu2.json       | 11 +++++
 .../sites/nancy/pdus/graffiti-pdu3.json       | 11 +++++
 .../sites/nancy/pdus/graffiti-pdu4.json       | 11 +++++
 .../sites/nancy/pdus/graoully-pdu1.json       | 11 +++++
 .../sites/nancy/pdus/graoully-pdu2.json       | 11 +++++
 .../sites/nancy/pdus/grimani-pdu1.json        | 11 +++++
 .../sites/nancy/pdus/grimani-pdu2.json        | 11 +++++
 .../sites/nancy/pdus/grimoire-pdu1.json       | 11 +++++
 .../sites/nancy/pdus/grimoire-pdu2.json       | 11 +++++
 .../sites/nancy/pdus/grisou-pdu1.json         | 11 +++++
 .../sites/nancy/pdus/grisou-pdu2.json         | 11 +++++
 data/grid5000/sites/nancy/pdus/gros-pdu1.json | 11 +++++
 data/grid5000/sites/nancy/pdus/gros-pdu2.json | 11 +++++
 data/grid5000/sites/nancy/pdus/gros-pdu3.json | 11 +++++
 data/grid5000/sites/nancy/pdus/gros-pdu4.json | 11 +++++
 data/grid5000/sites/nancy/pdus/gros-pdu5.json | 11 +++++
 data/grid5000/sites/nancy/pdus/gros-pdu6.json | 11 +++++
 data/grid5000/sites/nancy/pdus/gros-pdu7.json | 11 +++++
 data/grid5000/sites/nancy/pdus/gros-pdu8.json | 11 +++++
 .../rennes/clusters/parapide/parapide.json    |  8 ++++
 .../rennes/clusters/parasilo/parasilo.json    |  8 ++++
 .../rennes/clusters/paravance/paravance.json  |  8 ++++
 .../sites/rennes/pdus/parasilo-pdu-1.json     | 11 +++++
 .../sites/rennes/pdus/parasilo-pdu-2.json     | 11 +++++
 .../sites/rennes/pdus/parasilo-pdu-3.json     | 11 +++++
 .../sites/rennes/pdus/parasilo-pdu-4.json     | 11 +++++
 .../sites/rennes/pdus/paravance-pdu-2.json    | 11 +++++
 .../sites/rennes/pdus/paravance-pdu-3.json    | 11 +++++
 .../sites/rennes/pdus/paravance-pdu-4.json    | 11 +++++
 .../sites/rennes/pdus/paravance-pdu-5.json    | 11 +++++
 .../sites/rennes/pdus/paravance-pdu-6.json    | 11 +++++
 .../sites/rennes/pdus/paravance-pdu-7.json    | 11 +++++
 .../sites/rennes/pdus/paravance-pdu-8.json    | 11 +++++
 input/grid5000/sites/lille/pdus.yaml          | 28 +++++++++++++
 .../clusters/graoully/graoully_metrics.yaml   |  6 +++
 .../clusters/grimoire/grimoire_metrics.yaml   |  6 +++
 .../nancy/clusters/grisou/grisou_metrics.yaml |  6 +++
 input/grid5000/sites/nancy/pdus.yaml          | 42 +++++++++++++++++++
 .../clusters/parapide/parapide_metrics.yaml   |  6 +++
 .../clusters/parasilo/parasilo_metrics.yaml   |  6 +++
 .../clusters/paravance/paravance_metrics.yaml |  6 +++
 input/grid5000/sites/rennes/pdus.yaml         | 21 ++++++++++
 56 files changed, 626 insertions(+)

diff --git a/data/grid5000/sites/lille/pdus/pdu-b1p1.json b/data/grid5000/sites/lille/pdus/pdu-b1p1.json
index 688f47939a5..75bf1a689ef 100644
--- a/data/grid5000/sites/lille/pdus/pdu-b1p1.json
+++ b/data/grid5000/sites/lille/pdus/pdu-b1p1.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.47.241",
   "mac": "00:c0:b7:f2:b0:c2",
+  "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": "AP8659",
   "ports": {
     "1": "chifflot-1",
diff --git a/data/grid5000/sites/lille/pdus/pdu-b1p2.json b/data/grid5000/sites/lille/pdus/pdu-b1p2.json
index 984d252b647..9cb0e9edb90 100644
--- a/data/grid5000/sites/lille/pdus/pdu-b1p2.json
+++ b/data/grid5000/sites/lille/pdus/pdu-b1p2.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.47.242",
   "mac": "00:c0:b7:f2:b0:d8",
+  "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": "AP8659",
   "ports": {
     "1": "chifflot-1",
diff --git a/data/grid5000/sites/lille/pdus/pdu-b1p3-2.json b/data/grid5000/sites/lille/pdus/pdu-b1p3-2.json
index a7c6d9342d0..da79ceeb7df 100644
--- a/data/grid5000/sites/lille/pdus/pdu-b1p3-2.json
+++ b/data/grid5000/sites/lille/pdus/pdu-b1p3-2.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.47.250",
   "mac": "00:23:ae:e2:d8:7f",
+  "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": "AP8659",
   "ports": {
   },
diff --git a/data/grid5000/sites/lille/pdus/pdu-b1p3.json b/data/grid5000/sites/lille/pdus/pdu-b1p3.json
index 44e0a074b8e..085156d427d 100644
--- a/data/grid5000/sites/lille/pdus/pdu-b1p3.json
+++ b/data/grid5000/sites/lille/pdus/pdu-b1p3.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.47.243",
   "mac": "00:c0:b7:f2:b0:d2",
+  "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": "AP8659",
   "ports": {
     "1": "chifflot-2",
diff --git a/data/grid5000/sites/lille/pdus/pdu-b2p1.json b/data/grid5000/sites/lille/pdus/pdu-b2p1.json
index 104d72081cb..8bcb76f3ce8 100644
--- a/data/grid5000/sites/lille/pdus/pdu-b2p1.json
+++ b/data/grid5000/sites/lille/pdus/pdu-b2p1.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.47.244",
   "mac": "00:c0:b7:f2:b1:3a",
+  "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": "AP8659",
   "ports": {
   },
diff --git a/data/grid5000/sites/lille/pdus/pdu-b2p2.json b/data/grid5000/sites/lille/pdus/pdu-b2p2.json
index 5dc02d12c17..ef3526da163 100644
--- a/data/grid5000/sites/lille/pdus/pdu-b2p2.json
+++ b/data/grid5000/sites/lille/pdus/pdu-b2p2.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.47.245",
   "mac": "00:c0:b7:f2:b1:36",
+  "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": "AP8659",
   "ports": {
   },
diff --git a/data/grid5000/sites/lille/pdus/pdu-b3p1.json b/data/grid5000/sites/lille/pdus/pdu-b3p1.json
index 648ade3d702..1c13667ee9e 100644
--- a/data/grid5000/sites/lille/pdus/pdu-b3p1.json
+++ b/data/grid5000/sites/lille/pdus/pdu-b3p1.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.47.247",
   "mac": "00:c0:b7:f2:b0:f8",
+  "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": "AP8659",
   "ports": {
     "1": "chetemi-1",
diff --git a/data/grid5000/sites/lille/pdus/pdu-b3p2-1.json b/data/grid5000/sites/lille/pdus/pdu-b3p2-1.json
index f567f36d116..a9b1a9ea788 100644
--- a/data/grid5000/sites/lille/pdus/pdu-b3p2-1.json
+++ b/data/grid5000/sites/lille/pdus/pdu-b3p2-1.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.47.246",
   "mac": "00:c0:b7:f2:b1:1a",
+  "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": "AP8659",
   "ports": {
     "1": "chetemi-1",
diff --git a/data/grid5000/sites/lille/pdus/pdu-b3p2-2.json b/data/grid5000/sites/lille/pdus/pdu-b3p2-2.json
index 02f0dc272ef..59b055e42d6 100644
--- a/data/grid5000/sites/lille/pdus/pdu-b3p2-2.json
+++ b/data/grid5000/sites/lille/pdus/pdu-b3p2-2.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.47.248",
   "mac": "00:23:ae:e2:d8:8d",
+  "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": "AP8659",
   "ports": {
     "1": "chetemi-8",
diff --git a/data/grid5000/sites/lille/pdus/pdu-b3p3.json b/data/grid5000/sites/lille/pdus/pdu-b3p3.json
index 997f5c7bfbe..af80a4a8d72 100644
--- a/data/grid5000/sites/lille/pdus/pdu-b3p3.json
+++ b/data/grid5000/sites/lille/pdus/pdu-b3p3.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.47.249",
   "mac": "00:c0:b7:f2:b0:db",
+  "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": "AP8659",
   "ports": {
     "1": "chetemi-8",
diff --git a/data/grid5000/sites/nancy/clusters/graoully/graoully.json b/data/grid5000/sites/nancy/clusters/graoully/graoully.json
index f2174410188..cf8ca35f26d 100644
--- a/data/grid5000/sites/nancy/clusters/graoully/graoully.json
+++ b/data/grid5000/sites/nancy/clusters/graoully/graoully.json
@@ -18,6 +18,14 @@
         "protocol": "network_equipment"
       }
     },
+    {
+      "description": "Power consumption of node reported by PDU, in watt",
+      "name": "pdu_outlet_power_watt",
+      "period": 1000,
+      "source": {
+        "protocol": "pdu"
+      }
+    },
     {
       "description": "Front node ambiant temperature reported by BMC, in celsius",
       "name": "bmc_temp_ambiant_celsius",
diff --git a/data/grid5000/sites/nancy/clusters/grimoire/grimoire.json b/data/grid5000/sites/nancy/clusters/grimoire/grimoire.json
index b81fefe7e63..64450ca9ebb 100644
--- a/data/grid5000/sites/nancy/clusters/grimoire/grimoire.json
+++ b/data/grid5000/sites/nancy/clusters/grimoire/grimoire.json
@@ -18,6 +18,14 @@
         "protocol": "network_equipment"
       }
     },
+    {
+      "description": "Power consumption of node reported by PDU, in watt",
+      "name": "pdu_outlet_power_watt",
+      "period": 1000,
+      "source": {
+        "protocol": "pdu"
+      }
+    },
     {
       "description": "Front node ambiant temperature reported by BMC, in celsius",
       "name": "bmc_temp_ambiant_celsius",
diff --git a/data/grid5000/sites/nancy/clusters/grisou/grisou.json b/data/grid5000/sites/nancy/clusters/grisou/grisou.json
index 3727c32858c..2d142128c67 100644
--- a/data/grid5000/sites/nancy/clusters/grisou/grisou.json
+++ b/data/grid5000/sites/nancy/clusters/grisou/grisou.json
@@ -18,6 +18,14 @@
         "protocol": "network_equipment"
       }
     },
+    {
+      "description": "Power consumption of node reported by PDU, in watt",
+      "name": "pdu_outlet_power_watt",
+      "period": 1000,
+      "source": {
+        "protocol": "pdu"
+      }
+    },
     {
       "description": "Front node ambiant temperature reported by BMC, in celsius",
       "name": "bmc_temp_ambiant_celsius",
diff --git a/data/grid5000/sites/nancy/pdus/graffiti-pdu1.json b/data/grid5000/sites/nancy/pdus/graffiti-pdu1.json
index 5fc40c2d8ae..124e043eef1 100644
--- a/data/grid5000/sites/nancy/pdus/graffiti-pdu1.json
+++ b/data/grid5000/sites/nancy/pdus/graffiti-pdu1.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.226",
   "mac": "28:29:86:0B:3B:06",
+  "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": {
     "1": "graffiti-1",
diff --git a/data/grid5000/sites/nancy/pdus/graffiti-pdu2.json b/data/grid5000/sites/nancy/pdus/graffiti-pdu2.json
index 2a4d6af581d..f3dd8857d94 100644
--- a/data/grid5000/sites/nancy/pdus/graffiti-pdu2.json
+++ b/data/grid5000/sites/nancy/pdus/graffiti-pdu2.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.227",
   "mac": "28:29:86:10:0E:8C",
+  "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": {
     "1": "graffiti-1",
diff --git a/data/grid5000/sites/nancy/pdus/graffiti-pdu3.json b/data/grid5000/sites/nancy/pdus/graffiti-pdu3.json
index d497d533470..507fc6df512 100644
--- a/data/grid5000/sites/nancy/pdus/graffiti-pdu3.json
+++ b/data/grid5000/sites/nancy/pdus/graffiti-pdu3.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.231",
   "mac": "28:29:86:12:27:FF",
+  "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": {
     "13": "graffiti-11",
diff --git a/data/grid5000/sites/nancy/pdus/graffiti-pdu4.json b/data/grid5000/sites/nancy/pdus/graffiti-pdu4.json
index a7c6ff0d74b..6a903eee854 100644
--- a/data/grid5000/sites/nancy/pdus/graffiti-pdu4.json
+++ b/data/grid5000/sites/nancy/pdus/graffiti-pdu4.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.232",
   "mac": "28:29:86:10:0E:B4",
+  "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": {
     "13": "graffiti-11",
diff --git a/data/grid5000/sites/nancy/pdus/graoully-pdu1.json b/data/grid5000/sites/nancy/pdus/graoully-pdu1.json
index 948dce8b12c..4ebce939352 100644
--- a/data/grid5000/sites/nancy/pdus/graoully-pdu1.json
+++ b/data/grid5000/sites/nancy/pdus/graoully-pdu1.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.243",
   "mac": "00:C0:B7:ED:63:AE",
+  "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": {
     "1": "graphite-1",
diff --git a/data/grid5000/sites/nancy/pdus/graoully-pdu2.json b/data/grid5000/sites/nancy/pdus/graoully-pdu2.json
index c561110081c..ac82b806faf 100644
--- a/data/grid5000/sites/nancy/pdus/graoully-pdu2.json
+++ b/data/grid5000/sites/nancy/pdus/graoully-pdu2.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.244",
   "mac": "00:C0:B7:85:13:9C",
+  "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": {
     "1": "graphite-1",
diff --git a/data/grid5000/sites/nancy/pdus/grimani-pdu1.json b/data/grid5000/sites/nancy/pdus/grimani-pdu1.json
index 0b505a00f80..e040cddc12e 100644
--- a/data/grid5000/sites/nancy/pdus/grimani-pdu1.json
+++ b/data/grid5000/sites/nancy/pdus/grimani-pdu1.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.218",
   "mac": "00:C0:B7:F2:27:D9",
+  "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": {
     "1": "grimani-1",
diff --git a/data/grid5000/sites/nancy/pdus/grimani-pdu2.json b/data/grid5000/sites/nancy/pdus/grimani-pdu2.json
index ca1ea911302..5321f369c66 100644
--- a/data/grid5000/sites/nancy/pdus/grimani-pdu2.json
+++ b/data/grid5000/sites/nancy/pdus/grimani-pdu2.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.219",
   "mac": "00:C0:B7:F2:27:DE",
+  "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": {
     "1": "grimani-1",
diff --git a/data/grid5000/sites/nancy/pdus/grimoire-pdu1.json b/data/grid5000/sites/nancy/pdus/grimoire-pdu1.json
index 423364be10c..97fdf475b4d 100644
--- a/data/grid5000/sites/nancy/pdus/grimoire-pdu1.json
+++ b/data/grid5000/sites/nancy/pdus/grimoire-pdu1.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.245",
   "mac": "00:C0:B7:85:13:93",
+  "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": {
     "1": "grisou-31",
diff --git a/data/grid5000/sites/nancy/pdus/grimoire-pdu2.json b/data/grid5000/sites/nancy/pdus/grimoire-pdu2.json
index cc08aec06db..76ea07addde 100644
--- a/data/grid5000/sites/nancy/pdus/grimoire-pdu2.json
+++ b/data/grid5000/sites/nancy/pdus/grimoire-pdu2.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.246",
   "mac": "00:C0:B7:85:13:A4",
+  "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": {
     "1": "grisou-32",
diff --git a/data/grid5000/sites/nancy/pdus/grisou-pdu1.json b/data/grid5000/sites/nancy/pdus/grisou-pdu1.json
index 66d0991cb66..73652f64f1f 100644
--- a/data/grid5000/sites/nancy/pdus/grisou-pdu1.json
+++ b/data/grid5000/sites/nancy/pdus/grisou-pdu1.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.247",
   "mac": "00:C0:B7:85:13:D9",
+  "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": {
     "1": "grisou-1",
diff --git a/data/grid5000/sites/nancy/pdus/grisou-pdu2.json b/data/grid5000/sites/nancy/pdus/grisou-pdu2.json
index 85ae2252576..4682294a2b5 100644
--- a/data/grid5000/sites/nancy/pdus/grisou-pdu2.json
+++ b/data/grid5000/sites/nancy/pdus/grisou-pdu2.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.248",
   "mac": "00:C0:B7:F2:A9:11",
+  "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": {
     "1": "grisou-2",
diff --git a/data/grid5000/sites/nancy/pdus/gros-pdu1.json b/data/grid5000/sites/nancy/pdus/gros-pdu1.json
index 41491fa1dae..ee4e9d7272f 100644
--- a/data/grid5000/sites/nancy/pdus/gros-pdu1.json
+++ b/data/grid5000/sites/nancy/pdus/gros-pdu1.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.222",
   "mac": "28:29:86:1b:0e:e5",
+  "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": {
   },
diff --git a/data/grid5000/sites/nancy/pdus/gros-pdu2.json b/data/grid5000/sites/nancy/pdus/gros-pdu2.json
index c9ad1264615..134ab0c6281 100644
--- a/data/grid5000/sites/nancy/pdus/gros-pdu2.json
+++ b/data/grid5000/sites/nancy/pdus/gros-pdu2.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.233",
   "mac": "28:29:86:1a:0a:d2",
+  "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": {
   },
diff --git a/data/grid5000/sites/nancy/pdus/gros-pdu3.json b/data/grid5000/sites/nancy/pdus/gros-pdu3.json
index 79f6dadd8a8..d2444abf23e 100644
--- a/data/grid5000/sites/nancy/pdus/gros-pdu3.json
+++ b/data/grid5000/sites/nancy/pdus/gros-pdu3.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.234",
   "mac": "28:29:86:1a:09:ae",
+  "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": {
   },
diff --git a/data/grid5000/sites/nancy/pdus/gros-pdu4.json b/data/grid5000/sites/nancy/pdus/gros-pdu4.json
index c567ddb73c2..bffead24e7d 100644
--- a/data/grid5000/sites/nancy/pdus/gros-pdu4.json
+++ b/data/grid5000/sites/nancy/pdus/gros-pdu4.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.235",
   "mac": "28:29:86:1a:0a:b6",
+  "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": {
   },
diff --git a/data/grid5000/sites/nancy/pdus/gros-pdu5.json b/data/grid5000/sites/nancy/pdus/gros-pdu5.json
index df01d4e2dca..7c7e2d3172a 100644
--- a/data/grid5000/sites/nancy/pdus/gros-pdu5.json
+++ b/data/grid5000/sites/nancy/pdus/gros-pdu5.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.236",
   "mac": "28:29:86:1b:0e:e6",
+  "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": {
   },
diff --git a/data/grid5000/sites/nancy/pdus/gros-pdu6.json b/data/grid5000/sites/nancy/pdus/gros-pdu6.json
index 75e6041d640..e54d016d986 100644
--- a/data/grid5000/sites/nancy/pdus/gros-pdu6.json
+++ b/data/grid5000/sites/nancy/pdus/gros-pdu6.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.237",
   "mac": "28:29:86:1b:0e:ef",
+  "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": {
   },
diff --git a/data/grid5000/sites/nancy/pdus/gros-pdu7.json b/data/grid5000/sites/nancy/pdus/gros-pdu7.json
index c94ff598f24..7bfecab35d2 100644
--- a/data/grid5000/sites/nancy/pdus/gros-pdu7.json
+++ b/data/grid5000/sites/nancy/pdus/gros-pdu7.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.239",
   "mac": "28:29:86:10:0e:89",
+  "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": {
   },
diff --git a/data/grid5000/sites/nancy/pdus/gros-pdu8.json b/data/grid5000/sites/nancy/pdus/gros-pdu8.json
index d73bb324ab8..ba570059aac 100644
--- a/data/grid5000/sites/nancy/pdus/gros-pdu8.json
+++ b/data/grid5000/sites/nancy/pdus/gros-pdu8.json
@@ -1,6 +1,17 @@
 {
   "ip": "172.17.79.249",
   "mac": "28:29:86:12:28: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": {
   },
diff --git a/data/grid5000/sites/rennes/clusters/parapide/parapide.json b/data/grid5000/sites/rennes/clusters/parapide/parapide.json
index 6fc0d4eb9a1..c447249468f 100644
--- a/data/grid5000/sites/rennes/clusters/parapide/parapide.json
+++ b/data/grid5000/sites/rennes/clusters/parapide/parapide.json
@@ -17,6 +17,14 @@
       "source": {
         "protocol": "network_equipment"
       }
+    },
+    {
+      "description": "Power consumption of node reported by PDU, in watt",
+      "name": "pdu_outlet_power_watt",
+      "period": 1000,
+      "source": {
+        "protocol": "pdu"
+      }
     }
   ],
   "model": "SUN FIRE X2270",
diff --git a/data/grid5000/sites/rennes/clusters/parasilo/parasilo.json b/data/grid5000/sites/rennes/clusters/parasilo/parasilo.json
index 33a5aec9dce..4c930da5b9e 100644
--- a/data/grid5000/sites/rennes/clusters/parasilo/parasilo.json
+++ b/data/grid5000/sites/rennes/clusters/parasilo/parasilo.json
@@ -18,6 +18,14 @@
         "protocol": "network_equipment"
       }
     },
+    {
+      "description": "Power consumption of node reported by PDU, in watt",
+      "name": "pdu_outlet_power_watt",
+      "period": 1000,
+      "source": {
+        "protocol": "pdu"
+      }
+    },
     {
       "description": "Front node ambiant temperature reported by BMC, in celsius",
       "name": "bmc_temp_ambiant_celsius",
diff --git a/data/grid5000/sites/rennes/clusters/paravance/paravance.json b/data/grid5000/sites/rennes/clusters/paravance/paravance.json
index d6c0e1eca6e..d7b82dca1bd 100644
--- a/data/grid5000/sites/rennes/clusters/paravance/paravance.json
+++ b/data/grid5000/sites/rennes/clusters/paravance/paravance.json
@@ -18,6 +18,14 @@
         "protocol": "network_equipment"
       }
     },
+    {
+      "description": "Power consumption of node reported by PDU, in watt",
+      "name": "pdu_outlet_power_watt",
+      "period": 1000,
+      "source": {
+        "protocol": "pdu"
+      }
+    },
     {
       "description": "Front node ambiant temperature reported by BMC, in celsius",
       "name": "bmc_temp_ambiant_celsius",
diff --git a/data/grid5000/sites/rennes/pdus/parasilo-pdu-1.json b/data/grid5000/sites/rennes/pdus/parasilo-pdu-1.json
index 23ae6bc7d7f..897eb80fea9 100644
--- a/data/grid5000/sites/rennes/pdus/parasilo-pdu-1.json
+++ b/data/grid5000/sites/rennes/pdus/parasilo-pdu-1.json
@@ -1,5 +1,16 @@
 {
   "ip": "172.17.97.201",
+  "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": "AP8659",
   "ports": {
   },
diff --git a/data/grid5000/sites/rennes/pdus/parasilo-pdu-2.json b/data/grid5000/sites/rennes/pdus/parasilo-pdu-2.json
index 44e105d0b32..e9758a5b6c6 100644
--- a/data/grid5000/sites/rennes/pdus/parasilo-pdu-2.json
+++ b/data/grid5000/sites/rennes/pdus/parasilo-pdu-2.json
@@ -1,5 +1,16 @@
 {
   "ip": "172.17.97.202",
+  "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": "AP8659",
   "ports": {
     "1": "parasilo-7",
diff --git a/data/grid5000/sites/rennes/pdus/parasilo-pdu-3.json b/data/grid5000/sites/rennes/pdus/parasilo-pdu-3.json
index dd3baddb3e9..d468cc843c3 100644
--- a/data/grid5000/sites/rennes/pdus/parasilo-pdu-3.json
+++ b/data/grid5000/sites/rennes/pdus/parasilo-pdu-3.json
@@ -1,5 +1,16 @@
 {
   "ip": "172.17.97.203",
+  "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": "AP8659",
   "ports": {
     "1": "parasilo-1",
diff --git a/data/grid5000/sites/rennes/pdus/parasilo-pdu-4.json b/data/grid5000/sites/rennes/pdus/parasilo-pdu-4.json
index 8517a081941..09e75489862 100644
--- a/data/grid5000/sites/rennes/pdus/parasilo-pdu-4.json
+++ b/data/grid5000/sites/rennes/pdus/parasilo-pdu-4.json
@@ -1,5 +1,16 @@
 {
   "ip": "172.17.97.204",
+  "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": "AP8659",
   "ports": {
     "1": "parasilo-2",
diff --git a/data/grid5000/sites/rennes/pdus/paravance-pdu-2.json b/data/grid5000/sites/rennes/pdus/paravance-pdu-2.json
index c24e109a6dc..495f1b93b1d 100644
--- a/data/grid5000/sites/rennes/pdus/paravance-pdu-2.json
+++ b/data/grid5000/sites/rennes/pdus/paravance-pdu-2.json
@@ -1,5 +1,16 @@
 {
   "ip": "172.17.96.202",
+  "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": "AP8659",
   "ports": {
     "10": "paravance-35",
diff --git a/data/grid5000/sites/rennes/pdus/paravance-pdu-3.json b/data/grid5000/sites/rennes/pdus/paravance-pdu-3.json
index 45a4722194c..2081941a872 100644
--- a/data/grid5000/sites/rennes/pdus/paravance-pdu-3.json
+++ b/data/grid5000/sites/rennes/pdus/paravance-pdu-3.json
@@ -1,5 +1,16 @@
 {
   "ip": "172.17.96.203",
+  "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": "AP8659",
   "ports": {
     "1": "paravance-23",
diff --git a/data/grid5000/sites/rennes/pdus/paravance-pdu-4.json b/data/grid5000/sites/rennes/pdus/paravance-pdu-4.json
index 00a100331b8..e75dff12a0f 100644
--- a/data/grid5000/sites/rennes/pdus/paravance-pdu-4.json
+++ b/data/grid5000/sites/rennes/pdus/paravance-pdu-4.json
@@ -1,5 +1,16 @@
 {
   "ip": "172.17.96.204",
+  "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": "AP8659",
   "ports": {
     "1": "paravance-24",
diff --git a/data/grid5000/sites/rennes/pdus/paravance-pdu-5.json b/data/grid5000/sites/rennes/pdus/paravance-pdu-5.json
index 0f542cfe391..2a92e4c0dab 100644
--- a/data/grid5000/sites/rennes/pdus/paravance-pdu-5.json
+++ b/data/grid5000/sites/rennes/pdus/paravance-pdu-5.json
@@ -1,5 +1,16 @@
 {
   "ip": "172.17.96.205",
+  "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": "AP8659",
   "ports": {
     "1": "paravance-45",
diff --git a/data/grid5000/sites/rennes/pdus/paravance-pdu-6.json b/data/grid5000/sites/rennes/pdus/paravance-pdu-6.json
index 49bfd78a822..95825e77df7 100644
--- a/data/grid5000/sites/rennes/pdus/paravance-pdu-6.json
+++ b/data/grid5000/sites/rennes/pdus/paravance-pdu-6.json
@@ -1,5 +1,16 @@
 {
   "ip": "172.17.96.206",
+  "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": "AP8659",
   "ports": {
     "1": "paravance-46",
diff --git a/data/grid5000/sites/rennes/pdus/paravance-pdu-7.json b/data/grid5000/sites/rennes/pdus/paravance-pdu-7.json
index bc3dddb85bc..3b5a405393a 100644
--- a/data/grid5000/sites/rennes/pdus/paravance-pdu-7.json
+++ b/data/grid5000/sites/rennes/pdus/paravance-pdu-7.json
@@ -1,5 +1,16 @@
 {
   "ip": "172.17.96.207",
+  "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": "AP8659",
   "ports": {
     "1": "paravance-58",
diff --git a/data/grid5000/sites/rennes/pdus/paravance-pdu-8.json b/data/grid5000/sites/rennes/pdus/paravance-pdu-8.json
index cc01da82f17..51ffa356239 100644
--- a/data/grid5000/sites/rennes/pdus/paravance-pdu-8.json
+++ b/data/grid5000/sites/rennes/pdus/paravance-pdu-8.json
@@ -1,5 +1,16 @@
 {
   "ip": "172.17.96.208",
+  "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": "AP8659",
   "ports": {
     "1": "paravance-59",
diff --git a/input/grid5000/sites/lille/pdus.yaml b/input/grid5000/sites/lille/pdus.yaml
index 88c8cdfc511..bab2241543b 100644
--- a/input/grid5000/sites/lille/pdus.yaml
+++ b/input/grid5000/sites/lille/pdus.yaml
@@ -2,6 +2,13 @@ pdus:
   pdu-b1p[1-3]: &ap8659
     vendor: APC
     model: AP8659
+    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
@@ -26,6 +33,13 @@ pdus:
   pdu-b1p3-2:
     vendor: APC
     model: AP8659
+    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
@@ -47,6 +61,13 @@ pdus:
   pdu-b3p1:
     vendor: APC
     model: AP8659
+    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
@@ -69,6 +90,13 @@ pdus:
   pdu-b3p3:
     vendor: APC
     model: AP8659
+    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
diff --git a/input/grid5000/sites/nancy/clusters/graoully/graoully_metrics.yaml b/input/grid5000/sites/nancy/clusters/graoully/graoully_metrics.yaml
index a3a65c648ad..939b09f94c2 100644
--- a/input/grid5000/sites/nancy/clusters/graoully/graoully_metrics.yaml
+++ b/input/grid5000/sites/nancy/clusters/graoully/graoully_metrics.yaml
@@ -13,6 +13,12 @@ metrics:
   source:
     protocol: network_equipment
 
+- name: pdu_outlet_power_watt
+  description: Power consumption of node reported by PDU, in watt
+  period: 1000
+  source:
+    protocol: pdu
+
 - name: bmc_temp_ambiant_celsius
   description: Front node ambiant temperature reported by BMC, in celsius
   period: 5000
diff --git a/input/grid5000/sites/nancy/clusters/grimoire/grimoire_metrics.yaml b/input/grid5000/sites/nancy/clusters/grimoire/grimoire_metrics.yaml
index a3a65c648ad..939b09f94c2 100644
--- a/input/grid5000/sites/nancy/clusters/grimoire/grimoire_metrics.yaml
+++ b/input/grid5000/sites/nancy/clusters/grimoire/grimoire_metrics.yaml
@@ -13,6 +13,12 @@ metrics:
   source:
     protocol: network_equipment
 
+- name: pdu_outlet_power_watt
+  description: Power consumption of node reported by PDU, in watt
+  period: 1000
+  source:
+    protocol: pdu
+
 - name: bmc_temp_ambiant_celsius
   description: Front node ambiant temperature reported by BMC, in celsius
   period: 5000
diff --git a/input/grid5000/sites/nancy/clusters/grisou/grisou_metrics.yaml b/input/grid5000/sites/nancy/clusters/grisou/grisou_metrics.yaml
index a3a65c648ad..939b09f94c2 100644
--- a/input/grid5000/sites/nancy/clusters/grisou/grisou_metrics.yaml
+++ b/input/grid5000/sites/nancy/clusters/grisou/grisou_metrics.yaml
@@ -13,6 +13,12 @@ metrics:
   source:
     protocol: network_equipment
 
+- name: pdu_outlet_power_watt
+  description: Power consumption of node reported by PDU, in watt
+  period: 1000
+  source:
+    protocol: pdu
+
 - name: bmc_temp_ambiant_celsius
   description: Front node ambiant temperature reported by BMC, in celsius
   period: 5000
diff --git a/input/grid5000/sites/nancy/pdus.yaml b/input/grid5000/sites/nancy/pdus.yaml
index df853d6266a..7cd338f87b1 100644
--- a/input/grid5000/sites/nancy/pdus.yaml
+++ b/input/grid5000/sites/nancy/pdus.yaml
@@ -15,6 +15,13 @@ pdus:
   graoully-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
@@ -29,6 +36,13 @@ pdus:
   grimoire-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
@@ -43,6 +57,13 @@ pdus:
   grisou-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
@@ -57,6 +78,13 @@ pdus:
   grimani-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
@@ -71,6 +99,13 @@ pdus:
   graffiti-pdu[1-4]:
     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
@@ -141,6 +176,13 @@ pdus:
   gros-pdu[1-8]:
     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
diff --git a/input/grid5000/sites/rennes/clusters/parapide/parapide_metrics.yaml b/input/grid5000/sites/rennes/clusters/parapide/parapide_metrics.yaml
index c99d93ddfd0..96dbd675d5b 100644
--- a/input/grid5000/sites/rennes/clusters/parapide/parapide_metrics.yaml
+++ b/input/grid5000/sites/rennes/clusters/parapide/parapide_metrics.yaml
@@ -12,3 +12,9 @@ metrics:
   period: 1000
   source:
     protocol: network_equipment
+
+- name: pdu_outlet_power_watt
+  description: Power consumption of node reported by PDU, in watt
+  period: 1000
+  source:
+    protocol: pdu
diff --git a/input/grid5000/sites/rennes/clusters/parasilo/parasilo_metrics.yaml b/input/grid5000/sites/rennes/clusters/parasilo/parasilo_metrics.yaml
index bc24ff176c0..eea7d0e4cab 100644
--- a/input/grid5000/sites/rennes/clusters/parasilo/parasilo_metrics.yaml
+++ b/input/grid5000/sites/rennes/clusters/parasilo/parasilo_metrics.yaml
@@ -13,6 +13,12 @@ metrics:
   source:
     protocol: network_equipment
 
+- name: pdu_outlet_power_watt
+  description: Power consumption of node reported by PDU, in watt
+  period: 1000
+  source:
+    protocol: pdu
+
 - name: bmc_temp_ambiant_celsius
   description: Front node ambiant temperature reported by BMC, in celsius
   period: 5000
diff --git a/input/grid5000/sites/rennes/clusters/paravance/paravance_metrics.yaml b/input/grid5000/sites/rennes/clusters/paravance/paravance_metrics.yaml
index a3a65c648ad..939b09f94c2 100644
--- a/input/grid5000/sites/rennes/clusters/paravance/paravance_metrics.yaml
+++ b/input/grid5000/sites/rennes/clusters/paravance/paravance_metrics.yaml
@@ -13,6 +13,12 @@ metrics:
   source:
     protocol: network_equipment
 
+- name: pdu_outlet_power_watt
+  description: Power consumption of node reported by PDU, in watt
+  period: 1000
+  source:
+    protocol: pdu
+
 - name: bmc_temp_ambiant_celsius
   description: Front node ambiant temperature reported by BMC, in celsius
   period: 5000
diff --git a/input/grid5000/sites/rennes/pdus.yaml b/input/grid5000/sites/rennes/pdus.yaml
index eb723820325..13e562ffbe7 100644
--- a/input/grid5000/sites/rennes/pdus.yaml
+++ b/input/grid5000/sites/rennes/pdus.yaml
@@ -18,6 +18,13 @@ pdus:
   paravance-pdu-[2-8]:
     vendor: APC
     model: AP8659
+    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
@@ -32,6 +39,13 @@ pdus:
   parasilo-pdu-[1-1]:
     vendor: APC
     model: AP8659
+    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: false
@@ -46,6 +60,13 @@ pdus:
   parasilo-pdu-[2-4]:
     vendor: APC
     model: AP8659
+    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
-- 
GitLab