Get puppet agents

38 views
Skip to first unread message

Yugank Pandey

unread,
Jul 3, 2014, 9:29:19 AM7/3/14
to puppet...@googlegroups.com
Is there any way that all the puppet agents that are connected to a puppet master (or any server that they are getting their configuration from) be determined from the puppet master ?

Christopher Wood

unread,
Jul 3, 2014, 10:09:34 AM7/3/14
to puppet...@googlegroups.com
Check the list of signed certs and read your puppetmaster logs (or check reports in /var/lib/puppet/reports, or check reports in puppetdb) to see when they last checked in.

puppet cert list -a

http://docs.puppetlabs.com/guides/reporting.html
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [1]puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> [2]https://groups.google.com/d/msgid/puppet-users/f1a40ac1-e24d-4bde-86ed-db9b140a202f%40googlegroups.com.
> For more options, visit [3]https://groups.google.com/d/optout.
>
> References
>
> Visible links
> 1. mailto:puppet-users...@googlegroups.com
> 2. https://groups.google.com/d/msgid/puppet-users/f1a40ac1-e24d-4bde-86ed-db9b140a202f%40googlegroups.com?utm_medium=email&utm_source=footer
> 3. https://groups.google.com/d/optout

Yugank Pandey

unread,
Jul 4, 2014, 5:21:32 AM7/4/14
to puppet...@googlegroups.com, christop...@pobox.com
But doing so gives only the puppet agents that have had a successful connection (authorized certificates in past) with the master and the reports just includes their interaction with the master. I am curious to know if from a master it can be determined how many puppet agents are connected to it right now(at one particular moment) to have a idea of all the nodes working properly... can that be determined ?
 

Christopher Wood

unread,
Jul 4, 2014, 8:44:15 AM7/4/14
to puppet...@googlegroups.com
Check network connections?

netstat -taunp | grep 8140
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [1]puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> [2]https://groups.google.com/d/msgid/puppet-users/dcc78caa-602b-4bea-afd0-6f21e590d2a4%40googlegroups.com.
> For more options, visit [3]https://groups.google.com/d/optout.
>
> References
>
> Visible links
> 1. mailto:puppet-users...@googlegroups.com
> 2. https://groups.google.com/d/msgid/puppet-users/dcc78caa-602b-4bea-afd0-6f21e590d2a4%40googlegroups.com?utm_medium=email&utm_source=footer
> 3. https://groups.google.com/d/optout
Reply all
Reply to author
Forward
0 new messages