[slurm-users] [EXT] Re: Is there a scontrol ping slurmdbd?
scrosby at unimelb.edu.au
Thu Jun 10 07:20:51 UTC 2021
We use sacctmgr list stats for our Slurmdbd check
Our Nagios check is
RESULT=$(/usr/local/slurm/latest/bin/sacctmgr list stats)
if [ $? -ne 0 ]
echo "ERROR: cannot connect to database"
echo "$RESULT" | head -n 4
From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Christoph Brüning <christoph.bruening at uni-wuerzburg.de>
Sent: Thursday, 10 June 2021 16:54
To: slurm-users at lists.schedmd.com <slurm-users at lists.schedmd.com>
Subject: [EXT] Re: [slurm-users] Is there a scontrol ping slurmdbd?
External email: Please exercise caution
I'd usually use some simple sacctmgr command.
Something like "sacctmgr list cluster".
That said, we're running a single slurmdbd instance since slurmctld does
some caching etc. Do you have multiple that you need to check individually?
On 09/06/2021 23.23, Heitor wrote:
> The docs about scontrol says that the command `scontrol ping` allows
> one to query if slurmctld nodes are up and running.
> I'm wondering if there's something analogous for slurmdbd? A command to
> check if slurmdbd nodes are up and running? I couldn't find it in the
> Kind regards,
Dr. Christoph Brüning
HPC & DataManagement @ ct.qmat & RZUW
Tel.: +49 931 31-80499
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slurm-users