diff --git a/data/grid5000/sites/toulouse/clusters/montcalm/montcalm.json b/data/grid5000/sites/toulouse/clusters/montcalm/montcalm.json index c607fe1a1dcf7df0d91e74984fa7982e66c77e46..03d76b995e7db724df4d17cb4aec27a9ce1ff72c 100644 --- a/data/grid5000/sites/toulouse/clusters/montcalm/montcalm.json +++ b/data/grid5000/sites/toulouse/clusters/montcalm/montcalm.json @@ -4,11 +4,43 @@ "exotic": false, "kavlan": true, "metrics": [ + { + "description": "Power consumption reported by BMC, in watt", + "name": "bmc_node_power_watt", + "period": 5000, + "source": { + "id": 71, + "protocol": "ipmisensor" + } + }, + { + "description": "Power consumption of Psu 1 reported by BMC, in watt", + "labels": { + "psu": "1" + }, + "name": "bmc_psu_power_watt", + "period": 5000, + "source": { + "id": 68, + "protocol": "ipmisensor" + } + }, + { + "description": "Power consumption of Psu 2 reported by BMC, in watt", + "labels": { + "psu": "2" + }, + "name": "bmc_psu_power_watt", + "period": 5000, + "source": { + "id": 70, + "protocol": "ipmisensor" + } + }, { "description": "Temperature reported by BMC, in celsius", "name": "bmc_ambient_temp_celsius", - "optional_period": 5000, - "period": 0, + "period": 5000, "source": { "id": 2, "protocol": "ipmisensor" @@ -664,42 +696,6 @@ "protocol": "ipmisensor" } }, - { - "description": "Power consumption of Psu 1 reported by BMC, in watt", - "labels": { - "psu": "1" - }, - "name": "bmc_psu_power_watt", - "optional_period": 5000, - "period": 0, - "source": { - "id": 68, - "protocol": "ipmisensor" - } - }, - { - "description": "Power consumption of Psu 2 reported by BMC, in watt", - "labels": { - "psu": "2" - }, - "name": "bmc_psu_power_watt", - "optional_period": 5000, - "period": 0, - "source": { - "id": 70, - "protocol": "ipmisensor" - } - }, - { - "description": "Power consumption reported by BMC, in watt", - "name": "bmc_node_power_watt", - "optional_period": 5000, - "period": 0, - "source": { - "id": 71, - "protocol": "ipmisensor" - } - }, { "description": "Power consumption of PS 1 Output reported by BMC, in watt", "labels": { @@ -846,8 +842,7 @@ { "description": "Default subset of metrics from Prometheus Node Exporter", "name": "prom_default_metrics", - "optional_period": 15000, - "period": 0, + "period": 15000, "source": { "id": [ "node_boot_time_seconds", diff --git a/input/grid5000/sites/toulouse/clusters/montcalm/montcalm_metrics.yaml b/input/grid5000/sites/toulouse/clusters/montcalm/montcalm_metrics.yaml index 21cae49167e51c7d332cb8d00bc9bd1ea5604453..d60f2903c6da291b2d802b636258ff5d35d92cd8 100644 --- a/input/grid5000/sites/toulouse/clusters/montcalm/montcalm_metrics.yaml +++ b/input/grid5000/sites/toulouse/clusters/montcalm/montcalm_metrics.yaml @@ -1,10 +1,32 @@ --- metrics: + - name: bmc_node_power_watt + description: Power consumption reported by BMC, in watt + period: 5000 + source: + protocol: ipmisensor + id: 71 #Power Meter + + - name: bmc_psu_power_watt + labels: {"psu": "1"} + description: Power consumption of Psu 1 reported by BMC, in watt + period: 5000 + source: + protocol: ipmisensor + id: 68 #PS 1 Input + + - name: bmc_psu_power_watt + labels: {"psu": "2"} + description: Power consumption of Psu 2 reported by BMC, in watt + period: 5000 + source: + protocol: ipmisensor + id: 70 #PS 2 Input + - 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 @@ -459,32 +481,6 @@ metrics: protocol: ipmisensor id: 65 #Fan 7 DutyCycle - - name: bmc_psu_power_watt - labels: {"psu": "1"} - description: Power consumption of Psu 1 reported by BMC, in watt - period: 0 - optional_period: 5000 - source: - protocol: ipmisensor - id: 68 #PS 1 Input - - - name: bmc_psu_power_watt - labels: {"psu": "2"} - description: Power consumption of Psu 2 reported by BMC, in watt - period: 0 - optional_period: 5000 - source: - protocol: ipmisensor - id: 70 #PS 2 Input - - - name: bmc_node_power_watt - description: Power consumption reported by BMC, in watt - period: 0 - optional_period: 5000 - source: - protocol: ipmisensor - id: 71 #Power Meter - - name: bmc_other_power_watt labels: {"id": "ps1output"} description: Power consumption of PS 1 Output reported by BMC, in watt @@ -586,8 +582,7 @@ metrics: - name: prom_default_metrics description: Default subset of metrics from Prometheus Node Exporter - period: 0 - optional_period: 15000 + period: 15000 source: protocol: prometheus port: 9100