IPs from nodes

15 views
Skip to first unread message

Christian Linden

unread,
Nov 3, 2016, 9:15:22 AM11/3/16
to help-cfengine
Hi,

where do I find the IP addresses from the nodes that are bootstrapped to a hub?

Thanks,
Chris

Nick Anderson

unread,
Nov 3, 2016, 9:25:26 AM11/3/16
to Christian Linden, help-cfengine

Christian Linden writes:

> Hi,
>
> where do I find the IP addresses from the nodes that are bootstrapped to a
> hub?

You can see information about who has communicated with a hub recently
(default last 7 days) using cf-key -s.

In enterprise you can also use the hostswithclass() function to get a
list of names or ips for hosts that have reported back with a specific
class.

Christian Linden

unread,
Nov 3, 2016, 9:27:30 AM11/3/16
to help-cfengine, lindo...@gmail.com
damned, I forgot about it.. but I still can remember! =)

.. will check the enterprise reports next year =)

Thanks,
c

Christian Linden

unread,
Nov 3, 2016, 10:30:41 AM11/3/16
to help-cfengine, lindo...@gmail.com
any hint what could be the culprit if cf-keys -s needs >10 mins to get a list of a couple of nodes?
.. each line needs 10-30 seconds on two hubs here..

c

Neil Watson

unread,
Nov 3, 2016, 10:39:14 AM11/3/16
to help-cfengine
DNS. Trying resolve A or PTR records.


--
Neil H Watson @neil_h_watson
CFEngine reporting: https://github.com/neilhwatson/delta_reporting
CFEngine policy: https://github.com/neilhwatson/evolve_cfengine_freelib
CFEngine and vim: https://github.com/neilhwatson/vim_cf3

Christian Linden

unread,
Nov 3, 2016, 11:27:56 AM11/3/16
to help-cfengine, cfen...@watson-wilson.ca
will check, thanks, Neil.

Christian Linden

unread,
Nov 14, 2016, 11:38:22 AM11/14/16
to help-cfengine, cfen...@watson-wilson.ca
It is DNS =)
Reply all
Reply to author
Forward
0 new messages