Ticket 21575

Summary: ext_sensors custom plugins
Product: Slurm Reporter: Petr Ptáček <petr.ptacek>
Component: AccountingAssignee: Jacob Jenson <jacob>
Status: OPEN --- QA Contact:
Severity: 6 - No support contract    
Priority: ---    
Version: 23.11.8   
Hardware: Linux   
OS: Linux   
Site: -Other- Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- NoveTech Sites: ---
Nvidia HWinf-CS Sites: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Tzag Elita Sites: ---
Linux Distro: --- Machine Name:
CLE Version: Version Fixed:
Target Release: --- DevPrio: ---
Emory-Cloud Sites: ---

Description Petr Ptáček 2024-12-05 03:32:25 MST
Hello Dear Mr/Ms,

I would like to ask you about the support for custom plugin, which would be able to store consumed energy for FINISHED jobs into the sacct field ConsumedEnergyRaw or ConsumedEnergy. In the document https://slurm.schedmd.com/SUG13/energy_sensors.pdf i found several premade acct_gather_energy and ext_sensors. But in the github of the slurm in the commit https://github.com/SchedMD/slurm/commit/8adfb6f12043f46ea9317b5311c031cb5b373ac9 i found that the fields for the ext_sensors were removed.

So my questions are:
1. Is it still possible to use ext_sensors/rrd plugin?
2. Is it possible for user to implement custom ext_sensors/my-custom-plugin that would just store consumed energy at the end of the job from custom external source? If so, then which interface should be implemented?

Best regards,
PP