Hey All,
We are running an instance of Cockpit on a CentOS 7 vm. We have ~40 computers and we would like to add all of them to Cockpit. Is there a faster method other than manually adding it to the ui?
You can setup an ansible playbook and add all of your hosts to it. That will be the fastest way. You just need ansible installed on 1 host and it will ssh into the other boxes and install it.
On Fri, Apr 13, 2018, 1:41 PM Ryan McClung rmcclung@afilias.info wrote:
Hey All,
We are running an instance of Cockpit on a CentOS 7 vm. We have ~40 computers and we would like to add all of them to Cockpit. Is there a faster method other than manually adding it to the ui? _______________________________________________ cockpit-devel mailing list -- cockpit-devel@lists.fedorahosted.org To unsubscribe send an email to cockpit-devel-leave@lists.fedorahosted.org
Hello Ryan,
Ryan McClung [2018-04-13 16:41 -0400]:
We are running an instance of Cockpit on a CentOS 7 vm. We have ~40 computers and we would like to add all of them to Cockpit. Is there a faster method other than manually adding it to the ui?
You can create an /etc/cockpit/machines.d/01-mymachines.json mechanically. The format is documented here:
http://cockpit-project.org/guide/latest/feature-machines.html
Note that Cockpit does not currently support having that many machines in the Dashboard, so you might run into trouble there.
Martin
@Martin -- Understood about the host size limitation. How do I make the web ui show the information I put in the file? I have the file and I am using the conventions listed in the wiki but it isn't showing.
@Stephen -- Is there a way of pushing cockpit out to the hosts without installing the web service?
On Sun, Apr 15, 2018 at 2:14 PM, Martin Pitt martin@piware.de wrote:
Hello Ryan,
Ryan McClung [2018-04-13 16:41 -0400]:
We are running an instance of Cockpit on a CentOS 7 vm. We have ~40 computers and we would like to add all of them to Cockpit. Is there a faster method other than manually adding it to the ui?
You can create an /etc/cockpit/machines.d/01-mymachines.json mechanically. The format is documented here:
http://cockpit-project.org/guide/latest/feature-machines.html
Note that Cockpit does not currently support having that many machines in the Dashboard, so you might run into trouble there.
Martin _______________________________________________ cockpit-devel mailing list -- cockpit-devel@lists.fedorahosted.org To unsubscribe send an email to cockpit-devel-leave@lists.fedorahosted.org
I'm sure there is but I'm not sure exactly how off the top of my head. I've just used it to install cockpit from the base repositories. Installing things via ansible is fairly basic. There's a lot of info out there on how to do it.
On Mon, Apr 16, 2018, 6:52 AM Ryan McClung rmcclung@afilias.info wrote:
@Martin -- Understood about the host size limitation. How do I make the web ui show the information I put in the file? I have the file and I am using the conventions listed in the wiki but it isn't showing.
@Stephen -- Is there a way of pushing cockpit out to the hosts without installing the web service?
On Sun, Apr 15, 2018 at 2:14 PM, Martin Pitt martin@piware.de wrote:
Hello Ryan,
Ryan McClung [2018-04-13 16:41 -0400]:
We are running an instance of Cockpit on a CentOS 7 vm. We have ~40 computers and we would like to add all of them to Cockpit. Is there a faster method other than manually adding it to the ui?
You can create an /etc/cockpit/machines.d/01-mymachines.json mechanically. The format is documented here:
http://cockpit-project.org/guide/latest/feature-machines.html
Note that Cockpit does not currently support having that many machines in the Dashboard, so you might run into trouble there.
Martin _______________________________________________ cockpit-devel mailing list -- cockpit-devel@lists.fedorahosted.org To unsubscribe send an email to cockpit-devel-leave@lists.fedorahosted.org
cockpit-devel mailing list -- cockpit-devel@lists.fedorahosted.org To unsubscribe send an email to cockpit-devel-leave@lists.fedorahosted.org
On Mon, Apr 16, 2018 at 9:53 AM Ryan McClung rmcclung@afilias.info wrote:
@Martin -- Understood about the host size limitation. How do I make the web ui show the information I put in the file? I have the file and I am using the conventions listed in the wiki but it isn't showing.
@Stephen -- Is there a way of pushing cockpit out to the hosts without installing the web service?
Instead of installing 'cockpit' (which is a metapackage that pulls in a lot of the rest of Cockpit, including the web server), pull in 'cockpit-system' and then whichever components you want (like 'cockpit-networkmanager', 'cockpit-storaged', etc.)
@Stephen -- I have had some success adding computers that aren't running cockpit. Is installing Cockpit necessary to monitor those computers?
On Mon, Apr 16, 2018 at 12:45 PM, Stephen Gallagher sgallagh@redhat.com wrote:
On Mon, Apr 16, 2018 at 9:53 AM Ryan McClung rmcclung@afilias.info wrote:
@Martin -- Understood about the host size limitation. How do I make the web ui show the information I put in the file? I have the file and I am using the conventions listed in the wiki but it isn't showing.
@Stephen -- Is there a way of pushing cockpit out to the hosts without installing the web service?
Instead of installing 'cockpit' (which is a metapackage that pulls in a lot of the rest of Cockpit, including the web server), pull in 'cockpit-system' and then whichever components you want (like 'cockpit-networkmanager', 'cockpit-storaged', etc.)
cockpit-devel mailing list -- cockpit-devel@lists.fedorahosted.org To unsubscribe send an email to cockpit-devel-leave@lists.fedorahosted.org
cockpit-devel@lists.fedorahosted.org