Ask Your Question

List of agents via master

asked 2016-02-29 07:09:44 -0600

adiabr gravatar image

updated 2016-03-01 01:24:11 -0600


How can I list all the agents that disconnected (down), or connected (up) via the puppet master?

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-03-01 01:56:13 -0600

Mr_Sharma gravatar image

Hi adiabr,

you can have list of all agent nodes using following command:

puppet node status --terminus puppetdb <agentnode1> <agentnode2> ...

This will print the current status of all the agent nodes mentioned on the command line in sequence. you can write a simple script to execute and format your output.

I hope it helps.

edit flag offensive delete link more


Thank you, I will check it

adiabr gravatar imageadiabr ( 2016-03-06 09:38:32 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-02-29 07:09:44 -0600

Seen: 362 times

Last updated: Mar 01 '16