-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds Ansible for configuration management adds Monitoring integration plugin disables ABRT because of incompatibility
- Loading branch information
Showing
41 changed files
with
1,502 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Copyright (c) 2016 NETWAYS GmbH <[email protected]> | ||
|
||
Material is licensed under (http://creativecommons.org/licenses/by-sa/4.0/)[http://creativecommons.org/licenses/by-sa/4.0/] | ||
Material is licensed under [http://creativecommons.org/licenses/by-sa/4.0/](http://creativecommons.org/licenses/by-sa/4.0/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
yum install epel-release -y | ||
yum install http://yum.puppetlabs.com/puppet5/puppet5-release-el-7.noarch.rpm -y | ||
yum install puppet-agent -y | ||
/opt/puppetlabs/bin/puppet module install puppetlabs-apache | ||
/opt/puppetlabs/bin/puppet module install puppetlabs-mysql | ||
/opt/puppetlabs/bin/puppet module install icinga-icinga2 | ||
/opt/puppetlabs/bin/puppet module install icinga-icingaweb2 | ||
/opt/puppetlabs/bin/puppet apply monitoring.localdomain.pp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Alias /icingaweb2 "/usr/share/icingaweb2/public" | ||
|
||
<Directory "/usr/share/icingaweb2/public"> | ||
Options SymLinksIfOwnerMatch | ||
AllowOverride None | ||
|
||
SetEnv ICINGAWEB_CONFIGDIR "/etc/icingaweb2" | ||
|
||
EnableSendfile Off | ||
|
||
<IfModule mod_rewrite.c> | ||
RewriteEngine on | ||
RewriteBase /icingaweb2/ | ||
RewriteCond %{REMOTE_ADDR} ^10\.0\.0\.2 | ||
RewriteRule ^(.*)$ - [E=REMOTE_USER:foreman] | ||
RewriteCond %{REQUEST_FILENAME} -s [OR] | ||
RewriteCond %{REQUEST_FILENAME} -l [OR] | ||
RewriteCond %{REQUEST_FILENAME} -d | ||
RewriteRule ^.*$ - [NC,L] | ||
RewriteRule ^.*$ index.php [NC,L] | ||
</IfModule> | ||
|
||
<IfModule !mod_rewrite.c> | ||
DirectoryIndex error_norewrite.html | ||
ErrorDocument 404 /error_norewrite.html | ||
</IfModule> | ||
</Directory> |
Oops, something went wrong.