Ask Your Question
0

List of agents via master

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

adiabr gravatar image

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

HI,

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
0

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

rajeevsharma 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

Comments

Thank you, I will check it

adiabr gravatar imageadiabr ( 2016-03-06 09:38:32 -0500 )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

Stats

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

Seen: 342 times

Last updated: Mar 01 '16