From 6f21e0e3dbfcc9b94fd82edb9fbed7ac8d823f4a Mon Sep 17 00:00:00 2001
From: EISENBART Theo <theo.eisenbart@inria.fr>
Date: Tue, 14 May 2024 12:45:11 +0200
Subject: [PATCH] [grosminet][metrics] Delete excess dimm

---
 .../nancy/clusters/grosminet/grosminet.json   | 72 -------------------
 .../clusters/grosminet/grosminet_metrics.yaml | 48 -------------
 2 files changed, 120 deletions(-)

diff --git a/data/grid5000/sites/nancy/clusters/grosminet/grosminet.json b/data/grid5000/sites/nancy/clusters/grosminet/grosminet.json
index 78c3afb3912..557619d1efb 100644
--- a/data/grid5000/sites/nancy/clusters/grosminet/grosminet.json
+++ b/data/grid5000/sites/nancy/clusters/grosminet/grosminet.json
@@ -86,78 +86,6 @@
         "protocol": "ipmisensor"
       }
     },
-    {
-      "description": "Temperature of Dimm 1-6 reported by BMC, in celsius",
-      "labels": {
-        "dimm": "1-6"
-      },
-      "name": "bmc_dimm_temp_celsius",
-      "period": 5000,
-      "source": {
-        "id": 11,
-        "protocol": "ipmisensor"
-      }
-    },
-    {
-      "description": "Temperature of Dimm 7-12 reported by BMC, in celsius",
-      "labels": {
-        "dimm": "7-12"
-      },
-      "name": "bmc_dimm_temp_celsius",
-      "period": 5000,
-      "source": {
-        "id": 13,
-        "protocol": "ipmisensor"
-      }
-    },
-    {
-      "description": "Temperature of Dimm 1-6 reported by BMC, in celsius",
-      "labels": {
-        "dimm": "1-6"
-      },
-      "name": "bmc_dimm_temp_celsius",
-      "period": 5000,
-      "source": {
-        "id": 15,
-        "protocol": "ipmisensor"
-      }
-    },
-    {
-      "description": "Temperature of Dimm 7-12 reported by BMC, in celsius",
-      "labels": {
-        "dimm": "7-12"
-      },
-      "name": "bmc_dimm_temp_celsius",
-      "period": 5000,
-      "source": {
-        "id": 17,
-        "protocol": "ipmisensor"
-      }
-    },
-    {
-      "description": "Temperature of Dimm 1-6 reported by BMC, in celsius",
-      "labels": {
-        "dimm": "1-6"
-      },
-      "name": "bmc_dimm_temp_celsius",
-      "period": 5000,
-      "source": {
-        "id": 19,
-        "protocol": "ipmisensor"
-      }
-    },
-    {
-      "description": "Temperature of Dimm 7-12 reported by BMC, in celsius",
-      "labels": {
-        "dimm": "7-12"
-      },
-      "name": "bmc_dimm_temp_celsius",
-      "period": 5000,
-      "source": {
-        "id": 21,
-        "protocol": "ipmisensor"
-      }
-    },
     {
       "description": "Temperature of 22-HD Max reported by BMC, in celsius",
       "labels": {
diff --git a/input/grid5000/sites/nancy/clusters/grosminet/grosminet_metrics.yaml b/input/grid5000/sites/nancy/clusters/grosminet/grosminet_metrics.yaml
index bd8fb4b4cb4..44e774981ce 100644
--- a/input/grid5000/sites/nancy/clusters/grosminet/grosminet_metrics.yaml
+++ b/input/grid5000/sites/nancy/clusters/grosminet/grosminet_metrics.yaml
@@ -56,54 +56,6 @@ metrics:
       protocol: ipmisensor
       id: 9 #08-P1 DIMM 7-12
 
-  - name: bmc_dimm_temp_celsius
-    labels: {"dimm": "1-6"}
-    description: Temperature of Dimm 1-6 reported by BMC, in celsius
-    period: 5000
-    source:
-      protocol: ipmisensor
-      id: 11 #10-P2 DIMM 1-6
-
-  - name: bmc_dimm_temp_celsius
-    labels: {"dimm": "7-12"}
-    description: Temperature of Dimm 7-12 reported by BMC, in celsius
-    period: 5000
-    source:
-      protocol: ipmisensor
-      id: 13 #12-P2 DIMM 7-12
-
-  - name: bmc_dimm_temp_celsius
-    labels: {"dimm": "1-6"}
-    description: Temperature of Dimm 1-6 reported by BMC, in celsius
-    period: 5000
-    source:
-      protocol: ipmisensor
-      id: 15 #14-P3 DIMM 1-6
-
-  - name: bmc_dimm_temp_celsius
-    labels: {"dimm": "7-12"}
-    description: Temperature of Dimm 7-12 reported by BMC, in celsius
-    period: 5000
-    source:
-      protocol: ipmisensor
-      id: 17 #16-P3 DIMM 7-12
-
-  - name: bmc_dimm_temp_celsius
-    labels: {"dimm": "1-6"}
-    description: Temperature of Dimm 1-6 reported by BMC, in celsius
-    period: 5000
-    source:
-      protocol: ipmisensor
-      id: 19 #18-P4 DIMM 1-6
-
-  - name: bmc_dimm_temp_celsius
-    labels: {"dimm": "7-12"}
-    description: Temperature of Dimm 7-12 reported by BMC, in celsius
-    period: 5000
-    source:
-      protocol: ipmisensor
-      id: 21 #20-P4 DIMM 7-12
-
   - name: bmc_other_temp_celsius
     labels: {"id": "22-hdmax"}
     description: Temperature of 22-HD Max reported by BMC, in celsius
-- 
GitLab