Icinga / icinga-vagrant

Vagrant boxes for Icinga 2, Icinga Web 2, modules, themes and integrations (Graphite, InfluxDB, Elastic, Graylog, etc.)
https://icinga.com/products/demo/
GNU General Public License v2.0
249 stars 83 forks source link

New provider: OpenStack #170

Closed dnsmichi closed 6 years ago

dnsmichi commented 6 years ago

Thanks @martbhell for the initial implementation.

martbhell commented 6 years ago

Cool stuff! I guess this is still a work in progress? Would be nice with some documentation how to use this.

I needed to set:

and also modify the Vagrantfile (or create a security group called Vagrant)

I still got the "Unsupported OS" on my CentOS-7 image - because https://github.com/Icinga/icinga-vagrant/blob/master/.puppet/scripts/shell_provisioner_pre.sh#L19 conditional was not cool - made a PR for that: #171> After that the vagrant and puppet completed and I could login to an icinga web interface :)

dnsmichi commented 6 years ago

Docs was still in my local working copy, it is now pushed.

dnsmichi commented 6 years ago

I've also refactored the Vagrantfile files for each project into generic helper functions, which allows for easier modifications.

dnsmichi commented 6 years ago

The config TODOs have been removed, this is left for the user to set.

dnsmichi commented 6 years ago

I've tested this locally with Parallels, remotely with Openstack for standalone, influxdb and elastic. It is important to open up the security groups and exposed ports to allow intercommunication via external floating ip. This affects Graphite, InfluxDB, Elastic, etc. and is especially noted in the documentation.

The docs are moved to the doc/ btw, as it doesn't fit into the general README (which is for basic users, not advanced OpenStack users).

dnsmichi commented 6 years ago

Need to fix a parameter problem for Elasticsearch http proxy, fix is coming.

dnsmichi commented 6 years ago

Fixed it, needed to move the mapped port range for Kibana/ES to 5602/9202.