ext_sensors.conf(5)
β¨ ext_sensors.conf(5) β¨
okay so this is section 5 of the manual, and it's the Slurm Configuration File for the external sensors plugin. Sit down, grab a boba, we're doing this together π§
π NAME π
ext_sensors.conf β the Slurm configuration file for the external sensors plugin. That's it, that's the name, iconic behavior honestly π
πΈ DESCRIPTION πΈ
So ext_sensors.conf is an ASCII file that defines the parameters used by Slurm's external sensors plugins. No cap. And here's the thing β this file is always going to be chilling in the same directory as your slurm.conf. They're roommates. They don't get separated. π«Ά
Some ground rules, bestie, and these are non-negotiable:
- Parameter names are case insensitive. Type them however your heart desires, the plugin is not judging.
- Any text following a
#in the configuration file is treated as a comment all the way through the end of that line. Yapping rights unlocked π¬ - The size of each line in the file is limited to 1024 characters. Yes, one thousand twenty-four. Do not test it. π
- Changes to the configuration file take effect upon restart of Slurm daemons, daemon receipt of the
SIGHUPsignal, or execution of the commandscontrol reconfigureβ unless otherwise noted. So edit your file, then poke a daemon. That's the flow β¨
Now, the following ext_sensors.conf parameters are defined to control data collection by the ext_sensors plugins. And here's the vibe check: all of these parameters are optional. Every single one. If a parameter is omitted, data collection of the omitted type is disabled. Omitted = off. That's the rule, fr fr.
π¦ THE PARAMETERS π¦
JobData=energyβ specify the data types to be collected by the plugin for jobs/steps.NodeData=[energy|temp][,temp|energy]β specify the data types to be collected by the plugin for nodes. Look at that syntax, she's giving options πSwitchData=energyβ specify the data types to be collected by the plugin for switches.ColdDoorData=tempβ specify the data types to be collected by the plugin for cold doors. Cold doors. Keeping the servers chilly, main character energy π§MinWatt=<number>β the minimum recorded power consumption, in watts.MaxWatt=<number>β the maximum recorded power consumption, in watts.MinTemp=<number>β the minimum recorded temperature, in Celsius.MaxTemp=<number>β the maximum recorded temperature, in Celsius.EnergyRRA=<name>β the energy RRA name.TempRRA=<name>β the temperature RRA name.EnergyPathRRD=<path>β the pathname of the energy RRD file.TempPathRRD=<patch>β the pathname of the temperature RRD file.
not me noticing thatTempPathRRDtakes<patch>and not<path>β yes, that's exactly how it's written in the original, bestie, I'm not fixing it, I'm just reporting the news π
π EXAMPLE π
Here's what a real one looks like, copied exactly so you can just steal it:
###
# Slurm external sensors plugin configuration file
###
JobData=energy
NodeData=energy,temp
SwitchData=energy
ColdDoorData=temp
#
Look at her. Clean. Organized. Commented with ###. We love a self-aware config file π
π COPYING π
Legal corner, but make it cute. Copyright (C) 2013 Bull Copyright (C) 2013-2022 SchedMD LLC. Produced at Bull (cf, DISCLAIMER).
This file is part of Slurm, a resource management program. For details, see <https://slurm.schedmd.com/>.
Slurm is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Slurm is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
π SEE ALSO π
slurm.conf(5)β the other half of this duo, the roommate, the bestie π«Ά
k bye β this was the Slurm Configuration File page, dated January 2022, and yes the footer says ext_sensors.conf(5) on both sides because symmetry is slay β¨π periodt π
π¦ where this page comes from
- debian bookworm: slurm-client 22.05.8-4+deb12u3 Β· GPL-2.0-or-later WITH OpenSSL exception
- epel 9: slurm 22.05.11-2.el9 Β· GPL-2.0-or-later AND BSD-2-Clause AND BSD-1-Clause
- ubuntu noble: slurm-client 23.11.4-1.2ubuntu5 Β· GPL-2.0-or-later WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms