Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sometimes my saltmaster hangs for a while on salt '*' test.ping waiting for downed minions to reply. Is there a way so see a list of connected minions, regardless of whether they respond to test.ping?

share|improve this question
Why the downvote, please? –  pate Aug 9 '13 at 21:23

3 Answers 3

up vote 31 down vote accepted

The official answer:

salt-run manage.up

Also useful are:

salt-run manage.status

salt-run manage.down
share|improve this answer

From the master type:

ls -1 /var/cache/salt/master/minions


ls -1 /etc/salt/pki/master/minions

Entering a faulty salt query (ex. salt '*' -) will also return a list of all the minions each followed by a message stating that the command is not available. You can grep/cut away the extraneous characters. Neither of these options are particularly elegant and the later doesn't address the timeout but it works while I'm looking for an answer to a similar question; "How to list all associated minions via the saltstack python api?".

share|improve this answer

"salt-key -L" will list all minions that whose public keys you've accepted on your master.

share|improve this answer
Thanks, but this lists accepted minion keys, not connected minions. –  pate Aug 28 '13 at 9:37

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.