List of agents via master
How can I list all the agents that disconnected (down), or connected (up) via the puppet master?
Thanks in advance
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.
Asked: 2016-02-29 07:09:44 -0500
Seen: 327 times
Last updated: Mar 01 '16