icinga / puppet-icingaweb2 Goto Github PK
View Code? Open in Web Editor NEWPuppet module to manage Icinga Web 2
Home Page: https://forge.puppet.com/icinga/icingaweb2
License: Other
Puppet module to manage Icinga Web 2
Home Page: https://forge.puppet.com/icinga/icingaweb2
License: Other
resources.ini contains DB-Passwords and should not be world-readable:
root@mil:/etc# ls -al /etc/icingaweb2/resources.ini
-rw-r--r-- 1 icingaweb2 icingaweb2 313 Feb 25 01:15 /etc/icingaweb2/resources.ini
Add at least some basic tests, so we have a test environment
TESTING.md
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11584
Created by rwaffen on 2016-04-13 16:44:26 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-04-14 11:16:45 +00:00 (in Redmine)
i'm using the puppet module and asking myself, what would be the standard password after "initialization"?
there is no docu about that, only an encrypted password in "puppet-icingaweb2/manifests/initialize.pp".
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9153
Created by arioch on 2015-04-22 11:50:59 +00:00
Assignee: arioch
Status: Closed (closed on 2015-04-22 11:53:25 +00:00)
Target Version: (none)
Last Update: 2015-04-22 11:53:25 +00:00 (in Redmine)
Hello, I have installed Icingaweb2 on Ubuntu 16.04 via Puppet. (using Hiera) For some reason module monitoring is not enabled by default (shouldn't it be?). Please help, whatever i try, puppet simply doesn't apply anything. I have fixed file permissions, and still nothing. I have tried something like this:
icingaweb2::mod::monitoring::transport: 'local'
icingaweb2::mod::monitoring::transport_path: '/run/icinga2/cmd/icinga2.cmd'
Add a parameter manage_package
that defaults to true
. This is a global parameter where the user can decide if the module should install all packages or if he wants to handle it by himself. Same behaviour as in the Icinga 2 module.
Following parameters can be removed when this is implemented:
pgk_deps
pkg_ensure
pkg_list
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9158
Created by arioch on 2015-04-22 13:26:04 +00:00
Assignee: arioch
Status: Closed (closed on 2015-04-22 13:26:46 +00:00)
Target Version: (none)
Last Update: 2015-04-22 13:26:46 +00:00 (in Redmine)
#64 added support for database initialization, but only for MySQL
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9155
Created by arioch on 2015-04-22 11:51:14 +00:00
Assignee: arioch
Status: New
Target Version: (none)
Last Update: 2015-04-22 11:52:10 +00:00 (in Redmine)
Add a reference documentation for each class and defined type. Also, add a separate TOC for the reference documentation.
CONTRIBUTING.md
Hi,
I'm missing the configuration for the groups.ini.
If using groups for authentication with ldap:
roles.ini:
[admin-group]
groups = "admin-group"
permissions = ""
monitoring/hosts/filter = ""
there has to be a group.ini like:
[icinga_ldap]
user_backend = icingaweb2
backend = msldap
resource = ldap
Maybe I'm wrong? But if not, is it possible to implement this in this puppet-module.
Thanks
We’re not managing Apache configuration, but provide only the configuration so the user can use it. Add a sample configuration for Apache and provide a basic example in the “Usage” section of the README.md. If necessary, add an extended example in the examples
directory.
Done by @visibilityspots in af33ea7, 01a885a
So we can easily test against multiple supported operatingsystems
We drop support for installing Icinga Web 2 via a git repository. Installation method is always packages.icinga.com. This does not apply to modules.
Remove related parameters install_method
, git_repo
and git_revision
and others that I forgot to mention.
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: The parameter 'ido_db_host' is declared more than once in the parameter list at /etc/puppetlabs/code/environments/production/modules/icingaweb2/manifests/init.pp:181:3 on node client1.XXX.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
The PHP dependencies are incorrect on Ubuntu 16.04+, specifically this block:
https://github.com/Icinga/puppet-icingaweb2/blob/master/manifests/params.pp#L89
I'd suggest using php-gd
, etc, instead. This depends on php7.0-gd
, and will presumably change with future versions as required.
Ensure we fully support the installation of Icinga Web 2 via packages.icinga.com for the following operating systems:
Add supported operating systems and versions to the README.md and metadata.json
. Other versions may follow later.
The options provided by icingaweb2::config::roles are not up to date for filtering monitoring objects (should be "monitoring/filter/objects") and does not support:
Done by @visibilityspots in df99507, 0cc89ec
Hello, I may be wrong , but there is no way to change file permissions with hiera. I tried variations, some like this and many more different, but all I can succeed is change all directories permissions.
icingaweb2::config_dir: '/etc/icingaweb2/enabledModules' mode: '777'
The class icingaweb2::config
should handle general configurations only. Since we’re supporting package installations only and we’re not handling web server installation and configuration, we can omit the ability to set config_dir_purge
and web_root
. We also should not handle files or directories created by the package.
We should discuss if we want to set PHP settings (Date/Time) in this class.
Hello,
this is from your example:
`
class { '::icingaweb2::mod::monitoring':
transport => 'local',
transport_path => '/run/icinga2/cmd/icinga2.cmd',
}`
this happens when running:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Could not find declared class icingaweb2::mod::monitoring at /etc/puppetlabs/code/environments/production/modules/icinga2server/manifests/init.pp:64:3 on node clie
I can confirm .. ;)
bla@woody $ ll
total 24
drwxr-xr-x 2 bla bla 4096 Mär 9 15:52 ./
drwxr-xr-x 5 bla bla 4096 Mär 9 16:15 ../
-r--r--r-- 1 bla bla 1177 Apr 23 2015 businessprocess.pp
-r--r--r-- 1 bla bla 1479 Mai 7 2015 deployment.pp
-r--r--r-- 1 bla bla 1846 Apr 23 2015 graphite.pp
-r--r--r-- 1 bla bla 1629 Apr 27 2015 nagvis.pp
.../modules/icingaweb2/manifests/mod
bla@woody $
best regards
What is the username/password for /icingaweb2/authentication/login ....?
/kenneth
When install_method is not set explicitly, the next version of the module should but a failure (or warning)
So we bring users to move to package
, and take it as default in a 2.x
Currently a user needs to add Apache and some modules in order for Icingaweb2 to work.
File
conflicts with Apaches files...rewrite
and php
mpm_worker => prefork
Puppet module Icinga2 version 1.2.0 has dependency puppetlabs/concat (>= 2.0.1 < 3.0.0)
while icingaweb2 version 1.0.6 has dependency puppetlabs/concat (>= 1.2.0 < 2.0.0)
The examples
directory should contain some basic examples on how this module can be used.
Depending on changes during the “2.0 Installation Basics” Project, update the rspec tests.
Hi there,
can you add
Debian Stretch (9.0)
to the module compatibility list?
Greetings and thanks
Tobias
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11719
Created by plarivee on 2016-05-03 14:07:15 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-05-03 14:07:15 +00:00 (in Redmine)
If a system is setup with "APT::Install-Recommends "false";" some packages will not be installed. The module will only install
ii icingaweb2 2.3.2-1~ppa2 all simple and responsive web interface for Icinga
ii icingaweb2-common 2.3.2-1~ppa2 all simple and responsive web interface for Icinga - common files
ii php-icinga 2.3.2-1~ppa2 all PHP library to communicate with and use Icinga
On a system without the option set to false we get :
root@web:~\# dpkg -l | grep icinga
ii icingacli 2.3.2-1~ppa2 all simple CLI tool for Icingaweb2 and its modules
ii icingaweb2 2.3.2-1~ppa2 all simple and responsive web interface for Icinga
ii icingaweb2-common 2.3.2-1~ppa2 all simple and responsive web interface for Icinga - common files
ii icingaweb2-module-doc 2.3.2-1~ppa2 all simple and responsive web interface for Icinga - documentation module
ii icingaweb2-module-monitoring 2.3.2-1~ppa2 all simple and responsive web interface for Icinga - monitoring module
ii php-icinga 2.3.2-1~ppa2 all PHP library to communicate with and use Icinga
So the monitoring module package is missing, doc module and also icingacli.
We need to find a way to make sure those are installed if an Icingaweb2 module is dependent of it.
Ubuntu 14.04.4
The default access mode is 0755 rather than 2770 as it is for redhat based systems.
RELEASE.md
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11876
Created by pgress on 2016-06-01 13:37:49 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-06-01 13:37:49 +00:00 (in Redmine)
Hey,
tried to initialize the db via the icingaweb2-puppet-module. Got the following error:
Error: Failed to apply catalog: Validation of Exec[create web user] failed: 'mysql -h localhost -uuser -ppassword icingaweb_db -e " INSERT INTO icingaweb_user (name, active, password_hash) VALUES ('icingaadmin', 1, '\$1\$EzxLOFDr\$giVx3bGhVm4lDUAw6srGX1');"' is not qualified and no path was specified. Please qualify the command or specify a path. at /etc/puppet/environments/development/modules/icingaweb2/manifests/initialize.pp:51
Wrapped exception:
'mysql -h localhost -uuser -ppassword icingaweb_db -e " INSERT INTO icingaweb_user (name, active, password_hash) VALUES ('icingaadmin', 1, '\$1\$EzxLOFDr\$giVx3bGhVm4lDUAw6srGX1');"' is not qualified and no path was specified. Please qualify the command or specify a path.
I used Debian 8 in this case (so /usr/bin/ in front of mysql worked pretty good)
Greetings
This issue has been migrated from Redmine: https://dev.icinga.com/issues/12142
Created by westbywest on 2016-07-12 17:46:51 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-07-12 17:46:51 +00:00 (in Redmine)
I noticed these recent commits altering initialize.pp to support a remote MySQL host under Debian/Ubuntu:
475e0c9
41c46bd
However, the clause for RedHat/CentOS still references the file /root/.my.cnf, meaning a remote MySQL host would only be possible by inserting references to it into /root/.my.cnf prior to invoking icingaweb2 module.
Is there a reason for this difference between RedHat and Debian?
Following parameters are deprecated and can be removed:
pkg_repo_version
pkg_repo_release_key
pkg_repo_release_url
pkg_repo_snapshot_key
pkg_repo_snapshot_url
Please remove also other deprecated parameters that you may find.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9243
Created by crpeck on 2015-05-07 16:16:19 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2015-05-07 16:16:19 +00:00 (in Redmine)
Could the file manifests/config/resource_ldap.pp please be extended to include these 2 options:
encryption => ldaps or ldap (default is ldap)
reqcert => true or false (default is true) as to if it checks for a valid cert on ldap bind
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11507
Created by kyle_zeng on 2016-04-01 20:33:05 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-04-01 20:33:05 +00:00 (in Redmine)
Hi, I have encountered following problem when I`m trying to install Icinga web2:
install icinga2 and mySQL
install epel
install icinagweb2 and icinga-cli, at this step, when running :yum install icingaweb2 icingacli
it pops out this error:
>Error: Package: php-pecl-imagick-2.2.2-5.el6.x86_64 (epel)
> Requires: libMagickWand.so.5()(64bit)
>Error: Package: php-pecl-imagick-2.2.2-5.el6.x86_64 (epel)
> Requires: libMagickCore.so.5()(64bit)
and I have tried to install php-imagick but did not solve the problem, and my system is :RHEL6
Could you help me?
All files should have the same header, including a inline documentation for parameters, variables and examples where applicable.
This type should be capable of generally creating ini configuration files based on a configurable target. It should be able to add and remove ini configuration sections and associated settings. External configuration changes should not be touched, so the user is able to still create configs via the Icinga Web 2 interface.
TESTING.md
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9154
Created by arioch on 2015-04-22 11:51:05 +00:00
Assignee: arioch
Status: New
Target Version: (none)
Last Update: 2015-04-22 11:51:55 +00:00 (in Redmine)
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.