From 393a17ff0393bec9b5825f6657387f4ff60dc289 Mon Sep 17 00:00:00 2001 From: Simon Delamare <simon.delamare@ens-lyon.fr> Date: Mon, 27 Mar 2023 10:40:36 +0200 Subject: [PATCH] [nancy] Fix grat metrics --- .../grid5000/sites/nancy/clusters/grat/grat.json | 16 +++++++--------- .../sites/nancy/clusters/grat/grat_metrics.yaml | 16 +++++++--------- 2 files changed, 14 insertions(+), 18 deletions(-) diff --git a/data/grid5000/sites/nancy/clusters/grat/grat.json b/data/grid5000/sites/nancy/clusters/grat/grat.json index 407615c7d8d..a9f9fce41ff 100644 --- a/data/grid5000/sites/nancy/clusters/grat/grat.json +++ b/data/grid5000/sites/nancy/clusters/grat/grat.json @@ -7,18 +7,16 @@ { "description": "Temperature reported by BMC, in celsius", "name": "bmc_ambient_temp_celsius", - "optional_period": 5000, - "period": 0, + "period": 5000, "source": { "id": 2, "protocol": "ipmisensor" } }, { - "description": "Power consumption reported by BMC, in watt", + "description": "Power consumption of node reported by BMC, in watt", "name": "bmc_node_power_watt", - "optional_period": 5000, - "period": 0, + "period": 5000, "source": { "id": 124, "protocol": "ipmisensor" @@ -79,7 +77,7 @@ { "description": "Temperature of Dimm 1-8 reported by BMC, in celsius", "labels": { - "dimm": "1-8" + "dimm": "P1 1-8" }, "name": "bmc_dimm_temp_celsius", "optional_period": 5000, @@ -92,7 +90,7 @@ { "description": "Temperature of Dimm 9-16 reported by BMC, in celsius", "labels": { - "dimm": "9-16" + "dimm": "P1 9-16" }, "name": "bmc_dimm_temp_celsius", "optional_period": 5000, @@ -105,7 +103,7 @@ { "description": "Temperature of Dimm 1-8 reported by BMC, in celsius", "labels": { - "dimm": "1-8" + "dimm": "P2 1-8" }, "name": "bmc_dimm_temp_celsius", "optional_period": 5000, @@ -118,7 +116,7 @@ { "description": "Temperature of Dimm 9-16 reported by BMC, in celsius", "labels": { - "dimm": "9-16" + "dimm": "P2 9-16" }, "name": "bmc_dimm_temp_celsius", "optional_period": 5000, diff --git a/input/grid5000/sites/nancy/clusters/grat/grat_metrics.yaml b/input/grid5000/sites/nancy/clusters/grat/grat_metrics.yaml index 9b2e9500723..0dcdfa8fe88 100644 --- a/input/grid5000/sites/nancy/clusters/grat/grat_metrics.yaml +++ b/input/grid5000/sites/nancy/clusters/grat/grat_metrics.yaml @@ -3,16 +3,14 @@ metrics: - name: bmc_ambient_temp_celsius description: Temperature reported by BMC, in celsius - period: 0 - optional_period: 5000 + period: 5000 source: protocol: ipmisensor id: 2 #01-Inlet Ambient - name: bmc_node_power_watt - description: Power consumption reported by BMC, in watt - period: 0 - optional_period: 5000 + description: Power consumption of node reported by BMC, in watt + period: 5000 source: protocol: ipmisensor id: 124 #Power Meter @@ -54,7 +52,7 @@ metrics: id: 6 #109-CPU 2 PkgTmp - name: bmc_dimm_temp_celsius - labels: {"dimm": "1-8"} + labels: {"dimm": "P1 1-8"} description: Temperature of Dimm 1-8 reported by BMC, in celsius period: 0 optional_period: 5000 @@ -63,7 +61,7 @@ metrics: id: 7 #04-P1 DIMM 1-8 - name: bmc_dimm_temp_celsius - labels: {"dimm": "9-16"} + labels: {"dimm": "P1 9-16"} description: Temperature of Dimm 9-16 reported by BMC, in celsius period: 0 optional_period: 5000 @@ -72,7 +70,7 @@ metrics: id: 8 #05-P1 DIMM 9-16 - name: bmc_dimm_temp_celsius - labels: {"dimm": "1-8"} + labels: {"dimm": "P2 1-8"} description: Temperature of Dimm 1-8 reported by BMC, in celsius period: 0 optional_period: 5000 @@ -81,7 +79,7 @@ metrics: id: 9 #06-P2 DIMM 1-8 - name: bmc_dimm_temp_celsius - labels: {"dimm": "9-16"} + labels: {"dimm": "P2 9-16"} description: Temperature of Dimm 9-16 reported by BMC, in celsius period: 0 optional_period: 5000 -- GitLab