icinga / chef-icingaweb2 Goto Github PK
View Code? Open in Web Editor NEWChef cookbook for Icinga Web 2
License: Apache License 2.0
Chef cookbook for Icinga Web 2
License: Apache License 2.0
The schema_load_icingaweb2_mysql and schema_load_icingaweb2_pgsql commands do not check for the node['icingaweb2']['web2_db']['load_schema']
This (https://github.com/Icinga/chef-icingaweb2/blob/master/attributes/config.rb#L43-L46) will need to be set on the node (uncommented in this cookbook preferably) or convergence will fail.
Relates to: https://github.com/Icinga/chef-icingaweb2/blob/master/recipes/config.rb#L49
After installing icingaweb2, apache has 2 configuration files for icingaweb2
/etc/apache2/conf-enabled/icinga2-web2.conf
/etc/apache2/conf-enabled/icingaweb2.conf
I believe icinga2-web2 is the correct one. I haven't figured out how icingaweb2 is getting generated.
* yum_package[icingaweb2] action install
================================================================================
Error executing action `install` on resource 'yum_package[icingaweb2]'
================================================================================
Chef::Exceptions::Exec
----------------------
yum -d0 -e0 -y install icingaweb2-2.5.3-1.el6.icinga returned 1:
STDOUT: You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
STDERR: Error: Package: icingaweb2-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-pgsql
Error: Package: icingaweb2-vendor-JShrink-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-common >= 5.6.0
Error: Package: icingacli-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-cli >= 5.6.0
Error: Package: php-Icinga-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-intl
Error: Package: 1:icingaweb2-vendor-HTMLPurifier-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-common >= 5.6.0
Error: Package: php-Icinga-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-common >= 5.6.0
Error: Package: php-Icinga-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-pdo
Error: Package: icingaweb2-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-common >= 5.6.0
Error: Package: php-Icinga-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-mbstring
Error: Package: icingaweb2-vendor-lessphp-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-common >= 5.6.0
Error: Package: icingaweb2-vendor-Parsedown-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-common >= 5.6.0
Error: Package: icingaweb2-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-mysqlnd
Error: Package: icingaweb2-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-fpm >= 5.6.0
Error: Package: php-Icinga-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-xml
Error: Package: icingacli-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: /opt/rh/rh-php70/root/usr/bin/php
Error: Package: icingaweb2-vendor-zf1-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-common >= 5.6.0
Error: Package: php-Icinga-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-gd
Error: Package: icingaweb2-vendor-dompdf-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-common >= 5.6.0
Error: Package: icingaweb2-2.5.3-1.el6.icinga.noarch (icinga2-release)
Requires: rh-php70-php-ldap
Looks like the schema download path is no longer valid as the url is returning 404.
URL: https://raw.githubusercontent.com/Icinga/icingaweb2/master/etc/schema/mysql.schema.sql
Also schema is now provided as a part of package. see here https://github.com/Icinga/icingaweb2/blob/master/schema/mysql.schema.sql
Error Message:
No authentication methods available. Did you create authentication.ini when setting up Icinga Web 2?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.