Skip to content

Commit

Permalink
SMHP: slurm exporter to report gpu metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Verdi March committed Mar 6, 2024
1 parent b428a4d commit b4a4395
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if sudo systemctl is-active --quiet slurmctld; then
echo "Go is already installed."
fi
echo "This was identified as the controller node because Slurmctld is running. Begining SLURM Exporter Installation"
git clone -b 0.20 https://github.com/vpenso/prometheus-slurm-exporter.git
git clone -b development https://github.com/vpenso/prometheus-slurm-exporter.git
cd prometheus-slurm-exporter
sudo make && sudo cp bin/prometheus-slurm-exporter /usr/bin/
sudo tee /etc/systemd/system/prometheus-slurm-exporter.service > /dev/null <<EOF
Expand All @@ -19,7 +19,7 @@ Description=Prometheus SLURM Exporter
[Service]
Environment=PATH=/opt/slurm/bin:\$PATH
ExecStart=/usr/bin/prometheus-slurm-exporter
ExecStart=/usr/bin/prometheus-slurm-exporter -gpus-acct
Restart=on-failure
RestartSec=15
Type=simple
Expand Down

0 comments on commit b4a4395

Please sign in to comment.